Compare two versions of a site
compare_versionsLists the files added, removed and modified between two versions of a site. With no arguments beyond the site it compares the live version with the one before it.
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": "compare_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | The newer version_id. Defaults to the live version. | |
| from | No | The older version_id. Defaults to the version before `to`. | |
| site_id | Yes | The site_id returned by deploy_site, or listed by list_sites. | |
| manage_token | No | The manage_token returned by deploy_site for this site. Needed while the site is temporary; not needed for a site that belongs to the signed-in account. |