ass_undo
Revert the last snapshot-backed change in an Aegisub/ASS subtitle document. Returns undo/redo depth and dirty status, indicating false when no change is available to undo.
Instructions
Undo the last snapshot-backed change of a document.
Returns {"doc_id", "undone", "undo_depth", "redo_depth", "dirty"}.
undone is False when the undo stack is empty. Line indices are
0-based.
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": "ass_undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||