update_csp
Replace a contextual security policy's rules, priority, exceptions, or metadata. Supply complete rule objects to retain fields and check the CSP schema before adding restrictions or approvals.
Instructions
Update a contextual security policy. Supplied rules replace the whole object; include all fields to retain. Check zihin://schemas/csp_config because unknown fields may be accepted without effect. Use behavior.must_not_tools for tool restrictions and require_approval_for with approval_policy_id for native-chat human approval.
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": {
"csp_id": "<csp_id>"
},
"name": "update_csp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name | |
| rules | No | New rules, replacing the previous rules completely | |
| csp_id | Yes | UUID of the CSP policy to update | |
| priority | No | New priority | |
| exceptions | No | New rule exceptions | |
| description | No | New description |