clear_programmer
Reset the grandMA2 programmer by clearing fixture selection and active values; choose all, selection, active, or sequential clear modes to manage the current working state.
Instructions
Clear the programmer to reset fixture selection and active values.
The programmer holds the current working state — selected fixtures
and any values you've applied. Clearing it gives you a clean slate.
Modes:
- "all": Empty the entire programmer (selection + values)
- "selection": Deselect all fixtures but keep active values
- "active": Deactivate values but keep fixture selection
- "clear": Sequential clear (selection → active → all on repeated calls)
Args:
mode: Clear mode — "all" (default), "selection", "active", or "clear"
Returns:
str: JSON with command_sent and raw_response.
Examples:
- Full reset: mode="all"
- Just deselect fixtures: mode="selection"
- Just drop active values: mode="active"
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": "clear_programmer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |