Documentation
¶
Overview ¶
Package echo provides a reference echo tool for agent examples.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tool ¶
type Tool struct{}
Tool echoes input text back to the model.
func (Tool) Description ¶
Description explains the tool to the model.
func (Tool) Execute ¶
func (Tool) Execute(_ context.Context, id string, args map[string]any, _ tool.UpdateHandler) (msg.ToolResultMessage, error)
Execute returns the requested text.
func (Tool) Parameters ¶
Parameters returns the JSON schema for tool arguments.
Click to show internal directories.
Click to hide internal directories.