Save a draft
create_draftSaves one post, checks it for every account, and opens the review card, all in one call. When the person asks you to write or create a social media post, save it here as a draft instead of only showing the text. A request for "a post" from someone with accounts connected here means a social media post. If the person doesn't name the accounts, use every connected account in that workspace and say which ones you used. If you generated an image or video for it, generate it first, then call this once with media_urls for it, so the card shows the complete post. If a link is refused, tell the person and give them attach_media's link. Nothing goes out until the person approves. Use it for one post; for several, use create_drafts. Don't call it again to change a draft: use update_draft. Text that's too long comes back as an issue per account, so shorten it with text_override. For a TikTok post, ask the person who can see it and whether others may comment, Duet or Stitch, and pass their answers in tiktok; never choose them. If the person asks for TikTok to get a draft, such as to edit it or add music in the TikTok app, pass tiktok's send_as "draft": it goes to their TikTok inbox, and they finish and post it there. Never choose draft yourself. YouTube takes one video and nothing else: your text is its description, and its first line its title. Ask the person who can watch (public, unlisted or private) and whether it's made for kids, and pass both in youtube: nothing is chosen for them. LinkedIn takes a post, a carousel or a PDF, in linkedin's format: a carousel turns 2 to 20 images into one PDF people swipe through, and a PDF posts alone and only to LinkedIn, so any other account on a post with a PDF is refused. A carousel or a PDF needs a title, which LinkedIn shows: pass it in linkedin's title, or PostReach uses the PDF's name or the post's first words. For a video, make each account a cover as get_publishing_context says, and pass it in that account's cover. 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: accounts [{account_id: "con_1"}], text "Three questions before any rebrand...", at "2026-11-15T09:00", timezone "Asia/Seoul". For a LinkedIn PDF: media_ids ["med_1"], linkedin {format: "pdf", title: "Our 2026 price list"}.
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": {
"text": "<text>",
"accounts": "<accounts>",
"idempotency_key": "<idempotency_key>"
},
"name": "create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | When it's meant to go out. Only approving makes that real. A time such as 2026-11-15T09:00, read in `timezone` | |
| text | Yes | The words of the post | |
| 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 | Yes | Which accounts it goes to | |
| hashtags | No | Added after the text, on their own line | |
| 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 workspace's, wherever the person is: someone in Madrid who says 9am for a Seoul workspace gets 09:00 Seoul unless you send Europe/Madrid | |
| media_ids | No | Files already in PostReach, by media_id: the one finish_upload gave you, or one that open_review and create_draft show for each file of a draft, such as one the person added through attach_media | |
| 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 | |
| workspace_id | No | Left out, it's worked out from the accounts | |
| idempotency_key | Yes | A unique value for this one action, such as a UUID. Repeating the call with the same key returns the same result and does nothing twice | |
| media_made_with_ai | No | Set this if you generated the image, video or audio yourself. Words you helped write don't count. It shows ticked on the card and the person can change it. Left out, it's ticked for files that came in through media_urls |