Skip to main content

Crate reductool

Crate reductool 

Source

Re-exports§

pub use linkme as __linkme;

Structs§

ToolDefinition
Runtime definition of a registered AI tool.

Statics§

ALL_TOOLS
Registry of all tools discovered via the #[aitool] attribute.

Functions§

dispatch_tool
Invoke a registered tool by name with JSON arguments.
tools_to_schema
Produce the aggregated JSON Schema for all registered tools.

Type Aliases§

InvokeFuture
Boxed async result produced by an aitool invocation. Resolves to a serde_json::Value or an error.

Attribute Macros§

aitool
Attribute macro to register a free-standing Rust function as an AI tool.