restore_tailored_version
Restore a tailored version with Wavegrain's MCP server: the restore_tailored_version tool needs the write permission. Inputs, outputs and an example call.
Restore a tailored version. Permission: write. Changes or removes saved work.
Make an earlier version of a tailored slideshow its newest version, made again; every version stays, so restoring another undoes it. Withdraws approval. Free.
Inputs
| Input | Type | Required | Notes |
|---|---|---|---|
slideshowId | string | yes | A tailored slideshow id from create_tailored_slideshow or list_slideshows. up to 200 characters |
version | integer | yes | The version to bring back, from list_tailored_versions. 1 to 9007199254740991 |
The fields inside an object or a list are in the JSON Schema at /developers/mcp-tools.json.
Returns
| Field | Type | Notes |
|---|---|---|
slideshowId | string | The tailored slideshow id. |
title | string | Its title. |
version | number | The version this answer is about; each change makes a new one. |
status | "being_made" | "ready" | "failed" | being_made (call get_tailored_slideshow later), ready or failed. |
link | string | Opens the slideshow in Wavegrain. Give the user this link. |
sheetUrl | string | null | One image with every slide, numbered; null until ready. |
slides | object[] | Each finished slide image; empty until ready. |
problems | object[] | Layout problems found when it was made; fix them with edit_tailored_slideshow. |
error | string | null | Why it failed; null unless status is failed. |
styleId | string | The style it uses. |
styleVersion | number | The style version it was made with. |
creditsCharged | number | Credits this call spent. |
note | string | What to do next. |
summary | string | One line for the user: the title, the slide count and the state. |
hooks | object | null | Other hooks for slide 1, written with the words. Switch with edit_tailored_slideshow {op: "set_hook", hookId}; free. |
Example call
Send it to POST https://wavegrain.com/api/mcp with an access key that has the write permission; Authentication shows how to make one.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "restore_tailored_version",
"arguments": {
"slideshowId": "<slideshowId>",
"version": 1
}
}
}
The call shows only the required inputs, with placeholder values: put your own in.
Related tools
unpin_style: Unpin a style from a brandcreate_upload: Upload an imageedit_tailored_slideshow: Edit a tailored slideshowupdate_caption: Change a post captioncancel_queued_post: Cancel a queued postcreate_account_group: Create an account group- All 79 tools
Something wrong or missing? Write to support@wavegrain.com.