ledfx_patch_playlist_items
Add, remove, move, or replace durations of scenes in LedFX playlists. Requires playlist ID and operation type.
Instructions
Patch playlist items with add/remove/move/replace_duration operations
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>",
"operation": "<operation>"
},
"name": "ledfx_patch_playlist_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playlist_id | Yes | Playlist ID to patch | |
| operation | Yes | Patch operation | |
| scene_id | No | Scene ID (required for add, optional for remove) | |
| index | No | Item index (required for move/replace_duration, optional for remove) | |
| to_index | No | Destination index for move | |
| duration_ms | No | Duration for add/replace_duration |