import_fixture_layer
Imports a fixture layer XML file into the grandMA2 show patch, replacing layer data destructively. Generates layers first, then confirms to execute the import safely.
Instructions
Import a fixture layer XML file into the show patch (DESTRUCTIVE).
Navigates to EditSetup/Layers context, imports the XML layer file,
then returns to root context. Use generate_fixture_layer_xml to
create the XML file before calling this tool.
The file must exist in the MA2 importexport directory:
C:\ProgramData\MA Lighting Technologies\grandma\gma2_V_3.9.60\importexport\
Args:
filename: Layer XML filename without extension or path
layer_index: Target layer slot. None = MA2 picks next free slot
confirm_destructive: Must be True to execute
Returns:
str: JSON with steps list (command + response per step), filename, risk_tier
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": {
"filename": "<filename>"
},
"name": "import_fixture_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| layer_index | No | ||
| confirm_destructive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |