rollback_restore
Restore a named rollback point to overwrite repository files, but only when the confirm parameter contains the authorized restore name to prevent accidental changes.
Instructions
点名恢复某个回滚点(会覆盖仓库内对应文件)。必须传 confirm="用户已授权恢复 <回滚点名>",否则拒绝。
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": {
"name": "<name>"
},
"name": "rollback_restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||