edit_object
Edit, cut, or paste grandMA2 show objects such as cues, presets, and groups; cut and paste require explicit destructive confirmation, while edit opens an object for safe editing.
Instructions
Edit, cut, or paste objects in the show.
- edit: Opens an object for editing (SAFE_WRITE)
- cut: Removes an object and places it on the clipboard (DESTRUCTIVE)
- paste: Places clipboard contents at a target location (DESTRUCTIVE)
SAFETY: cut and paste are DESTRUCTIVE and require confirm_destructive=True.
edit does not require confirmation.
Args:
action: "edit", "cut", or "paste"
object_type: Object type (e.g. "preset", "cue", "group")
object_id: Object ID (for edit and cut)
target_id: Target ID for paste destination
end: End ID for range operations
confirm_destructive: Must be True for cut/paste (safety gate)
Returns:
str: JSON with command_sent, raw_response, or block info.
Examples:
- Edit cue 1: action="edit", object_type="cue", object_id=1
- Cut preset 4.1: action="cut", object_type="preset", object_id="4.1"
- Paste to group 5: action="paste", object_type="group", target_id=5
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": {
"action": "<action>"
},
"name": "edit_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| action | Yes | ||
| object_id | No | ||
| target_id | No | ||
| object_type | No | ||
| confirm_destructive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |