Class: AnalyticalBrain::Tools::EverythingIsReady
- Inherits:
-
Tools::Base
- Object
- Tools::Base
- AnalyticalBrain::Tools::EverythingIsReady
- Defined in:
- lib/analytical_brain/tools/everything_is_ready.rb
Overview
Terminal tool that signals the analytical brain has completed its work. Call this when no changes are needed — the current session state is already good.
After this tool returns, the LLM responds with text (not another tool call), naturally terminating the chat_with_tools loop.
Class Method Summary collapse
Instance Method Summary collapse
-
#execute(_input) ⇒ String
Confirmation message.
Methods inherited from Tools::Base
#initialize, schema, truncation_threshold
Constructor Details
This class inherits a constructor from Tools::Base
Class Method Details
.description ⇒ Object
14 |
# File 'lib/analytical_brain/tools/everything_is_ready.rb', line 14 def self.description = "Nothing else to do." |
.input_schema ⇒ Object
16 17 18 |
# File 'lib/analytical_brain/tools/everything_is_ready.rb', line 16 def self.input_schema {type: "object", properties: {}, required: []} end |
.tool_name ⇒ Object
12 |
# File 'lib/analytical_brain/tools/everything_is_ready.rb', line 12 def self.tool_name = "everything_is_ready" |
Instance Method Details
#execute(_input) ⇒ String
Returns confirmation message.
22 23 24 |
# File 'lib/analytical_brain/tools/everything_is_ready.rb', line 22 def execute(_input) "Acknowledged. No changes needed." end |