Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CalculatorTool ¶
type CalculatorTool struct{}
CalculatorTool evaluates basic arithmetic expressions in the form "a op b".
func (*CalculatorTool) Invoke ¶
func (c *CalculatorTool) Invoke(_ context.Context, req agent.ToolRequest) (agent.ToolResponse, error)
func (*CalculatorTool) Spec ¶
func (c *CalculatorTool) Spec() agent.ToolSpec
Click to show internal directories.
Click to hide internal directories.