pub struct CalculatorTool;
Expand description
Enhanced calculator tool with comprehensive validation
Trait Implementations§
Source§impl ToolHandler for CalculatorTool
impl ToolHandler for CalculatorTool
Source§impl ValidatedToolHandler for CalculatorTool
impl ValidatedToolHandler for CalculatorTool
Source§fn parameter_schema() -> Value
fn parameter_schema() -> Value
Get the JSON schema for this tool’s parameters
Source§fn validation_config() -> ValidationConfig
fn validation_config() -> ValidationConfig
Get validation configuration for this tool
Auto Trait Implementations§
impl Freeze for CalculatorTool
impl RefUnwindSafe for CalculatorTool
impl Send for CalculatorTool
impl Sync for CalculatorTool
impl Unpin for CalculatorTool
impl UnwindSafe for CalculatorTool
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more