Upload a MIDI file
tempolor_upload_midiUpload a MIDI file (audio/midi or audio/x-midi, under 5 MB) to a TemPolor account, to build songs on: returns midiRenderVO with midiItemId (pass it to tempolor_create_song, which then runs on that account), name and midiUrl, ready at once. A MIDI file cannot be combined with a voice in one song. Uploaded files are listed by tempolor_list_midi. POST /music/midi.
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>"
},
"name": "tempolor_upload_midi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A public https URL of the MIDI file. | |
| name | Yes | A name for the MIDI file (.mid is added when missing). | |
| user_id | No | The TemPolor account (user_id from tempolor_list_accounts) to upload to. Required when you have several TemPolor accounts; with one it may be left out. | |
| mimeType | No | The file's type. Required with contentBase64. With url the default is the url's answer, else its file extension. | |
| contentBase64 | No | The MIDI file's content, base64-encoded (instead of url; small files). |