write_midi_file
Export notes to a .mid file for drag-and-drop into Ableton Live without Live running; avoid overwriting existing files by choosing a new name.
Instructions
Save notes as a .mid file in ~/Music/ableton-mcp/midi/ without using Live (works even when Live is closed). The user can drag the file into Live. The file holds notes only, so tell the user to drop it on a track that has an instrument (e.g. a Drum Rack kit) or it plays silent. Times are in beats. name: letters, digits, space, '_' or '-'. An existing file with that name is never overwritten: pick a new name.
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": {
"name": "<name>",
"notes": "<notes>"
},
"name": "write_midi_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bpm | No | ||
| name | Yes | ||
| notes | Yes |