play_midi_file
Play a MIDI file through a selected output device. Send it to your synthesizer or sound module for real-time playback.
Instructions
Play a MIDI file through an output device.
Sends the MIDI file to your synthesizer/sound module for real-time playback.
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_file": "<midi_file>"
},
"name": "play_midi_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| midi_file | Yes | Path to MIDI file | |
| device_index | No | Output device index |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||