restore_revision
Restore a historical or candidate project revision as the new head while preserving all previous revisions, with current-head concurrency protection.
Instructions
Restore a historical or candidate revision as a new head; preserve all previous revisions.
revision is the current head for concurrency protection; restore is the revision to copy.
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>",
"revision": "<revision>",
"restore": "<restore>"
},
"name": "restore_revision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| restore | Yes | ||
| revision | Yes | ||
| project_id | Yes |