undo
Revert an open Aseprite document to its previous state by matching the expected revision, preventing edits when the document version has changed.
Instructions
撤销显式文档,要求匹配修订。
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": {
"session_id": "<session_id>",
"document_id": "<document_id>",
"expected_revision": "<expected_revision>"
},
"name": "undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | No | ||
| session_id | Yes | ||
| document_id | Yes | ||
| expected_revision | Yes |