use_post_variant
Promote a selected post variant to the main scheduled post, moving the previous main post to history and closing the variant tab.
Instructions
Make a post variant the main post (the one that is scheduled). The old main goes to post history and the variant tab closes. Only when the user asks; the user usually does it in the app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | Session as 'Project/folder', an absolute path, or its id (from get_session). An old path still works after a rename or move. | |
| variant | Yes | Post variant id from get_session. | |
| platform | No | Which post of the session: linkedin (default, posts/linkedin.md), x (posts/x.md), youtube (the long wide video: title + description, posts/youtube.md) or vertical (one vertical video and caption for TikTok, Instagram Reels and YouTube Shorts, posts/vertical.md). |