run_macro
Execute a stored grandMA2 macro by its ID to trigger a predefined command sequence on the lighting console.
Instructions
Execute a macro by its ID number.
Macros are stored command sequences on the console. This triggers
the macro to run.
Args:
macro_id: Macro number to execute
Returns:
str: JSON with command_sent and raw_response.
Examples:
- Run macro 1: macro_id=1
- Run macro 99: macro_id=99
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": {
"macro_id": "<macro_id>"
},
"name": "run_macro"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| macro_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |