Discard your draft
discard_draftMove a page or entry you created through this connection to the bin, such as a test page or a draft that is no longer wanted. Only for drafts that were never published, are not in review, approved or in a release, and that no person or other connection has changed since. Anything else is refused with the reason. A person can restore it from the bin.
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_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The draft's id, as returned by search_content, list_pages or create_draft. |