label_or_appearance
Labels or sets the appearance of grandMA2 console objects, such as groups, sequences, cues, and presets, with safety confirmation for destructive changes.
Instructions
Label or set the appearance of console objects.
SAFETY: This is a DESTRUCTIVE operation. Requires confirm_destructive=True.
Args:
action: "label" to set a name, "appearance" to set visual styling
object_type: Object type (e.g. "group", "sequence", "cue", "preset")
object_id: Object ID
name: Name to assign (required for action="label")
end: End ID for range labeling (e.g. group 1 thru 5)
preset_type: For labeling presets, the preset type (e.g. "color", "position").
When set, uses the specialized label_preset builder.
confirm_destructive: Must be True to execute (safety gate)
color: Hex color string for appearance (e.g. "FF0000")
red: Red component (0-100) for appearance
green: Green component (0-100) for appearance
blue: Blue component (0-100) for appearance
hue: Hue value for appearance
saturation: Saturation value for appearance
brightness: Brightness value for appearance
reset: Reset appearance to default
source_type: Copy appearance from this object type
source_id: Copy appearance from this object ID
Returns:
str: JSON with command_sent, raw_response, or block info.
Examples:
- Label group 3: action="label", object_type="group", object_id=3, name="Front Wash"
- Label color preset 1: action="label", object_type="preset", object_id=1,
preset_type="color", name="Red"
- Set group appearance: action="appearance", object_type="group", object_id=1,
color="FF0000"
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": {
"action": "<action>",
"object_type": "<object_type>",
"object_id": "<object_id>"
},
"name": "label_or_appearance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| hue | No | ||
| red | No | ||
| blue | No | ||
| name | No | ||
| color | No | ||
| green | No | ||
| reset | No | ||
| action | Yes | ||
| object_id | Yes | ||
| source_id | No | ||
| brightness | No | ||
| saturation | No | ||
| object_type | Yes | ||
| preset_type | No | ||
| source_type | No | ||
| confirm_destructive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |