Class: ActiveMcp::Generators::ToolGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- ActiveMcp::Generators::ToolGenerator
- Defined in:
- lib/generators/active_mcp/tool/tool_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_tool_file ⇒ Object
6 7 8 |
# File 'lib/generators/active_mcp/tool/tool_generator.rb', line 6 def create_tool_file template "tool.rb.erb", File.join("app/tools", "#{file_name}_tool.rb") end |