revert_buffer
Restore the current working buffer to a previous snapshot. Specify the snapshot index, or use -1 to revert to the most recent.
Instructions
Restore the working buffer from a snapshot (default the most recent).
Args: index: Snapshot index (see list_snapshots); -1 = latest.
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_buffer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |