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

InputTypeRequiredNotes
slideshowIdstringyesA tailored slideshow id from create_tailored_slideshow or list_slideshows. up to 200 characters
versionintegeryesThe 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

FieldTypeNotes
slideshowIdstringThe tailored slideshow id.
titlestringIts title.
versionnumberThe 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.
linkstringOpens the slideshow in Wavegrain. Give the user this link.
sheetUrlstring | nullOne image with every slide, numbered; null until ready.
slidesobject[]Each finished slide image; empty until ready.
problemsobject[]Layout problems found when it was made; fix them with edit_tailored_slideshow.
errorstring | nullWhy it failed; null unless status is failed.
styleIdstringThe style it uses.
styleVersionnumberThe style version it was made with.
creditsChargednumberCredits this call spent.
notestringWhat to do next.
summarystringOne line for the user: the title, the slide count and the state.
hooksobject | nullOther 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.

Something wrong or missing? Write to support@wavegrain.com.