Add To Timeline
add_to_timelineInsert a project item at a specified timeline position, optionally rippling sync-locked or target tracks and razor-splitting a spanning clip to preserve its tail when possible.
Instructions
Insert a project item at a timeline position. Experimental: if a target clip spans that point, QE razors it before insertion to attempt to preserve its tail; both target and sync-locked track changes are read back. A host may still displace a tail, in which case the edit is reported as committed_unverified. Pass scope 'target_tracks' to ripple only the named pair (this will desync other tracks).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Which tracks shift: 'sync_locked' (default) matches Premiere's insert; 'target_tracks' ripples only the named pair and WILL desync other tracks. | |
| item_id | Yes | Node ID or name of the project item to add | |
| track_index | No | Video track index (0-based, default: 0) | |
| start_seconds | No | Start time in seconds on the timeline (default: 0) | |
| audio_track_index | No | Audio track index for the audio portion (default: 0) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| data | No | Tool-specific result data when ok is true; on failure, diagnostic detail when the tool provides it. | |
| tool | Yes | The registered MCP tool name. | |
| error | No | Failure detail when ok is false. |