Expand description
Simplified tool creation with the builder pattern.
§Tool Builder Module
This module provides a simplified way to create tools without implementing the Tool trait manually. Users can create tools by providing a name, description, parameters, and a function to execute.
Structs§
- Tool
Builder - A builder for creating tools with a simplified API.
Traits§
- From
Value - Trait for converting JSON values to Rust types. This enables automatic type inference in the ftool API.
Type Aliases§
- Tool
Function - Type alias for the tool execution function. This is a boxed async function that takes JSON arguments and returns a ToolResult.