pub fn gate_tool<T: AgentTool + 'static>(
tool: T,
gate: Arc<AccessGate>,
context: AgentContext,
) -> GatedTool<T>Expand description
Wrap a tool with access control.
Convenience function for creating GatedTool instances.
pub fn gate_tool<T: AgentTool + 'static>(
tool: T,
gate: Arc<AccessGate>,
context: AgentContext,
) -> GatedTool<T>Wrap a tool with access control.
Convenience function for creating GatedTool instances.