Drop the last version of the working copy
patchwork_undoDrops the last working-copy version and restores the previous one; the dropped version's files are deleted, so there is no redo.
Instructions
Drop the last version of the working copy and go back to the one before. Its files are deleted: there is no redo. One call drops one version; call it again to go further back. Fails on v000, the opened file. The source file and the files written by patchwork_save are not touched.
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": "patchwork_undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||