These policies apply to the LLM request
tools[] / tool-call path (and, for the rate
limiter, to MCP tool executions). They are not the same as MCP toolkit grants
on a consumer or role, which control which MCP server tools an
agent may list and call — see MCP.
Tool Injection
tool_injection injects operator-authored function tools into the outbound request
so the model can call them. It does not filter or deny client-supplied tools — it only
adds gateway tools (and resolves name collisions).
Configure in the console
- Policies → Catalog → Tool Injection (Tool Governance group).
- Under Inject tools, add one or more functions:
- Name (required)
- Description (optional — helps the model choose when to call it)
- Parameters (optional JSON Schema object for arguments)
- Set On conflict when an injected name collides with a client tool.
- Set mode and scope (gateway-wide or targeted consumers), then save.
Settings
Stage:
pre_request. Protocol: LLM only.
Per-Tool Rate Limiter
per_tool_rate_limiter counts real tool executions (not generic HTTP requests) and
enforces one or more time windows per tool pattern. It works for LLM tool calls and
native MCP tool traffic.
In the catalog it lives under Traffic Control (not Tool Governance), next to the
request rate limiter.
Configure in the console
- Policies → Catalog → Per-Tool Rate Limiter.
- Add rules. The first rule whose tool pattern matches a tool call wins.
- For each rule set:
- Tool — glob against the tool name (e.g.
execute_code*,search_*) - Windows — one or more
{ duration, max }pairs (e.g.1m/ 60,1h/ 500) - Optional per-rule behavior (otherwise the policy default applies)
- Tool — glob against the tool name (e.g.
- Set the default behavior when a window is exceeded.
- Save.
On exceed (behavior)
Counters follow policy scope: gateway-wide for global policies, otherwise per
consumer.
What is not a catalog policy
Related
- Policies overview
- Rate limiting & budgets — request-volume and token/dollar budgets
- MCP — toolkit scoping for MCP servers
- Playground — exercise LLM tool-using consumers