List versions
list_versionsList a site's published versions newest-first with their content hash, content kind, entry path, size, file count, and timestamp. The version the site serves now is marked live: true. On a website, the version waiting as a preview is marked waiting_preview: true; it has never been live, so rollback_site refuses it and set_live_version puts it live. The version to undo to is the first one below live: true that is not waiting_preview.
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": {
"site_id": "<site_id>"
},
"name": "list_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The id of the site whose versions to list | |
| workspace_id | No | Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for). |