pub trait ToolCallHandle: Send {
// Required methods
fn tool_request(&self) -> ToolRequestEvent;
fn execute<'async_trait>(
self: Box<Self>,
) -> Pin<Box<dyn Future<Output = ToolOutput> + 'async_trait>>
where Self: 'async_trait;
}Expand description
Handle for a validated tool call, encapsulating request generation and execution