Class: Agent::Tools::ExampleTool
- Inherits:
-
Silas::Tool
- Object
- Silas::Tool
- Agent::Tools::ExampleTool
- Defined in:
- lib/generators/silas/install/templates/example_tool.rb
Overview
Tool identity is the filename: this is the "example_tool" tool. The keyword signature of #call IS the schema the model sees.
Instance Method Summary collapse
-
#call(message:) ⇒ Object
default: external effects park when in doubt.
Instance Method Details
#call(message:) ⇒ Object
default: external effects park when in doubt
9 10 11 |
# File 'lib/generators/silas/install/templates/example_tool.rb', line 9 def call(message:) { echo: } end |