Crate tool_calling
Source - Tool
- Represents metadata for a registered tool function.
- ToolHandler
- Handler for discovering and invoking registered tools.
- ToolError
- Errors returned by tool operations.
- ToolFn
- Represents the wrapped function of a tool, always async.
- TOOL_FACTORIES
- tools
- Returns a slice of all registered tools.
- wrap_sync
- Wraps a synchronous tool function into the async tool function signature.
- default
- Attribute to specify handling of
Option<T>
parameters in tools. - tool
- Attribute macro to mark a function as a tool.