Prepare a TikTok post
prepare_tiktok_postPost one of the brand's finished videos to TikTok. TikTok requires the person posting to choose who can view the video, whether others may comment, Duet and Stitch, to declare promotional or branded content and to agree to TikTok's terms, so this opens Rawa's TikTok panel in the conversation where the user does all of that and submits. You cannot publish to TikTok yourself: there is no tool for it, submit_publication refuses TikTok, and you must not ask the user for those settings in chat or describe them as chosen. Pass the video's creativeId (TikTok takes one video, never an image), connectionId from list_integrations or nothing when the brand has a single TikTok account, a caption of up to 2200 characters that the user can still edit in the panel (write_caption can draft one in the brand's voice; one is needed to post), and scheduledAt to schedule it: an ISO 8601 timestamp with its offset, in the future. Without scheduledAt it goes out as soon as the user submits. Confirm the video, caption and time with the user before calling. When the panel says the post was submitted you are told its publicationId: use list_publications for its status. Rawa's TikTok app sends the video to the creator's TikTok inbox, where they finish posting it in the TikTok app (status awaiting_user_action until then). Where no panel appears, the post cannot be finished in this chat: give the user openInRawaUrl, which opens the video in Rawa, and tell them to publish it from there with Publish. Free. Needs an admin to allow publishing over MCP (see get_workspace). The prepared post lasts an hour; call again for a new one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brandId | No | A brand id from get_workspace or list_brands, or the brand's name. Omit it when the organization has a single brand. | |
| caption | No | The caption to start from; the user can edit it in the panel. | |
| creativeId | Yes | A finished video of the brand, from list_creatives, search_library or get_job. | |
| scheduledAt | No | When to publish, as an ISO 8601 timestamp with its offset, in the future. Omit to post once the user submits. | |
| connectionId | No | The TikTok account, from list_integrations. Omit it when the brand has a single TikTok account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | Yes | ||
| account | Yes | ||
| caption | Yes | ||
| expiresAt | Yes | ||
| creativeId | Yes | ||
| scheduledAt | No | ||
| openInRawaUrl | Yes |