Change a draft
update_draftMakes a new version of a draft. Anything you leave out stays as it is. The person has to approve the new version. Use it to shorten text, change accounts or change the time, to add generated images or videos with media_urls, to set or change a video's cover with an account's cover, to change who can watch on YouTube or made for kids with youtube when the person asks, or to send TikTok a draft instead of a post, or a post instead of a draft, with tiktok's send_as, only when the person asks for that. Use linkedin to change LinkedIn's format (post, carousel or pdf) or the title it shows on a carousel or a PDF. If a link is refused, give the person attach_media's link. Don't use it for a post that's already scheduled. A time with no timezone is read in the workspace's, not the person's, so if they might be somewhere else, send theirs, and say the zone back to them. Where the card shows, it shows every account's post in full, so don't write the text out again in your reply. Example: draft_id "drf_1", expected_revision 1, accounts [{account_id: "con_x", text_override: "A shorter version"}].
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": {
"draft_id": "<draft_id>",
"expected_revision": "<expected_revision>"
},
"name": "update_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | A time such as 2026-11-15T09:00, read in `timezone`. An ISO time with an offset also works | |
| text | No | ||
| tiktok | No | TikTok only. For a post, ask the person who can see it and whether others may comment, Duet or Stitch, and pass what they said; never choose for them. send_as draft only when they asked for a draft. Never choose draft yourself: posting is the default | |
| youtube | No | YouTube only. Ask the person both and pass what they said; never choose for them. Approving waits for both | |
| accounts | No | ||
| draft_id | Yes | ||
| No | LinkedIn only. Left out, the files decide: a PDF goes as a PDF, and several images go as a carousel when the same images are a carousel for Instagram or Threads on this post, and otherwise together as a post. A carousel or a PDF with no title gets one from the file's name or the post's first words | ||
| timezone | No | An IANA time zone such as Asia/Seoul. A fixed offset such as +09:00 is refused. Left out, the one already on the draft, which is the workspace's unless someone chose another | |
| media_ids | No | ||
| No | Pinterest only. Which board each Pin is saved to, once the person has said which. Never choose for them, even when there's only one board: ask, such as "Save it to Menu ideas?", and pass it after their yes. With no boards, ask whether to make one with pinterest_board first | ||
| media_urls | No | Images or videos you generated, by link, up to 35. PostReach fetches each and adds it to the draft in this call, so the card shows the complete post. Only links on your own app's generated-file hosts work. A link that's refused comes back with the reason: tell the person, and give them attach_media's link instead | |
| expected_revision | Yes | The revision you last saw. If someone changed it since, this is refused, so nothing's overwritten | |
| media_made_with_ai | No |