Use a Library song
song_from_libraryFree. Makes a Music Video song from an audio file in your web Library (a video isn't accepted). rights_confirmed: true only when the user has told you they own this song or have permission to use it. It does not read the song: call song_analyze next. Captions on a song are always whole lines (never word sync).
Args: library_id: an audio item from library_list. rights_confirmed: must be true (see above).
Returns: {ok, song_id, size}
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": {
"library_id": "<library_id>",
"rights_confirmed": "<rights_confirmed>"
},
"name": "song_from_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| library_id | Yes | ||
| rights_confirmed | Yes |