Edit a draft
autoshort_update_draftEdit a video draft before rendering: update scene narration, visuals, or timing, and insert, reorder, or remove scenes to finalize the script.
Instructions
Change a draft before render. Free. Every scene number refers to the draft as it is now (1-based); operations apply in the order edits, reorder, remove, insert. edits: change a scene's narration (verbatim), visual (null clears it → auto image) or seconds. insert: add scenes after scene N (0 = at the start). remove: scene numbers to drop. reorder: every current scene number in the new order. Returns the updated draft — show it to the user again.
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": {
"draftId": "<draftId>"
},
"name": "autoshort_update_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edits | No | ||
| title | No | Headline shown over the first 1.5s and used as the video title. Defaults to the first sentence. | |
| insert | No | ||
| remove | No | ||
| draftId | Yes | ||
| reorder | No | ||
| artStyle | No | Visual style; see autoshort_list_niches. Default AUTOSHORTS (cinematic photography). | |
| language | No | BCP-47 narration language ("en", "vi", …). Omit to detect it from the narration. | |
| aspectRatio | No | ||
| targetDuration | No | Requested length in seconds. Kept as requested — if the verbatim narration cannot fit it, warnings[] says so with a word count that would. |