iHatePosting
v0.13.1Draft, schedule and publish social posts, upload media and list posts across 15 platforms.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
open_upload_widget Show an upload box
Show the person their iHatePosting media box: they can upload an image or video from their own device, browse what is already in their library with every file previewable, see how much storage their plan leaves them, pick a file to use, or delete one. THIS IS THE ANSWER WHENEVER SOMEONE NAMES A FILE ON THEIR OWN COMPUTER — a path like C:\clips\launch.mp4 or ~/Movies/clip.mov is not something any tool here can read, and explaining that is not an answer: open this instead, in the same reply, and they pick the file from a picker right in the conversation. Also use it for anything they pasted or…
get_upload_ticket Get a short-lived upload ticket
Internal: issues a short-lived ticket (10 minutes, reused by the upload box for its own requests) that the upload box uses to list, preview, upload and delete files. The upload box calls this itself.
whoami Show the signed-in iHatePosting account
Which iHatePosting login this connection acts for (email and account name), whether it connected by signing in or with an API key, and the account owner's timezone (`ownerTimezone`) — the zone every scheduledDate/scheduledTime you send is read in. Use this for any question about who the user is or which account is connected, and before working out a time like 'tomorrow at 9' or 'in two hours'. This is NOT a social media handle — the handles from list_accounts belong to the connected profiles, which may carry other people's names.
get_platform_rules Get each platform's posting rules
What each platform will and will not accept: character limit, whether media is required, how many images, video formats and length, and EVERY per-platform option it takes — `options` per platform, each with its exact key, type, allowed values, default when left out, and whether it is required (e.g. Pinterest needs boardId, YouTube needs ytTitle and ytMadeForKids; YouTube's privacy is ytPrivacy, Instagram's first comment is firstComment). Call this BEFORE writing a post — it is the difference between composing something that publishes and something the platform rejects.
validate_post Check a post before sending
Check a post against every platform you plan to send it to, WITHOUT creating anything. Runs the same checks create_post runs, so the answer is what will really happen: platform rules ('X counts this as 1200/280 characters', 'YouTube needs a title', 'TikTok slideshows take JPEG or WebP photos'), whether each account is connected and signed in, AND the account's own limits — trial expiry, whether the plan includes X, and the monthly posting allowances. Pass the same `action`/`scheduledDate`/`scheduledTime` you will pass to create_post: a cap counts the month the post is DUE, so checking withou…
| Parameter | Type | Description |
|---|---|---|
text * | string | The post text |
action | string | What you will ask create_post for. Left out, it is read as create_post reads it: 'draft' when no date is given (a draft skips the limits, because it costs nothing), and refused when a date is given. P… |
mediaIds | array | Media library ids from list_media or upload_media, in attach order |
options | object | Per-platform options in create_post's shape, by their exact names — e.g. { youtube: { ytTitle: '...', ytMadeForKids: false } }. get_platform_rules lists every option per platform with its type and a… |
overrides | object | Different text for one platform, as create_post takes it, e.g. { x: 'a shorter version' }. A target's own `contentOverride` wins. |
platforms | array | Where it goes, exactly as create_post takes it: a platform name — bluesky, x, linkedin, facebook, threads, mastodon, telegram, discord, tumblr, slack, instagram, pinterest, tiktok, youtube — for e… |
scheduledDate | string | YYYY-MM-DD, with action 'schedule'. The monthly limits count the month the post is DUE, so this changes the answer. |
scheduledTime | string | e.g. '9:00 AM' or '21:00' (with action 'schedule'), the account owner's wall clock in `ownerTimezone` from whoami |
targets | array | Platforms with their per-platform options. Use this OR `platforms`. |
create_post Create a post
Create a social post on iHatePosting. action 'draft' saves it (the default when no date is given, and the safe choice); 'schedule' needs scheduledDate (YYYY-MM-DD) + scheduledTime (e.g. '9:00 AM' or '21:00'), the account owner's wall clock in their timezone — `ownerTimezone` from whoami, not yours or the user's device; 'now' publishes immediately to a real audience. A date with any action but 'schedule', or with no action, is refused rather than dropped. Every `scheduledAt` in the reply is UTC (it ends in Z); `scheduledLocal` beside it is the same moment as the owner's date, time and timezon…
| Parameter | Type | Description |
|---|---|---|
platforms * | array | Where it goes. Either a platform name — bluesky, x, linkedin, facebook, threads, mastodon, telegram, discord, tumblr, slack, instagram, pinterest, tiktok, youtube — which targets EVERY account you… |
text * | string | The post text |
action | string | 'draft' saves it; 'schedule' posts at scheduledDate + scheduledTime; 'now' publishes to a real audience at once. Left out with no date it is 'draft'; left out WITH a date it is refused — say 'schedu… |
mediaIds | array | Media library ids from list_media or upload_media, in attach order |
options | object | Per-platform options, by their exact names — e.g. { pinterest: { boardId: '...' }, youtube: { ytTitle: '...', ytMadeForKids: false, ytPrivacy: 'unlisted' }, instagram: { firstComment: '#more #tags'… |
overrides | object | Different text for one platform, e.g. { x: 'a shorter version' } |
scheduledDate | string | YYYY-MM-DD, with action 'schedule' only — the owner's calendar day |
scheduledTime | string | e.g. '9:00 AM' or '21:00', with action 'schedule' only — the owner's wall clock in `ownerTimezone` from whoami |
list_posts List recent posts
List posts with per-platform status (draft/scheduled/published/failed) and live URLs. Rows sharing a `batchId` are ONE submission the person made to several accounts — report them as one post going to N places, not as N posts. ALWAYS CHECK `total` IN THE REPLY: it is the number of rows matching your filter, and `returned` is how many you got. If they differ you are holding one page, not the answer — page on with `cursor` until `hasMore` is false before you count anything or tell anyone a number. `total` counts ROWS: a scheduled post to several accounts is one row per platform (sharing a `b…
| Parameter | Type | Description |
|---|---|---|
cursor | string | `nextCursor` from the previous reply, exactly as given — with the same status/from/to. Keep going while `hasMore` is true. |
from | string | Earliest SCHEDULED time, 'YYYY-MM-DD' or an ISO timestamp. Inclusive; a bare date means that whole day in the account owner's timezone. |
limit | integer | Posts per page, default 50, max 200. |
status | string | Only posts in this state. For a count, set this and read `total` — do not count the page. |
to | string | Latest SCHEDULED time, same formats. Inclusive of that whole day, in the account owner's timezone, when given as a date. |
list_accounts List connected social accounts
List the connected social accounts (platform, handle, health) available for posting. The response also names the iHatePosting account this connection acts for — if the accounts listed are not the ones you expect, check that `account.email` is the right person before assuming anything is missing. `account.timezone` is the owner's timezone, the zone every scheduled time is read in. An empty `accounts` array means nothing is connected yet — nothing can be posted, scheduled or read until the user connects at least one account at https://ihateposting.com/accounts; tell them that rather than ret…
list_pinterest_boards List Pinterest boards
The Pinterest boards you can pin to, with the `id` that create_post's `options.pinterest.boardId` requires. Pinterest REFUSES a pin without a board, and a board id is an opaque number you cannot guess — call this before creating any Pinterest post. If several Pinterest accounts are connected, pass `accountId` from list_accounts, because boards belong to one account and pinning to another account's board fails. An empty list with no error means the account is connected and simply has no boards yet — make one in Pinterest first.
| Parameter | Type | Description |
|---|---|---|
accountId | string | Which Pinterest account's boards, from list_accounts. Omit to use the most recently connected one. |
get_analytics Get post analytics
How the posts actually performed: impressions, engagement and follower numbers per connected channel, plus the top posts. Use this to answer 'how did that do', 'which platform is working' or 'what should I post more of' — it reports what iHatePosting collected from each network, not an estimate. Some platforms report nothing (they are named in `unmeasuredPlatforms`), so a zero there means 'not measurable', not 'no reach'. If a plan ever gates a range, the answer says so in a sentence with `locked: true` rather than returning silently empty numbers.
| Parameter | Type | Description |
|---|---|---|
range | string | How far back to look. '12m' is a year; 'all' is everything we have recorded. |
reschedule_post Reschedule a post
Move a SCHEDULED post to a different date and time. ONE SEND AT A TIME: a scheduled post going to several accounts is stored as one post per send, so this moves just that platform and leaves the others where they are (an older row can still carry several platforms, and moves them together). A draft is refused: schedule a draft with update_post with action 'schedule', which checks each platform first and gives each its own post. Takes the post id from list_posts, plus scheduledDate (YYYY-MM-DD) and scheduledTime (e.g. '9:00 AM') read in the ACCOUNT OWNER'S timezone (`ownerTimezone` from whoami)…
| Parameter | Type | Description |
|---|---|---|
postId * | string | Post id from list_posts |
scheduledDate * | string | YYYY-MM-DD, the owner's calendar day |
scheduledTime * | string | e.g. '9:00 AM' or '21:00', the owner's wall clock in `ownerTimezone` |
list_media List the media library
The images and videos already in the user's iHatePosting library, newest first, with the `id` that create_post's `mediaIds` wants. Call this whenever a platform needs a file — Instagram, Pinterest, TikTok and YouTube all do — to see whether what you need is already uploaded. Returns ids and dimensions only; there is no downloadable link, by design.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many of the newest assets to return |
upload_media Upload media to the library
Put an image or video into the library and get back an id for create_post. PREFER `url` — ALWAYS, including for a picture you just generated: we fetch it ourselves at full length, and it is the only thing that works for video or for anything more than a few kilobytes. We take whatever the link serves, so a CDN that will not name the type (application/octet-stream, as presigned S3, Drive and Dropbox links do) is fine. `base64` is a last resort for small files that exist at no address: it travels as your own output, a conversation truncates it, and the cut-off file is refused. Either way the A…
| Parameter | Type | Description |
|---|---|---|
altText | string | Alt text. Worth writing — several networks publish it. |
base64 | string | The file's bytes, base64. A data: prefix is stripped. LAST RESORT, and small files only. Everything here becomes YOUR OWN OUTPUT, and a long string of it gets cut short on the way — the file then ar… |
filename | string | e.g. 'launch-photo.jpg' — the library label. Optional with `url`, where the link's own name is used. |
mime | string | e.g. 'image/jpeg', 'image/png', 'video/mp4'. Required with `base64`; with `url` the server's own content type decides. |
url | string | Public https link to the file ITSELF, not to a page showing it. We download it. Use this whenever the file has an address. A path on the person's own computer is NOT a link — nothing here can read t… |
get_post Get one post's details
Everything about ONE post: the shared text, each platform's own copy and options, the attached media, and per-send status with the live URL or the error. list_posts gives you the id; this explains what actually happened to it. Read it before update_post so you change what is there rather than overwriting it. Its `scheduledAt` is UTC (it ends in Z); `scheduledLocal` is the same moment as the owner's date, time and timezone — the values to send back as scheduledDate/scheduledTime to keep the time, and the ones to tell the user.
| Parameter | Type | Description |
|---|---|---|
postId * | string | Post id from list_posts |
update_post Replace a draft or scheduled post
Rewrite a draft or scheduled post. THIS REPLACES THE WHOLE POST, so read it with get_post first and send back the complete set — anything you leave out is removed, including platforms and per-platform options. Note the shape differs from create_post: this one wants `accountIds` (the ids from list_accounts, NOT platform names) and it requires `action`. Two limits: a post that has already published cannot be rewritten at all, and a post that goes to several platforms and was saved as a group keeps the platforms it has — send back that row's own accountIds and everything else is editable, but…
| Parameter | Type | Description |
|---|---|---|
accountIds * | array | The FULL set of destination account ids, from list_accounts. Account IDS, not platform names. Anything omitted is removed from the post. |
action * | string | To edit a post and KEEP it going out, send 'schedule' with scheduledDate and scheduledTime below — get_post's `scheduledLocal.date` and `scheduledLocal.time`, sent back unchanged. 'draft' TAKES A PO… |
baseContent * | string | The shared text. REQUIRED — it replaces what is there. |
postId * | string | Post id from list_posts |
mediaIds | array | Ids from list_media or upload_media, in attach order |
options | object | Per-platform options, by their exact names — e.g. { pinterest: { boardId: '...' }, youtube: { ytTitle: '...', ytMadeForKids: false }, instagram: { firstComment: '#more #tags' } }. get_platform_rules… |
overrides | object | Different text for one platform |
scheduledDate | string | YYYY-MM-DD, the owner's calendar day (schedule only) |
scheduledTime | string | e.g. '9:00 AM' or '21:00', the owner's wall clock in `ownerTimezone` (schedule only) |
retry_post Retry a failed post
Send a failed post again. ONE SEND AT A TIME, usually: a post to several accounts is stored as one post per send, so a post id normally names a single platform and retrying it touches only that one. (An older row, or a draft, can still carry several — without targetId every failed platform on that row is retried; with one, only that send.) Only a send that FAILED is retried — one that published is left alone. But a send marked failed can already be live (a timeout after the network took the post), so after a timeout check the platform before retrying. A send our own checks SKIPPED is not r…
| Parameter | Type | Description |
|---|---|---|
postId * | string | Post id from list_posts |
targetId | string | Retry ONE platform's send, if you already hold that send's id. Omit it to retry every failed send on the post. |
delete_post Delete a post from iHatePosting
Delete a post from iHatePosting. ONE SEND AT A TIME: a SCHEDULED post going to several accounts is stored as one post PER SEND, so deleting one cancels only that platform and leaves the rest scheduled — pass the `postId` that create_post returned on that particular send, or the id of the row list_posts shows for it. There is no need to cancel a whole multi-platform post to drop one platform from it. A DRAFT IS DIFFERENT: until it is scheduled, a draft is ONE post holding every platform it is aimed at (all its sends share one postId), so deleting it removes every platform — to drop one plat…
| Parameter | Type | Description |
|---|---|---|
postId * | string | Post id from list_posts |
force | boolean | Required to delete a post that already published. The platform post stays live — say so before using this. |