Plan a song
plan_songHow Daydream would make a song, without making it or counting it: the description the model will hear, which of the five parts play, the length, tempo, key and loop, and the chord chart. Show it to the person, change the request if it isn't what they meant, then call create_song with the plan_id to make exactly this plan (it's kept an hour).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "plan_song"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bpm | No | Tempo (40 to 200 BPM; for slower feels under 40, double the BPM with a half-time feel); left out, it's chosen from the prompt. | |
| key | No | A note with sharps and major or minor, like "C major" or "F# minor". | |
| loop | No | A seamless loop, for a game level or a background. | |
| chords | No | A chord chart the parts follow. Bars, one chord a bar: "| Am | F | C | G |" (or "Am F C G"), "%" to repeat a bar, "x2" at the end to play it twice. Or the progression in words: "a 12-bar blues in A", "a ii-V-I in C minor". It goes round to fill the song's length. Chords are kept as written; the parts play each in its nearest plain form (G7b9 as G7, G13 as G7), and the answer says which. A progression in the prompt's words is read too. | |
| prompt | No | The music in words, e.g. "a calm village theme with flute and harp", or a sound with no music in it for a sound effect, e.g. "footsteps on gravel". Optional with a picture. | |
| picture | No | A picture to score: the music is made for what it shows (place, light, mood, pace). With no prompt, the picture alone is the brief; with one, the words win where they say something. ChatGPT hands an attached image this way; any other agent sends { download_url }. | |
| duration | No | Length in seconds (default 120). For a length in bars, send bpm too, and bars × 240 ÷ bpm here: 8 bars at 100 BPM is 19.2. | |
| reference | No | A reference track: the song takes its tempo and key (measured from the audio) unless the request or its words name their own. It doesn't copy the track's sound, rhythm or melody, so send a prompt with it: the track gives the tempo and key, the words say what the music is. |