Class: RailsAiContext::Tools::BaseTool::GuideRow

Inherits:
Struct
  • Object
show all
Defined in:
lib/rails_ai_context/tools/base_tool.rb

Overview

One row of the generated tool guide, declared beside the tool's own description so adding a tool touches one file. order fixes where the row lands; the CLI command is derived from tool_name, never spelled.

Instance Attribute Summary collapse

Instance Attribute Details

#cli_argsObject

Returns the value of attribute cli_args

Returns:

  • (Object)

    the current value of cli_args



119
120
121
# File 'lib/rails_ai_context/tools/base_tool.rb', line 119

def cli_args
  @cli_args
end

#mcpObject

Returns the value of attribute mcp

Returns:

  • (Object)

    the current value of mcp



119
120
121
# File 'lib/rails_ai_context/tools/base_tool.rb', line 119

def mcp
  @mcp
end

#orderObject

Returns the value of attribute order

Returns:

  • (Object)

    the current value of order



119
120
121
# File 'lib/rails_ai_context/tools/base_tool.rb', line 119

def order
  @order
end

#summaryObject

Returns the value of attribute summary

Returns:

  • (Object)

    the current value of summary



119
120
121
# File 'lib/rails_ai_context/tools/base_tool.rb', line 119

def summary
  @summary
end