Method: ActiveMcp::Generators::ToolGenerator#create_tool_file
- Defined in:
- lib/generators/active_mcp/tool/tool_generator.rb
#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/mcp/tools", "#{file_name}_tool.rb") end |