save_file_version
Save a CMS file version snapshot for rollback. Stores specified content and optional public status to restore previous storefront page content.
Instructions
Save a version snapshot of a CMS file for rollback
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": {
"cms_file_id": "<cms_file_id>",
"content": "<content>"
},
"name": "save_file_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Content to save | |
| is_public | No | Mark as public version | |
| cms_file_id | Yes | CMS file ID |