Skip to main content

Module tool

Module tool 

Source

Structs§

ToolCall
A parsed tool call extracted from model output.
ToolRegistry
Registry of available tools, keyed by name.
ToolResult
Result returned after executing a tool.

Traits§

Tool
A tool that the agent can invoke.

Functions§

parse_tool_calls
Parse <tool_call>...</tool_call> blocks from model output.