Insert track
reaper_insert_trackInsert a new track into a REAPER session at a given index, or append it at the end. Returns the index of the inserted track.
Instructions
Insert a new track at the given index (0-based). Omit index to append at the end. Returns the new track's index.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "reaper_insert_track"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Track name | |
| index | No | 0-based position; omit to append |