Expand description
Gated tool registry — intercepts all tool executions through AccessGate.
Instead of wrapping individual tools (which requires access to tool internals), this module provides a registry-level proxy that checks permissions before delegating to the real tool. This means:
- No changes to individual tool code
- New tools are automatically protected
- oxi-sdk crate tools (ReadTool, WriteTool, etc.) are covered without modification
Structs§
- Gated
Tool - A tool wrapper that checks permissions before execution.
Functions§
- gate_
tool - Wrap a tool with access control.