Expand description
Extensible Tool System
Provides a trait-based abstraction for tools.
§Architecture
ToolRegistry
└── builtin tools (bash, read, write, edit, grep, glob, ls, patch, web_fetch, web_search)Re-exports§
pub use task::parallel_task_params_schema;pub use task::task_params_schema;pub use task::ParallelTaskParams;pub use task::ParallelTaskTool;pub use task::TaskExecutor;pub use task::TaskParams;pub use task::TaskResult;
Modules§
- task
- Task Tool for Spawning Subagents
Structs§
- Tool
Context - Tool execution context
- Tool
Executor - Tool executor with workspace sandboxing
- Tool
Output - Tool execution output
- Tool
Registry - Tool registry for managing all available tools
- Tool
Result - Tool execution result (legacy format for backward compatibility)
Enums§
- Tool
Stream Event - Events emitted by tools during execution
Constants§
- MAX_
LINE_ LENGTH - Maximum line length before truncation
- MAX_
OUTPUT_ SIZE - Maximum output size in bytes before truncation
- MAX_
READ_ LINES - Maximum lines to read from a file
Traits§
- Tool
- Tool trait - the core abstraction for all tools
Type Aliases§
- Tool
Event Sender - Sender for streaming tool output deltas during execution.