Edit draft
update_draftChange a draft’s title, text, thread posts, or destinations. Read get_draft first and send its version as expectedVersion; a draft changed since is left alone. On a thread, send the complete list of posts, keeping the ids of posts to keep. Editing never changes a post already scheduled: it keeps the text it was scheduled with until schedule_post is called again for it. On a team, an edit leaves any approval behind, so the draft needs review again.
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>",
"expectedVersion": "<expectedVersion>"
},
"name": "update_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| content | No | ||
| threadPosts | No | ||
| contentCardId | Yes | The draft’s content card id, from create_draft or get_calendar. | |
| expectedVersion | Yes | The version get_draft returned. A draft changed since is left alone, so a newer edit is never replaced. | |
| destinationPlatforms | No |
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 |