Skip to main content

CanUseToolFn

Type Alias CanUseToolFn 

Source
pub type CanUseToolFn = dyn Fn(&ToolDefinition, &Value, &ToolUseContext, &Option<Message>, &str, Option<bool>) -> Pin<Box<dyn Future<Output = PermissionDecision> + Send + Sync>> + Send + Sync;
Expand description

CanUseTool function type