Skip to main content

Module tool

Module tool 

Source

Structs§

ParallelExecutor
Executes tools in parallel by grouping calls by tool name and using Tool::call_batch
SequentialExecutor
Executes tools sequentially one by one by using Tool::call

Traits§

Tool
A trait for tools that can be called with JSON string arguments.
ToolArgs
Provides tool name, description, and definitions for tools generated by the #[tool] macro.
ToolExecutor
Executes tool calls with different strategies (parallel, sequential, etc.)

Attribute Macros§

tool
Transforms a function or method into a tool with generated args struct and ToolArgs implementation.