Add music tracks
music_tracks_create[writes flayr data · write scope] Add 1–50 uploaded audio tracks to a brand library atomically. First use upload_media for each file, POST its raw bytes to uploadUrl with Content-Type audio/mpeg (or the actual audio type), then pass the returned storageId and track metadata here. Include source, licenseCode and attribution; madeOn records the generation date for Suno music. No music generation or Ember charge. All tracks save or none do. Use stable externalIds from the manifest; list and compare them before retrying an uncertain result. Duplicates reject the whole batch.
(Wraps POST /api/v2/music/tracks.)
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": {
"tracks": "<tracks>"
},
"name": "music_tracks_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tracks | Yes | ||
| brandId | No | Brand id or personal. Omit to use the key’s bound brand, otherwise the owner’s active brand. |