send_raw_command
Sends a raw MA command directly to a grandMA2 console and returns its response, while risk-tier checks and destructive-command confirmation protect live lighting operations.
Instructions
Send a raw MA command to grandMA2 and return the console response.
WARNING: This is a low-level tool that sends commands directly to a LIVE
lighting console. Prefer the higher-level tools (create_fixture_group,
execute_sequence) whenever possible.
SAFETY: Commands are classified by risk tier before sending:
- SAFE_READ (list, info, cd): Always allowed
- SAFE_WRITE (at, go, clear, blackout): Allowed in standard and admin mode
- DESTRUCTIVE (delete, store, assign, shutdown): Blocked unless
confirm_destructive=True. Set GMA_SAFETY_LEVEL=admin to skip checks.
Args:
command: Raw MA command to send
confirm_destructive: Must be True to send destructive commands
(delete, store, assign, shutdown, newshow, etc.)
Returns:
str: JSON with command_sent, risk_tier, raw_response, and any
safety block information.
Examples:
- go+ executor 1.1
- list cue
- store sequence 1 cue 1 (requires confirm_destructive=True)
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": {
"command": "<command>"
},
"name": "send_raw_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| confirm_destructive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |