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 */ }
pub type SyncToolFn = Arc<dyn Fn(Value, ToolContext) -> Result<ToolResult> + Send + Sync>;
Type alias for sync tool handler functions
pub struct SyncToolFn { /* private fields */ }