Skip to main content

Module tool

Module tool 

Source
Expand description

Tool trait and ToolDefinition schema — verbatim from the original agent.rs, extended with Tool::read_only_hint used by the loop’s parallel-dispatch and permission logic.

Structs§

ToolDefinition
JSON-schema description of a tool, sent to the model in the request.

Traits§

Tool
Tool callable from the agent loop.