Validate a post before publishing
validate_postDry run: check copy and media against every target network (character limits, media requirements, mandatory options) WITHOUT creating anything. Use it before create_post when the copy is long or several networks are involved. For YouTube it also returns advice on the title and thumbnail as one pairing (where the title gets cut on desktop and phone, capitals, empty adjectives, a thumbnail that repeats the title): advice, not blockers — fix what applies and tell the user the rest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| altText | No | Accessibility alt text per image, keyed by its URL in mediaUrls: {"https://…/a.jpg":"A dog on a red sofa"}. Applied on Instagram feed, Facebook, Threads, X (max 1000), LinkedIn, Bluesky and Pinterest (max 500); ignored elsewhere. Write it for every image you attach — a post without alt text is unreadable to screen readers, and several networks rank it. | |
| content | Yes | ||
| mediaUrls | No | Public https URLs of images/videos to attach. THE ORDER MATTERS: it is the carousel order the reader swipes through, and the first one is the cover — the image that shows in the profile grid. Get them from generate_image, generate_video (via get_media_job), upload_media (for a file on the user's machine), import_media (for a url that is already public) or list_library_media. | |
| accountIds | Yes | Ignix account ids from list_accounts. | |
| thumbnailText | No | YouTube: the words written on the thumbnail, if any, so they are checked against the title. | |
| networkOptions | No | Network-specific options keyed by platform: first comment, collaborators, cover image, privacy, board, flair, TikTok consent… e.g. {"instagram":{"firstComment":"…","collaborators":"user1,user2"},"youtube":{"visibility":"public"},"pinterest":{"boardId":"…"}}. Call get_network_options for the EXACT list each network accepts, with types, accepted values and which ones are required. | |
| perNetworkText | No | Different copy per network, keyed by platform, e.g. {"x":"short version","linkedin":"long version"}. Networks not listed use the main content. |