validate_post
Check a post before publishing read-only
Description
Check a post BEFORE it is scheduled or published, and store nothing: (1) each caption’s length per channel against the limit Hermoso and the platform refuse on, plus X’s own weighted count (a link counts 23, an emoji 2) and whether it fits X’s 280 without Premium; (2) every media URL fetched the way a post fetches it, its bytes identified (a real image or video, never trusting the file name), measured (size, width, height, aspect, duration) and flagged when it cannot be decoded; (3) the whole schedule_post check run at `at` (default an hour from now): channels connected, which account, per-channel rules, photo shapes, the posting allowance. The answer is PASSES or the exact refusals schedule_post would give. Use it before a bulk schedule or when a user asks "will this work on Instagram?". Same fields as schedule_post. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
brand | string | WHICH PROFILE the post lives in, for THIS CALL ONLY: an id or exact name from list_brands, needed when it was published in a profile this connection is not pinned to. A name that matches no profile, or two, is REFUSED and nothing is done. |
channels | "facebook" | "instagram" | "threads" | "tiktok" | "youtube" | "linkedin" | "x" | "pinterest" | "google_business" | "bluesky" | "telegram" | "wordpress" | "discord" | "slack" | "whop" | "shopify_blog" | "webflow" | "wix"[] | the channels to check against; omit to check only the media |
message | string | |
captions | object | per-channel captions |
imageUrl | string | |
videoUrl | string | |
imageUrls | string[] | |
title | string | |
link | string | |
accounts | object | |
at | string | the time to check it for (default an hour from now) |
useQueue | boolean | string | |
timezone | string | |
channelOptions | object | rare per-channel extras: threadsChain[] / blueskyThread[] follow-ups threaded under it; linkedinPoll {question, options[], duration ONE_DAY|THREE_DAYS|SEVEN_DAYS|FOURTEEN_DAYS} a poll as the post; linkedinReshareOf repost this (link or urn); ytPlaylistId add to playlist; protectContent Telegram no forwarding/saving; telegramDocument file URL sent as the post; slackUsername / slackIconUrl / slackIconEmoji (:rocket:) the Slack app posts as that name and picture; sensitiveMedia [adult_content|graphic_violence|other] X media warning; geoRestriction {countries[] | excludeCountries[]} X media country limit (two-letter codes); textBackgroundPresetId Facebook text-only post on a coloured background (numeric preset id); tiktokLocationId + tiktokLocationName (search_tiktok_locations), tiktokMusicSoundId (songClipId from tiktok_ads_trending sounds), tiktokMusicVolume / tiktokOriginalSoundVolume 0-100, tiktokAdsOnly TikTok video as an ads-only post |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/validate_post.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"validate_post","arguments":{}}}
CLI
hermoso call validate_post --json '{}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
schedule_postSchedule a post for latermanage_post_draftsPost draftsschedule_postsSchedule several posts at oncelist_scheduledList scheduled and past postsreschedule_postChange a scheduled postcancel_scheduledCancel a scheduled post