cw_read_midi_file
Parse a Standard MIDI File to inspect track names, channels, note counts, and CC7/CC10 pan positions before importing or to read back a SONAR export.
Instructions
Parse a Standard MIDI File: per-track name, channels, note count, and any CC7/CC10 with the pan position spelled out. Use it to check what a file carries before importing it, or to read back a file SONAR exported.
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": {
"path": "<path>"
},
"name": "cw_read_midi_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a .mid file | |
| includeNotes | No | Include the full note list (can be long) |