upload_audio
Free. Step 1 of adding the user's own audio file to their library: returns a one-time upload URL (valid 10 minutes). PUT the file there, then call save_upload. Only upload audio the user owns or has rights to.
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": {
"contentType": "<contentType>",
"size": "<size>"
},
"name": "upload_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | Exact file size in bytes (max 50 MB). The upload is rejected if the size differs. | |
| contentType | Yes | MIME type, e.g. audio/mpeg, audio/wav, audio/mp4, audio/flac, audio/ogg. |