clash.config.rollback
Rollback a Clash config transaction by supplying its ID and confirming to restore the original configuration file from snapshot and reload Mihomo.
Instructions
Rollback a previously applied transaction. Restores the original config file from snapshot and attempts to reload Mihomo. Light confirmation required (confirmed=true).
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": {
"transactionId": "<transactionId>",
"confirmed": "<confirmed>"
},
"name": "clash.config.rollback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirmed | Yes | Must be true to proceed | |
| transactionId | Yes | Transaction ID from apply_transaction |