Insert element
insert_elementAdds a title, generator, or Fusion composition to a timeline at a chosen timecode and track without cutting or shifting existing clips; preview with a dry run first.
Instructions
Insert a title, generator or empty Fusion composition and, for Fusion titles such as Text+, set its text and look. It is added after the last clip and then moved to its place, so no other clip is cut or pushed. Examples: {"kind":"fusion_title","name":"Text+","text":"Hello","timecode":"01:00:05:00","track":2} | {"kind":"generator","name":"Solid Color"}
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kind": "fusion_title",
"name": "Text+",
"text": "Hello",
"track": 2,
"timecode": "01:00:05:00"
},
"name": "insert_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | No | Name in the Effects Library, e.g. 'Text+', 'Lower 3rd', 'Solid Color' | |
| text | No | fusion_title: the text to show | |
| style | No | fusion_title: Text+ inputs, e.g. {Size: 0.06, Font: 'Open Sans', Center: [0.5, 0.15], Red1: 1} | |
| track | No | Video track; 0 = the first free track above the other clips | |
| dry_run | No | true: only show the plan and get a confirm_token. false: do it, together with that token. | |
| timecode | No | Where it starts; empty = at the playhead | |
| timeline | No | Handle (tl:...) of the timeline to change, from list_timelines or state_snapshot. | |
| confirm_token | No | From the dry run of exactly this call. Works once, for five minutes. |