Publish now
publish_nowPublish a rendered video immediately using the selected channel or connected accounts (TikTok, YouTube, Instagram, X, Facebook Pages, webhook). Use list_social_accounts first to find ids and handles.
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": {
"videoUrl": "<videoUrl>"
},
"name": "publish_now"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Post the video to a connected X (Twitter) account. Pick the destination from `list_social_accounts` (platform "x"): pass its id, or its username. Video must be 2:20 or shorter (10 min on X Premium), max 512 MB. Skip accounts with tokenInvalid: true and ask the user to reconnect them in Revid settings. | |
| tiktok | No | Post to a connected TikTok account: { id or username, title?, privacy_level? }. | |
| webhook | No | Send the video to a configured webhook: { id or username, title?, description? }. | |
| youtube | No | Post to a connected YouTube channel: { id or username, title?, description? }. | |
| No | Post the video to a connected Facebook Page (Pages only, not personal profiles). Pick the destination from `list_social_accounts` (platform "facebook"): pass its id, or its name. Skip Pages with tokenInvalid: true and ask the user to reconnect them in Revid settings. | ||
| videoUrl | Yes | Public URL for the video to publish. | |
| channelId | No | Saved Revid channel id (channels[].id from `list_social_accounts`). A channel bundles several accounts; mutually exclusive with per-platform accounts. | |
| No | Post to a connected Instagram account: { id or username, caption? }. | ||
| channelName | No | Saved Revid channel name (channels[].name from `list_social_accounts`). | |
| extraParams | No | Additional content metadata forwarded to Revid. extraParams.title and extraParams.description are the default caption/title/description for every destination; extraParams.thumbnailUrl the default cover. A default title longer than a destination's title limit (YouTube 100, webhook 100, Facebook 255 characters) is shortened for that destination, at a word boundary when possible; captions keep it whole. An explicit youtube.title, webhook.title or facebook.title over its limit is refused, never shortened. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| method | Yes | ||
| status | Yes | ||
| endpoint | Yes | ||
| retryAfterSeconds | No |