Owner: switch an agent's spending on or off
set_policy_enabledOwner kill switch. enabled=false instantly blocks every swap and payment through the policy; enabled=true turns it back on. Requires admin_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": {
"policy_id": "<policy_id>",
"admin_key": "<admin_key>",
"enabled": "<enabled>"
},
"name": "set_policy_enabled"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | ||
| admin_key | Yes | ||
| policy_id | Yes |