pub type AutoApproveToolPredicate = Arc<dyn Fn(&str) -> bool + Send + Sync>;Expand description
Predicate used by Options::auto_approve_tool to short-circuit
the permission flow for trusted tool names (e.g. forge’s own
in-process MCP server prefixes).
Aliased Type§
pub struct AutoApproveToolPredicate { /* private fields */ }