update_policy_gate
Update a runtime policy gate to modify model allowlist, block PII or secrets, set enforcement mode, and toggle enabled status.
Instructions
Update a runtime policy gate (Pro+ only). Partially updates modelAllowlist (null clears the restriction) / blockPii / blockSecrets / enforceMode / enabled. Example phrasing: "add gpt-4o-mini to the allowlist" / "enable secret blocking"
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"policyId": "<policyId>"
},
"name": "update_policy_gate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | ||
| blockPii | No | ||
| policyId | Yes | Target policy id (from get_policy_gate, starts with pg_) | |
| enforceMode | No | ||
| blockSecrets | No | ||
| modelAllowlist | No | New allowlist (null clears the model restriction) |