import_midi
Imports a .mid file into a project as one track per instrument with General MIDI sounds, drums on channel 10, and optional tempo and time-signature adoption.
Instructions
Import a .mid file: one track per instrument (channel 10 = drums), built-in sounds chosen from the General MIDI program. adopt_tempo=true takes its BPM and time signature.
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": "import_midi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bar | No | ||
| path | Yes | ||
| project | No | ||
| adopt_tempo | No |