import_objects
Imports objects from a file into the grandMA2 show, routing by destination type and requiring destructive confirmation before modifying the show.
Instructions
Import objects from a file into the show (DESTRUCTIVE — modifies show file).
MA2 locates the file using the destination type to determine the correct
subfolder automatically (same routing as export). The file must exist in
the grandMA2 data directory before calling this tool.
Files are read from: C:\ProgramData\MA Lighting Technologies\grandma\gma2_V_3.9.60\
- Macro → macros/ Effect → effects/ Plugin → plugins/
- MAtricks → matricks/ Mask → masks/
- All others → importexport/
Supported destination types (17 validated):
group, preset, macro, effect, sequence, view, page, camera, layout,
form, plugin, matricks, mask, image, executor, timecode, userprofile
(Screen is export-only — import gives RESIZE FORBIDDEN error.)
Preset destination_id format: "T.N" e.g. "1.99" = Dimmer slot 99
Args:
filename: Source filename — no extension, no path needed
destination_type: Object type for placement (REQUIRED — MA2 Error #28 without it)
destination_id: Slot number or preset ref ("T.N"). None = next free slot.
quiet: Suppress MA2 feedback output during import
confirm_destructive: Must be True to execute
Returns:
str: JSON with command_sent, raw_response, 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>",
"destination_type": "<destination_type>"
},
"name": "import_objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quiet | No | ||
| filename | Yes | ||
| destination_id | No | ||
| destination_type | Yes | ||
| confirm_destructive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |