pub trait GlobalResolver: Send + Sync {
// Required method
fn resolve(&self, call: &ToolCall<'_>) -> Option<ToolPolicy>;
}Expand description
Pipeline-wide resolver (Phase 3 of the evaluation). Security blacklist,
audit, rate-limit, etc. Return Some(policy) to escalate; the gate adopts
it via ToolPolicy::max, so it can only strengthen — never weaken.
Required Methods§
fn resolve(&self, call: &ToolCall<'_>) -> Option<ToolPolicy>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".