Skip to main content

Module tool

Module tool 

Source
Expand description

Tool trait — the shared contract for LLM-callable tools.

Plugins contribute tools via Plugin::tools(). The host registers them and exposes them to the LLM.

Enums§

ToolError
Errors from tool execution.

Traits§

Tool
A tool that can be invoked by an LLM.

Type Aliases§

ToolResult
Async result type for tool execution.