draft_apply
Commit the exact staged video edit as a new revision and reject stale drafts, preventing overwrites of newer work.
Instructions
Commit the exact staged edit as one new revision. Refuses stale drafts so it cannot overwrite newer work.
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": {
"projectDir": "<projectDir>",
"draftId": "<draftId>",
"expectedRevision": "<expectedRevision>"
},
"name": "draft_apply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | ||
| projectDir | Yes | Absolute path of the local video project directory | |
| expectedRevision | Yes | Revision returned by project_inspect. Prevents overwriting newer edits. |