remove_content
Removes content from existing grandMA2 objects—such as fixtures from groups or effects from cues—without deleting the objects; destructive actions require explicit confirmation.
Instructions
Remove content from objects (fixtures from groups, effects, preset types, etc.).
Unlike delete (which removes the object itself), remove takes content out of
an object. For example, removing a fixture from a group, or removing an effect
from a cue.
SAFETY: This is a DESTRUCTIVE operation. Requires confirm_destructive=True.
Args:
object_type: What to remove. Special types:
"selection" — remove the current selection
"fixture" — remove a fixture (from a group, cue, etc.)
"effect" — remove an effect
"presettype" — remove a preset type from the programmer
Or any generic type for the generic remove command.
object_id: Object ID to remove (not needed for "selection")
end: End ID for range removal
if_filter: Conditional filter (e.g. "PresetType 1")
confirm_destructive: Must be True to execute (safety gate)
Returns:
str: JSON with command_sent, raw_response, or block info.
Examples:
- Remove selection: object_type="selection"
- Remove fixture 1: object_type="fixture", object_id=1
- Remove fixture with filter: object_type="fixture", object_id=1,
if_filter="PresetType 1"
- Remove effect 1: object_type="effect", object_id=1
- Remove preset type: object_type="presettype", object_id="position"
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": "remove_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| if_filter | No | ||
| object_id | No | ||
| object_type | Yes | ||
| confirm_destructive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |