Delete draft
delete_draftPermanently delete a draft and its media. There is no undo, so confirm with the user first. Send its id and its current title from get_calendar; a title that does not match deletes nothing. Drafts that are scheduled, published, or linked to a deal are refused and stay managed in Distinctful. Applies immediately.
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": {
"contentCardId": "<contentCardId>",
"title": "<title>"
},
"name": "delete_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | The draft’s exact current title, as a check that the id is the intended draft. | |
| contentCardId | Yes | The draft’s content card id from get_calendar. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Id of the created or changed record, when there is one. | |
| url | Yes | Where the user can see the result in Distinctful. | |
| done | Yes |