discard_policy_draft
Discard uncommitted draft changes on a policy, reverting it to its last published state.
Instructions
Discard uncommitted draft edits on a policy, resetting it to its last published state. Fails if it has never been published — there is no published state to fall back to.
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>"
},
"name": "discard_policy_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The policy's id. |