agentgate_create_policy
Define approval policies with match conditions and decisions to control agent tool calls.
Instructions
Create a new policy with rules.
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": {
"name": "<name>",
"rules": "<rules>"
},
"name": "agentgate_create_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Policy name | |
| rules | Yes | Array of policy rules with match conditions and decisions | |
| enabled | No | Whether policy is enabled (default true) | |
| priority | No | Policy priority (default 100) |