Undo a change to a video edit
postkey_undo_editPostkey: Undoes one change to a video edit, yours or the person's, by its change id from postkey_get_edit or postkey_edit_video. The undo is itself a change that can be undone (undo the undo to bring it back). A change that was already undone is refused, and the first auto-edit line cannot be undone as a whole: restore its sentences with postkey_edit_video instead.
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": {
"edit_id": "<edit_id>",
"change_id": "<change_id>"
},
"name": "postkey_undo_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edit_id | Yes | The edit id. | |
| change_id | Yes | The change id to undo, from the edit's changes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | false: refused (isError; code, message, guide_topic, url); no change. | |
| edit | No | The updated edit as a script (as postkey_get_edit). | |
| change | No | The undo, itself a change that can be undone: change_id, version, who, by, summary, undone, at. | |
| seconds | No | The finished length in seconds. | |
| version | No | The edit's version after the undo. | |
| open_url | No | Where the person sees it. |