ftp_rollback
Restore a file to its previous state using a system-generated snapshot, undoing mutations made during a transaction.
Instructions
Undo a previous file mutation by restoring it from a system-generated snapshot. This provides safety during complex refactoring tasks.
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>"
},
"name": "ftp_rollback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transactionId | Yes | Specific ID associated with the snapshot (e.g., 'tx_12345'). Get this from ftp_list_transactions. |