get_midi_note_selection
Retrieve selected MIDI note IDs and properties from a specific Ableton Live Session or Arrangement clip without changing focus, plus a token for guarded property updates.
Instructions
Read stable native note selection for one exact current detail Session/Arrangement MIDI clip without moving focus or selecting notes. Returns selected IDs/properties and a token for optional set_midi_note_properties guarding. Empty, unavailable and not-detail-clip are distinct. Up to 4096 selected notes, no truncation; all profile.
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": {
"trackId": "<trackId>",
"clipId": "<clipId>"
},
"name": "get_midi_note_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clipId | Yes | list_clips Session ID or supported list_arrangement_clips ID. | |
| trackId | Yes | ID from list_tracks. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||