Get a track upload link
create_track_uploadPartner accounts only. Get a single-use link to upload one audio file (MP3, WAV, FLAC) or, for films, one video (MP4, MOV), up to 2 GB, valid for 10 minutes. Send the file to it with HTTP PUT; the response is the stored track. Give the track its name, position and credits here. Request one link per file.
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": {
"articleId": "<articleId>",
"filename": "<filename>"
},
"name": "create_track_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isrc | No | ||
| name | No | Track title; defaults to the filename. | |
| index | No | 0-based position on the release. | |
| artist | No | ||
| writer | No | ||
| preview | No | Films only: this file is the trailer. | |
| composer | No | ||
| duration | No | Length in seconds, when known. | |
| filename | Yes | The file's name; its extension decides the type. | |
| producer | No | ||
| articleId | Yes | Release id from list_releases or create_release. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call did not succeed. | |
| method | No | ||
| reason | No | not_a_partner when the signed-in account has no partner account. | |
| command | No | A curl command that uploads the file; replace <file> with its path. | |
| success | No | ||
| expiresAt | No | ||
| uploadUrl | No |