Undo all LLM changes for this specific file.
revert_fileDiscard all AI changes made to a specific file, restoring it to its previous checkpoint state.
Instructions
Discard all AI changes for this specific file.
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": {
"filepath": "<filepath>"
},
"name": "revert_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |