Restore a version
restore_automation_versionMake an earlier version current again, as a new version that copies it. The history keeps every version. When the rule is on, it acts only with the human's agreement: called without confirm it returns confirmation_required and a summary of what it would do, and called with confirm: true it acts.
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": {
"id": "<id>",
"version": "<version>",
"expectedVersion": "<expectedVersion>"
},
"name": "restore_automation_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The rule's id. | |
| confirm | No | ||
| version | Yes | ||
| expectedVersion | Yes | The rule version your change starts from (get_automation's version). A stale one is refused with version_conflict and the current version. |