AI apps (MCP)
MCP tools
The thirteen tools your AI gets: read your accounts, posts, captions and results; create, edit, publish, retry, copy, move, swap and delete posts.
The tools
| Tool | Changes | What it does |
|---|---|---|
list_accounts | read only | Your account groups (one per brand, say) and the connected accounts in each, with ids. The default group is marked. |
recent_captions | read only | Your latest captions, newest first (limit, up to 50), so what the AI writes sounds like you. |
list_posts | read only | Your posts, with ids, local times, captions, accounts and whether each has media. status: scheduled (default), draft, sent (each network’s link and views) or failed (each network’s error). Sent and failed come newest first; a partly sent post is in both. Filters: group, from and to (YYYY-MM-DD), media (none, any), limit (up to 200). |
refresh_stats | read only | Reads a sent post’s latest views, likes and comments from each network now: post_id. At most once every 5 minutes per post; PostAll also does this on its own in the days after posting. |
move_post | yes | Move one scheduled post to a new time: post_id, schedule_at (ISO 8601 with offset, at least a minute ahead). Doesn’t publish drafts. |
create_post | yes | A new post: a draft by default, or status scheduled with schedule_at. Text, plus photos (up to 10) or one video as media_urls: direct https links that PostAll downloads (up to 95 MB each). Also group, account_ids, thread, cover_seconds, TikTok settings, instagram_trial_reel and idempotency_key. |
update_post | yes | Edit a draft or scheduled post: caption, network_text (one network’s own text), thread, schedule_at, group, remove_networks, remove_account_ids, add_account_ids, TikTok settings and instagram_trial_reel. Only what you pass changes; the photo or video stays. |
publish_post | yes, posts publicly | Make a draft live: when now, or scheduled at schedule_at or the draft’s saved time. A scheduled post can be sent early with now. Posts to TikTok need tiktok_privacy if the draft has none; the AI should ask you who sees it. |
retry_post | yes, posts publicly | Send a failed or partly sent post again, to the networks that failed only: post_id, and schedule_at to retry later instead of now. What already went out is left alone. |
skip_failed | yes | Give up on a post’s failed networks: they’re marked skipped and never retried, and the post leaves your Failed list. Nothing is deleted. post_id. |
duplicate_post | yes | Copy any post, sent ones included, into a new draft with the same caption, media, settings and accounts: post_id. Then update_post and publish_post to post it again. |
swap_posts | yes | Two scheduled posts trade times, both or neither: post_a, post_b. |
delete_posts | yes, can't be undone | Delete up to 200 drafts or scheduled posts that haven’t started publishing: post_ids. Marked destructive, so apps ask you first. |
The read-only tools are marked readOnlyHint, so apps can run them without asking. publish_post and retry_post are marked as reaching the outside world and delete_posts as destructive, and PostAll tells the AI to get your yes before any of them.
Photos and videos
Chat apps can’t hand PostAll a file from your computer, so create_post takes links. The link must open the file itself, not a page about it:
- Works: a link ending in
.jpgor.mp4on your own site, a public S3, R2 or Cloudinary file, a Dropbox link ending in?dl=1. - Doesn’t: Google Drive, Google Photos and iCloud share pages, Instagram or TikTok post links.
For a file on your computer, upload it in PostAll’s composer and save a draft, then let your AI edit and publish it. Or use the HTTP API.
Times
Times go in and come out in your own time zone (Settings → Time zone), like Fri 27 Nov, 9:00 am, so the AI never mistakes UTC for local time. Days in from and to are your days.
A call, start to finish
“Delete tomorrow’s text-only posts for Bakery” becomes two calls. First the AI looks:
{ "name": "list_posts",
"arguments": { "group": "Bakery", "from": "2026-11-27", "to": "2026-11-27", "media": "none" } }2 matching posts.
pst_41aa [Fri 27 Nov, 9:00 am] [text only] Open till 6 today…
Bakery KL (Threads), Bakery KL (X)
pst_41ab [Fri 27 Nov, 1:00 pm] [text only] Lunch special: …
Bakery KL (Threads), Bakery KL (X)It shows you the two posts, you say yes, and it deletes them:
{ "name": "delete_posts", "arguments": { "post_ids": ["pst_41aa", "pst_41ab"] } }Deleted 2 posts.When a tool fails, the result has isError: true and a plain sentence saying why (“Only scheduled posts can be moved (this one is draft)”), so the AI can tell you or try again.