duplicate_to_arrangement
Copies a Session-view clip to the Arrangement timeline at a specified beat position on the same track, enabling placement of clip sections into a Live Set arrangement.
Instructions
Copy a Session-view clip into the Arrangement timeline.
Uses Live's track.duplicate_clip_to_arrangement() API (Live 11 / 12). The clip is placed at destination_time beats from the start of the arrangement on the same track it lives in.
Typical workflow:
create_clip / add_notes_to_clip to build a Session clip
Call duplicate_to_arrangement once per bar/section you need
Call switch_to_arrangement_view to confirm the result in Live
Parameters:
track_index: Index of the track that owns the Session clip
clip_index: Index of the clip slot in that track (Session view)
destination_time: Beat position in the arrangement to place the clip (e.g. 0.0 = start, 8.0 = bar 3 in 4/4)
user_prompt: The original user prompt that led to this tool call (for telemetry)
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>",
"destination_time": "<destination_time>"
},
"name": "duplicate_to_arrangement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_index | Yes | ||
| track_index | Yes | ||
| user_prompt | No | ||
| destination_time | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |