Restore Commit
restore_commitRestore a document to a specific commit version using its commit ID. Optionally preview changes with dry_run before applying to disk.
Instructions
Restaure un document depuis son commit ID dans le CAS. Si dry_run=True, prévisualise sans modifier le disque.
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": {
"commit_id": "<commit_id>"
},
"name": "restore_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| commit_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |