Revert a file
revert_fileRestore a whole data file to its saved state in one undoable step, including the displayed zone file or a named unsaved file from get_state.
Instructions
Puts a whole data file back as saved (one undo step, so undo brings the edits back): the zone file shown, or the file named (a path from get_state's unsaved files: .gca, carstatus.car, .ops, .efl).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "revert_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No |