ledfx_upsert_playlist
Safely create or update a LedFX playlist by specifying its ID. Set name, scenes, playback mode, and timing; existing playlists are updated in place.
Instructions
Create or replace a playlist safely. If it exists, updates in place.
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": {
"playlist_id": "<playlist_id>"
},
"name": "ledfx_upsert_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playlist_id | Yes | Playlist ID | |
| name | No | Display name (required when creating a new playlist) | |
| scene_ids | No | Scene IDs for playlist items | |
| mode | No | Playback mode | |
| default_duration_ms | No | Default item duration in milliseconds | |
| timing | No | Optional timing object | |
| tags | No | Optional playlist tags | |
| image | No | Optional playlist image/icon |