Skip to main content

Module tool

Module tool 

Source
Expand description

Tool contract shared by the tool node, the agent node and tool providers (native Rust tools, MCP servers, HTTP tools…).

Structs§

ToolError
Error calling a tool (transport, unknown tool…).
ToolOutput
Result of a tool call.
ToolRegistry
Service registered in crate::node::Services: named tool providers (e.g. builtin, mcp:github). Nodes reference tools as provider/tool.
ToolSpec
Description of a callable tool, exposed to models for tool calling.

Traits§

ToolRuntime
A source of tools.