SyncToolFn

Type Alias SyncToolFn 

Source
pub type SyncToolFn = Arc<dyn Fn(Value, ToolContext) -> Result<ToolResult> + Send + Sync>;
Expand description

Type alias for sync tool handler functions

Aliased Typeยง

pub struct SyncToolFn { /* private fields */ }