create_post_variants
Creates alternative versions of a LinkedIn or X post for comparison and selection; only the chosen main post gets scheduled.
Instructions
Add other versions of the session's LinkedIn or X post (e.g. 'Story first', 'Shorter', 'Single tweet'). The app shows them as tabs above the post preview; the user compares, edits, comments and picks one with 'Use as main'. Only the main post is scheduled. Write the main post with set_post first. Edit a variant later with set_post variant=. For different openings of the same post use set_post_hooks.
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": {
"session": "<session>",
"variants": "<variants>"
},
"name": "create_post_variants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | Session: 'Project/folder', an absolute path or its id (from get_session). Old paths still work. | |
| 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). | |
| variants | Yes | The versions: [{name, text, tweets, note}]. |