publish_video
Sends one finished video to selected platforms such as YouTube, TikTok, and Instagram, with a preview-only dry run by default to confirm where it will go before posting.
Instructions
Publish one finished video (a path from list_videos) to YouTube, TikTok, Instagram and the other platforms, through the user's own Upload-Post account, or directly to their own YouTube channel (youtube_direct). By default it only previews: dry_run is true, nothing is sent and the reply shows what would go where. Set dry_run to false only when the user asked to post: the video and its title then leave this PC, and a video is never sent twice to the same platform. Keys and the YouTube sign-in are set in the ShortsFlow app's Settings card.
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": {
"path": "<path>",
"platforms": "<platforms>"
},
"name": "publish_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path of a finished video inside the ShortsFlow sessions folder, from list_videos. Required. | |
| tags | No | Tags separated by commas. Empty uses the video's own tags. | |
| title | No | Title on the platform. Empty uses the video's own title. | |
| dry_run | No | True (the default) only previews and sends nothing. False really publishes. | |
| privacy | No | For a youtube_direct upload: private, unlisted or public. | private |
| platforms | Yes | Where to publish. youtube_direct goes straight to the user's own channel; the others go through Upload-Post. Required. | |
| description | No | Description text. Empty uses the video's own description. |