edit
Create a video version from a DSL script for vidx. With parent_version, append to parent for incremental fixes unless it defines a base; returns version ID, segment count, duration, warnings.
Instructions
Create a version from an edit script (see server instructions for the DSL). With parent_version,
the script is appended to the parent's script (incremental fix) unless it has its own base line.
Returns version id, segment count, output duration and warnings.
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": {
"video_id": "<video_id>",
"dsl": "<dsl>"
},
"name": "edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dsl | Yes | ||
| video_id | Yes | ||
| parent_version | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |