revert_file
Discard unsaved changes and restore the active file to its last saved state, resolving conflicts or unwanted edits.
Instructions
Revert the active file to its last saved state, discarding unsaved changes.
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 |
|---|---|---|---|
No arguments | |||