Gateway: Guard mode
gateway_set_guardTurn Privi Guard on for every tool result that passes through your gateway: tag adds the verdict and a receipt id in result._meta['privi/guard']; block also replaces injected results with an error before your agents see them. Each result is one Guard check (free allowance, then credits). Requires the organization API key.
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": {
"gw_id": "<gw_id>",
"mode": "<mode>"
},
"name": "gateway_set_guard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | off | tag | block | |
| gw_id | Yes | gw_... ID |