Class: Rubyagents::FinalAnswerTool

Inherits:
Tool
  • Object
show all
Defined in:
lib/rubyagents/tool.rb

Overview

Built-in tool: signals the final answer

Instance Method Summary collapse

Methods inherited from Tool

description, inherited, input, inputs, output_type, to_prompt, to_schema, tool_name

Instance Method Details

#call(answer:) ⇒ Object



95
96
97
# File 'lib/rubyagents/tool.rb', line 95

def call(answer:)
  answer
end