midi_insert_cc
Insert a single MIDI CC event into a specific MIDI item by providing track index, item index, channel, controller number, value, and position.
Instructions
Insert single CC event. For whole curves use the ccs array of rewrite_cc or compose_arrangement.
Args: track_index: 0-based track index. item_index: MIDI item index. channel: 0-15. cc_number: 0-127. cc_value: 0-127. position: Seconds.
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>",
"item_index": "<item_index>",
"channel": "<channel>",
"cc_number": "<cc_number>",
"cc_value": "<cc_value>",
"position": "<position>"
},
"name": "midi_insert_cc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | ||
| cc_value | Yes | ||
| position | Yes | ||
| cc_number | Yes | ||
| item_index | Yes | ||
| track_index | Yes |