pub trait ToolCallTransformer:
Send
+ Sync
+ 'static {
// Required method
fn transform(&self, tool_call: &mut ToolCall) -> Result<(), ToolError>;
}Expand description
Tool call transformer trait
Allows transforming tool call parameters before execution.
Note: This trait does not implement Debug as it’s intended for dynamic dispatch via trait objects.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".