assert_preset_exists
Verify a preset slot exists in the snapshot pool inventory before storing presets or cues. Uses the name index for a zero-telnet pre-flight check.
Instructions
Assert that a preset slot exists in the snapshot's pool inventory.
Pre-flight check before store_preset or store_cue. Reads from snapshot
name index — zero telnet cost.
Args:
preset_type: PresetType ID (1=Dimmer, 2=Position, 3=Gobo, 4=Color,
5=Beam, 6=Focus, 7=Control).
preset_id: The preset slot ID to check.
Returns:
str: JSON with exists bool, preset_type, preset_id, and optional warning.
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": {
"preset_type": "<preset_type>",
"preset_id": "<preset_id>"
},
"name": "assert_preset_exists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset_id | Yes | ||
| preset_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |