resolve_replace_clip
Replace a clip at its original record position without ripple, optionally preserving linked audio via video-only mode. Supports dry-run preview and creates a recovery timeline before mutation.
Instructions
Replace at the original record position without ripple. Video-only preserves linked audio. Indices are 1-based. media_type 1 targets video; 2 targets audio. Combined replacement is rejected. source_end_frame is EXCLUSIVE; zero auto-matches source_start_frame + original duration. Source FPS must match timeline. Native source-out readbacks are reported separately. Validates bounds/locks/ambiguity and creates a recovery timeline before mutation. dry_run returns the plan without edits; new_media_id disambiguates duplicate names.
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": {
"track_index": "<track_index>",
"clip_index": "<clip_index>",
"new_clip_name": "<new_clip_name>"
},
"name": "resolve_replace_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| clip_index | Yes | ||
| media_type | No | ||
| track_index | Yes | ||
| new_media_id | No | ||
| new_clip_name | Yes | ||
| source_end_frame | No | ||
| source_start_frame | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |