get_notes
Retrieve the notes of a MIDI clip, sorted by start time and pitch, so you can inspect or prepare them before editing or setting notes.
Instructions
Get the notes of a MIDI clip, sorted by start, then pitch. Call this before set_notes.
Note start is in beats from the clip start; length is in beats.
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": {
"clip": "<clip>"
},
"name": "get_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | Yes | A MIDI clip handle or path, for example tracks/"Bass"/clips/0 (clips in timeline order). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | Yes | ||
| notes | Yes |