Convert MIDI to ABC or MusicXML 4.0
midi_to_notationConvert a base64-encoded MIDI file into readable ABC notation and/or uncompressed MusicXML 4.0 score-partwise XML with grand-staff splitting and automatic key spelling.
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": {
"midi_base64": "<midi_base64>"
},
"name": "midi_to_notation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional title override for the exported score. | |
| format | No | Target sheet-music notation format. | abc |
| midi_base64 | Yes | Base64-encoded standard MIDI file (.mid / .midi, max 256 KB decoded). | |
| auto_detect_key | No | Estimate a key signature when the MIDI header omits one. |