read_clip_notation
Reads a MIDI clip as compact bar|beat notation with grouped chords and omitted default velocities, reducing size versus raw note JSON and enabling direct round-trip to notation writing.
Instructions
Read a MIDI clip formatted as compact bar|beat notation (grouping chords on one line, omitting default v100). Much smaller than raw get_clip_notes JSON and round-trips directly back into write_clip_notation.
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>"
},
"name": "read_clip_notation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_index | Yes | Zero-based Session-view clip-slot index on the track. | |
| track_index | Yes | Zero-based index of a regular track in the Live set. | |
| beats_per_bar | No | Beats per bar for bar|beat formatting (default 4.0). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| error | No |