Enums§
- Document
Format - Document formats supported for tool results
- Image
Format - Image formats supported for tool results
- Tool
Error - Errors that can occur during tool execution
- Tool
Result - Result types that tools can return.
Traits§
- DynTool
- Object-safe trait for dynamic tool dispatch (used internally by the agent).
- Tool
- Trait for implementing tools that can be used by AI agents.
Functions§
- box_
tool - Convert a
Toolinto a type-erasedBox<dyn DynTool>for storage in collections. - format_
params_ ansi - Format tool parameters with ANSI colors
- format_
params_ markdown - Format tool parameters as Markdown
- format_
params_ plain - Format tool parameters as plain text
- format_
result_ ansi - Format tool result with ANSI colors
- format_
result_ markdown - Format tool result as Markdown
- format_
result_ plain - Format tool result as plain text