Save a snapshot of a site
create_snapshotSaves a snapshot of a site's content as it is now and returns its id. The site already takes a snapshot before your first change in each 30-minute window, so call this only when your user asks to save the site, or before a large restructuring that you will make in several change sets. The site allows 10 snapshots on request in an hour; after that it refuses, and you should tell your user and carry on without one. Call list_snapshots to see the snapshots that exist. This tool changes no content and costs no credits. It does not undo anything: use rollback_change_set for that.
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": {
"siteId": "<siteId>"
},
"name": "create_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Site id from list_sites or create_site. |