musictomidi_download_result
Downloads completed MusicToMIDI job result files to a local folder and returns saved paths, including MIDI, raw MIDI, stems, and original audio. It avoids overwrites with numbered suffixes.
Instructions
Saves the result files of a done MusicToMIDI job in a local folder, where musictomidi_get_job only gives their links, and returns the paths written: .mid (MIDI), .raw.mid (MIDI before filtering and quantization), .stem. (isolated voice or drums), .original. (the audio sent; with a test key, a sample and not the file sent), and each stem as .flac and/or .mp3. Never overwrites an existing file: a number is added to the name, as in song (1).mid.
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": {
"job_id": "<job_id>",
"output_dir": "<output_dir>"
},
"name": "musictomidi_download_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | jobId of a job whose status is done. | |
| output_dir | Yes | Absolute path of the local folder to write the files to. Created if missing. |