Crate tool_calling

Source

Structs§

Tool
Represents metadata for a registered tool function.
ToolHandler
Handler for discovering and invoking registered tools.

Enums§

ToolError
Errors returned by tool operations.
ToolFn
Represents the wrapped function of a tool, always async.

Statics§

TOOL_FACTORIES

Functions§

tools
Returns a slice of all registered tools.
wrap_sync
Wraps a synchronous tool function into the async tool function signature.

Attribute Macros§

default
Attribute to specify handling of Option<T> parameters in tools.
tool
Attribute macro to mark a function as a tool.