Publish a completed video
autoshort_publish_videoPublishes a completed video to connected YouTube, TikTok, Facebook, Instagram, or Threads accounts, handling platform-specific uploads, captions, privacy, and status checks.
Instructions
Publish one of the user's COMPLETED videos. YOUTUBE: uploads to the connected channel with your title/description and privacy (public, unlisted, private); the "altered or synthetic content" disclosure is always set; madeForKids is the user's COPPA answer (ask them for a kids audience); nothing is appended to the description unless addAttribution is true (default false — only when the user asked for "Made with AutoShort"). TIKTOK: sends the video to the creator's TikTok Drafts (inbox) — they add the caption, switch on the AI-generated label and post in the app; pass userConsent: true only after the user agreed. FACEBOOK / INSTAGRAM / THREADS: publishes publicly as a Facebook Page Reel, an Instagram Reel or a Threads video with your caption (or a default one); #AIGenerated is always added. Meta processes the video for a minute or more: the first call answers QUEUED, call again with the same arguments to read the status (POSTED with the url). A FAILED publish is retried only with retry: true. Idempotent per (videoId, platform): a repeat returns the first result and never posts twice. Respects platform caps (YouTube ≈5 uploads/day; TikTok's pending-drafts limit; Facebook 25, Instagram 25, Threads 50 posts/day). Not connected → NOT_CONNECTED with a connectUrl. Free.
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": {
"videoId": "<videoId>",
"platform": "<platform>"
},
"name": "autoshort_publish_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| retry | No | Facebook/Instagram/Threads only: publish again after a FAILED attempt (nothing was posted). | |
| title | No | YouTube title (cleaned and cut to 60 characters on a word). Defaults to the video title. | |
| caption | No | Facebook/Instagram/Threads caption (Threads ≤500, Instagram ≤2,200 characters and 30 hashtags). Defaults to the video title and topic hashtags. | |
| privacy | No | YouTube visibility (default public). | |
| videoId | Yes | ||
| platform | Yes | ||
| description | No | YouTube description. #Shorts is added if missing. | |
| madeForKids | No | YouTube COPPA declaration. Omit to use the series answer, or the niche default (false except KIDS_SONGS). | |
| userConsent | No | TikTok only: the user agreed to send this video to their TikTok drafts. | |
| addAttribution | No | YouTube only. Append "Made with AutoShort", a link to autoshort.org and #AutoShort to the description. Default false: set true ONLY if the user explicitly asked for it. |