Schedule publish
schedule_publishSchedule a rendered video for the selected channel or connected accounts (TikTok, YouTube, Instagram, X, Facebook Pages, webhook). Pass scheduledTime to publish at an exact date and time; omit it to use the next open queue slot. 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": "schedule_publish"
}
}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. | |
| scheduledTime | No | Exact publish time. ISO 8601 with Z or an offset (e.g. 2026-10-04T18:00:00+02:00), ISO 8601 without offset (read in the account timezone, like the queue page), or unix seconds. Must be in the future and within 365 days. Omit to use the next open queue slot of the channel. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| method | Yes | ||
| status | Yes | ||
| endpoint | Yes | ||
| retryAfterSeconds | No |