Skip to main content

Interface: GateToolParams

Defined in: toolGate.ts:88

Parameters for the gate createToolGate returns.

Properties​

gates?​

optional gates?: ToolCallGate[]

Defined in: toolGate.ts:97

Per-tool gates run after the global gates. Useful for arg-conditional authorization (e.g. different subscription tiers based on call args).


requiredScope​

requiredScope: string

Defined in: toolGate.ts:92

The single scope that must be present on the caller's token.


tool​

tool: Tool

Defined in: toolGate.ts:90

The tool to protect.