Read Piano Roll Notes
piano_roll_readReads all notes in a channel's Piano Roll with pitch, bar/quarter timing, duration, and velocity; call before appending or editing notes and after writes to verify results.
Instructions
Read all notes currently in a channel's Piano Roll with pitches, bar/quarter timing, duration, and velocity.
Call before appending or editing notes (to avoid collisions) and after any write to
verify results; use channel_get_step_sequence instead for Channel Rack step
sequencer grids. Runs ComposeWithLLM.pyscript in read-only export mode (5 s wait);
if ok=False, inspect the returned note (on macOS without Accessibility
permission, trigger Tools > Scripts > ComposeWithLLM once in FL).
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": "piano_roll_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | Optional 0-based global Channel Rack index; when provided, opens that channel's Piano Roll before running the edit. Omit to target whichever Piano Roll is already open. | |
| pattern | No | Optional 1-based pattern index to select before opening the Piano Roll; omit to edit the currently selected pattern. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||