Undo edit
undo_project_editReverse this connection's saved document edit with guards that preserve other later changes. Supply a fresh newMutationId. Undo the returned edit to redo. This never reverses charges, reruns generation or changes an already exported file.
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>",
"mutationId": "<mutationId>",
"newMutationId": "<newMutationId>"
},
"name": "undo_project_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project id returned by list_projects. | |
| mutationId | Yes | ||
| newMutationId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outcome | Yes | ||
| projectId | Yes | ||
| mutationId | Yes | ||
| videoEditId | No | Present when outcome is STARTED. Poll GET /v1/projects/{projectId}/video-edits for this id to follow the background task. | |
| editableVideoId | No | ||
| projectRevision | Yes |