discard_draft
Throw away the caller's own draft and leave the published plan alone. Use it to start again from the current revision, with the cookie or session that saved the draft. Returns has_draft false, also when there was nothing to discard.
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>",
"owner": "<owner>"
},
"name": "discard_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | the room id, from get_rooms | |
| owner | Yes | a display handle echoed back in the answer; it never selects another person's draft |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The room id. | |
| owner | Yes | Whose draft. | |
| behind | Yes | Whether someone published since the draft was started. | |
| has_draft | Yes | Whether a draft is now open. | |
| draft_differs | Yes | Whether it differs from the published body. |