List a site's snapshots
list_snapshotsLists the 30 newest snapshots of a site, newest first, with the id, the reason, and the time of each. A snapshot is a saved state of the site's content. The reason is before_agent for a snapshot the site took before an automated change, before_restore for one taken before a restore, agent for one that a tool asked for, and manual for one that a person asked for. Call it when your user asks which snapshots exist or when one was taken. Do not call it to undo a change; use rollback_change_set. It restores nothing and costs no credits. A site whose plugin is older than 0.3.3 keeps no snapshots, and the call says so.
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": "list_snapshots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Site id from list_sites or create_site. |