musictomidi_get_job
Checks a MusicToMIDI conversion or stem-separation job's status, progress, cost, and results without downloading files; returns result links, metadata, or errors so you can monitor until completion.
Instructions
Returns the state of a MusicToMIDI job, without downloading anything: status (validating, starting, running, then done, failed or expired), progress, stage, cost, the results once done (links to the result files, bpm, key, duration…), the error of a failed or expired job, and testMode true for the sample job of a test key (no conversion: always the same sample files, never the file sent). While the status is validating, starting or running, call again (wait_seconds waits inside the call); once it is done, use the links of the results, or call musictomidi_download_result to save the files in a folder.
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>"
},
"name": "musictomidi_get_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | jobId returned by musictomidi_convert_to_midi, musictomidi_separate_stems or musictomidi_list_jobs. | |
| wait_seconds | No | Seconds to wait for the end of the job (done, failed or expired), checking every 3 seconds. 0: check once. 0 to 50. Default: 0. |