delete_policy_version
Permanently remove a policy version from its history, except for the working draft and currently published version. Deleted versions can be restored until purged.
Instructions
Permanently remove one entry from a policy's version history. The working draft and the currently published version are protected and cannot be targeted this way. Recoverable with restore_deleted_policy_version until it is purged for good.
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": {
"id": "<id>",
"versionId": "<versionId>",
"confirm": "<confirm>"
},
"name": "delete_policy_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The policy's id. | |
| confirm | Yes | Must be true. Acknowledges you understand this is destructive. | |
| versionId | Yes | The version row's UUID (not the checkpoint number). |