Create several tracks
create_tracksCreates several tracks at once in the game's Music folder (created with the first track) or in one of its subfolders: free, nothing is generated. Each track has a name (what it is in the game: Main theme, Forest, Boss fight), a prompt (how it sounds, sent to the model as is: English comma-separated tags such as genre, mood, instruments, tempo), a duration, loop AND the same form as generate_music, saved on the track so the site shows it before generating: genres (musical style), bpm, key_scale, time_signature, mode, instrumental/lyrics/language, vocal_level, voice, quality (a genre and a voice are also written into the prompt as words, as the site does). A name that already exists there is UPDATED with what you send (prompt, duration, loop and the form; what you omit stays): use it to fill or fix existing tracks. Returns each track with its page and the cost of generating it, plus the total per quality level: show the user the plan and the total, and after their yes generate them (generate_music with wait=false for each, then job_status).
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": {
"game_id": "<game_id>",
"tracks": "<tracks>"
},
"name": "create_tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tracks | Yes | ||
| game_id | Yes | ||
| folder_id | No | A subfolder of the Music folder (create_folder with section "music"). Omitted: the Music folder itself. |