Undo Saved Edit
editor_edit_undoRestore one saved editor action at the expected current revision. Requires the action ID from edit history and an idempotency key. Existing project data is changed.
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": {
"projectId": "<projectId>",
"actionId": "<actionId>",
"expectedRevision": "<expectedRevision>",
"workspaceId": "<workspaceId>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "editor_edit_undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actionId | Yes | ||
| projectId | Yes | UUID string. | |
| workspaceId | Yes | ||
| idempotencyKey | Yes | ||
| expectedRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||