Class: ActionMCP::Generators::ToolGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- ActionMCP::Generators::ToolGenerator
- Defined in:
- lib/generators/action_mcp/tool/tool_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_tool_file ⇒ Object
18 19 20 |
# File 'lib/generators/action_mcp/tool/tool_generator.rb', line 18 def create_tool_file template "tool.rb.erb", "app/mcp/tools/#{file_name}.rb" end |