read_object_label
Retrieve the label of any grandMA2 show object by specifying its type and ID. Supports macros with pool-qualified IDs and other types with plain integers.
Instructions
Read the label/name of any grandMA2 show object.
Uses the generic list command to retrieve an object's name field.
Note: For macros, object_id must be pool-qualified (e.g., "1.5" for
Macro 5 in Pool 1) since grandMA2 addresses macros as pool.id.
For most other object types, a plain integer ID is sufficient.
Args:
object_type: Object type (e.g., "group", "sequence", "macro", "page")
object_id: Object ID (int for most types, or "pool.id" string for macros)
Returns:
dict with parsed label and raw response
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": {
"object_type": "<object_type>",
"object_id": "<object_id>"
},
"name": "read_object_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_type | Yes | ||
| object_id | Yes |