Skip to main contentCrate reductool
Source pub use linkme as __linkme;
- ToolDefinition
- Runtime definition of a registered AI tool.
- ALL_TOOLS
- Registry of all tools discovered via the
#[aitool] attribute.
- dispatch_tool
- Invoke a registered tool by name with JSON arguments.
- tools_to_schema
- Produce the aggregated JSON Schema for all registered tools.
- InvokeFuture
- Boxed async result produced by an aitool invocation. Resolves to a
serde_json::Value or an error.
- aitool
- Attribute macro to register a free-standing Rust function as an AI tool.