Add library music
add_library_musicCopies and places an explicitly user-selected library track into the project with its license record. A valid selection token and the user's choice identify the track. Placement uses program time and supports looping, gain and voice ducking.
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": {
"slug": "<slug>",
"project_id": "<project_id>"
},
"name": "add_library_music"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| duck | No | Omit to duck under speech only; with no speech the track plays undiminished as the lead. | |
| loop | No | ||
| slug | Yes | ||
| start | No | ||
| gain_db | No | ||
| purpose | No | ||
| offset_s | No | Seconds into the track to start. Omit to start where the track's body begins (skipping a quiet intro); 0 plays it from the very start. | |
| fade_in_s | No | ||
| user_pick | No | The account-bound music-selection token together with the user's own selection words. | |
| fade_out_s | No | ||
| project_id | Yes | Explicit project identifier for this request. The connection's navigation pointer does not select the target. |