resolve_object_ref
Convert pool object names or IDs into correctly quoted grandMA2 command tokens via an in-memory lookup, eliminating telnet calls.
Instructions
Resolve a pool object name or ID to a correctly-quoted MA2 command token.
Uses in-memory index only — zero telnet cost.
match_mode="literal" (default): quotes names with special chars; * is literal.
match_mode="wildcard": * is active operator — may match multiple objects.
Args:
object_type: Group | Sequence | Preset | Macro | Effect | Timecode |
Timer | View | Layout | World | Filter | Page |
Executor | Fixture | Channel | Cue
name: Display name (use name OR id, not both)
id: Numeric ID (0 = not provided)
match_mode: "literal" (default) or "wildcard"
preset_type: Required for Preset objects (1=Dimmer … 9=Video)
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>"
},
"name": "resolve_object_ref"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| match_mode | No | literal | |
| object_type | Yes | ||
| preset_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |