Add library music
add_library_musicPROJECT-SCOPED: this call acts only on the explicit project_id and returns the project identity with its result. Place the CC0 library track the USER picked, by exact slug (from list_music_library). Agents never choose music: offer 2-4 tracks with ask_user and place the one they pick (a mood or 'some music' is not a pick). The track is copied into this project once, registered with its licence, and placed like add_music — OUTPUT seconds, whole program by default, ducked under speech, looped to fill. Under a voice keep the bed around -18 to -22 dB (the default -18 dB is used when gain_db is omitted); with no speech it becomes the lead at -4 dB.
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 | MCP: the pick token ask_user returned plus the user's own words. | |
| fade_out_s | No | ||
| project_id | Yes | Required immutable scope for this call. Copy the id from list_projects/open_project/project_state; the active-project pointer is never used to guess. |