Add music
add_musicAdds an existing project audio asset as a music track over a program window. Defaults adapt level and ducking to whether speech is present; explicit gain and ducking settings override them. The storage key must identify available media.
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": {
"storage_key": "<storage_key>",
"project_id": "<project_id>"
},
"name": "add_music"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| duck | No | ||
| loop | No | ||
| start | No | ||
| gain_db | No | ||
| purpose | No | Why this music belongs in this program/window, including the story turn or energy role it supports. | |
| offset_s | No | ||
| fade_in_s | No | ||
| fade_out_s | No | ||
| project_id | Yes | Explicit project identifier for this request. The connection's navigation pointer does not select the target. | |
| storage_key | Yes |