playlist-set
Create a playlist (no playlistId; name required) or change one, and add, import or change its sounds in the same call. importPaths adds files named after themselves; find paths with file-list. Removing: playlist-delete. Requires bridge module 8.19.0+.
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": "playlist-set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fade | No | Crossfade, ms | |
| mode | No | Playback mode | |
| name | No | ||
| channel | No | Volume channel | |
| folderId | No | Folder ID (from folder-list); null = root | |
| addSounds | No | Sounds to add: [{name, path, volume?, repeat?}] | |
| playlistId | No | Playlist ID (from playlist-list); omit to create | |
| description | No | ||
| importPaths | No | 1–100 audio file paths to add | |
| updateSounds | No | Sound changes: [{soundId, name?, path?, volume?, repeat?}] |