Set policy rule
set_policy_ruleOverride default governance by adding an explicit policy rule that allows, blocks, or requires approval, with higher priority winning conflicts.
Instructions
Add an explicit policy rule that overrides defaults. Higher priority wins. Use this to approve something normally gated (effect:'allow') or to tighten further (effect:'block').
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": {
"effect": "<effect>",
"match": "<match>"
},
"name": "set_policy_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match | Yes | Unset fields are wildcards | |
| effect | Yes | ||
| priority | No | Default 100; higher wins | |
| description | No |