create_presets_for_patch
Generates capability-aware preset commands from a grandMA2 patch, storing applicable preset entries on capable fixtures and flagging value-dependent presets for manual completion.
Instructions
Create presets natively from the patch, capability-aware (DESTRUCTIVE).
Combines the preset-library architect plan (architect_preset_library)
with the fixture-type model: each preset entry is only applied to
fixtures whose type actually has the required capability (color presets
to color-mixing fixtures, position to movers, etc.).
Entries with concrete values (the cardinal color presets) are stored
directly: selection of capable fixtures -> attribute values -> Store
Preset. Entries declared without concrete values (position, gobo, MIB —
which need operator-set reference values) are returned as ``declared``
for manual completion, matching the declared-vs-stored calibration.
Args:
strategy: full-coverage | minimal-viable | color-first.
dry_run: When True (default), return the command plan without executing.
confirm_destructive: Must be True to execute with dry_run=False.
Returns:
str: JSON with stored_plan (per-preset command lists), declared_only,
skipped (no capable fixtures), executed_presets, blocked, risk_tier.
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": "create_presets_for_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| strategy | No | full-coverage | |
| confirm_destructive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |