delete_object
Delete cues, groups, presets, fixtures, macros, or ID ranges from a grandMA2 show. Destructive actions require confirm_destructive=True to prevent accidental removal.
Instructions
Delete an object from the show.
SAFETY: This is a DESTRUCTIVE operation. Requires confirm_destructive=True.
Args:
object_type: Object type (e.g. "cue", "group", "preset", "fixture", "macro")
object_id: Object ID to delete
end_id: Optional end ID for range deletion (e.g. cue 1 thru 10)
confirm_destructive: Must be True to execute (safety gate)
Returns:
str: JSON with command_sent, raw_response, or block info.
Examples:
- Delete cue 5: object_type="cue", object_id=5, confirm_destructive=True
- Delete cues 1-10: object_type="cue", object_id=1, end_id=10, confirm_destructive=True
- Delete group 3: object_type="group", object_id=3, confirm_destructive=True
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": "delete_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_id | No | ||
| object_id | Yes | ||
| object_type | Yes | ||
| confirm_destructive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |