Publish asset
publish_assetPrepare a post of one finished video to a connected YouTube channel or TikTok account, for the person to review and confirm. It posts nothing itself: clients that show panels put the video, the account and the post's settings in front of the person, and it goes out only when they press Post there (TikTok requires them to choose who can view it and to confirm its disclosures themselves). Call it only when the person asked to publish. The video must come from list_assets or a finished run's outputs in get_run, copied exactly; write a real title (on TikTok it is the caption, hashtags allowed). channelId picks the channel or TikTok account from list_connected_channels when more than one is connected; with none connected, call connect_channel first. A client without panels cannot post from here: build a pipeline that ends in a youtube-upload or tiktok-upload node instead. Needs the pipelines:write scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | YouTube tags. Ignored on TikTok. | |
| title | Yes | The title (YouTube, up to 100 characters) or the caption (TikTok). | |
| platform | Yes | Where to post. | |
| videoUrl | Yes | The video to post, from list_assets or a run output. | |
| channelId | No | A YouTube channelId or TikTok openId from list_connected_channels. Omit when only one is connected. | |
| visibility | No | YouTube visibility to suggest; the person can change it before posting. On TikTok the person chooses. | |
| description | No | YouTube description. Ignored on TikTok. |