project_restore_version
Restore a specific past deploy version to be the live production version. Restoring by number leaves the database schema and data unchanged. project_deploys shows which versions are available: an entry with rollback_available: false is still in the history but its build is no longer restorable (the call is refused and nothing changes — deploying that version's source again brings it back). The currently live version is a no-op. Free can restore a retained deploy from the last 24 hours or roll back to the previous working version. Paid plans can restore any retained version.
Example:
{ "project_id": "my-saas", "version": 11 }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": {
"project_id": "<project_id>",
"version": "<version>"
},
"name": "project_restore_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | Version number to restore (from project_deploys) | |
| project_id | Yes | Project ID (UUID), subdomain, or slug — resolved server-side, no UUID lookup needed. 'default' also works when the account has exactly one project; multi-project accounts must name one (the error lists them). |