restore_post_version
Restore an earlier post version, saving the current text to history first; it returns to its original variant if present, otherwise the main post.
Instructions
Put an old version back (into its variant if it still exists, else the main post). The current text is saved to history first.
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>",
"version": "<version>"
},
"name": "restore_post_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | Session: 'Project/folder', an absolute path or its id (from get_session). Old paths still work. | |
| version | Yes | Version id from the history list. | |
| 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). |