copy_or_move_object
Duplicates or relocates grandMA2 show objects such as groups, cues, presets, or macros to a new ID, with overwrite or merge options and required destructive-action confirmation.
Instructions
Copy or move an object to a new location (DESTRUCTIVE).
SAFETY: Both operations modify show data. Copy duplicates the object,
move relocates it (deleting the original). Requires confirm_destructive=True.
Args:
action: "copy" or "move"
object_type: Object type (e.g. "group", "cue", "preset", "macro")
source_id: Source object ID
target_id: Destination object ID
source_end: Optional end ID for range copy/move
overwrite: Overwrite target if it exists (default False)
merge: Merge into target if it exists (default False)
confirm_destructive: Must be True to execute (DESTRUCTIVE operation)
Returns:
str: JSON with command_sent and raw_response.
Examples:
- Copy group 1 to 5: action="copy", object_type="group", source_id=1, target_id=5
- Move macro 3 to 10: action="move", object_type="macro", source_id=3, target_id=10
- Copy cue range: action="copy", object_type="cue", source_id=1, target_id=20, source_end=10
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>",
"object_type": "<object_type>",
"source_id": "<source_id>",
"target_id": "<target_id>"
},
"name": "copy_or_move_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| merge | No | ||
| action | Yes | ||
| overwrite | No | ||
| source_id | Yes | ||
| target_id | Yes | ||
| source_end | No | ||
| object_type | Yes | ||
| confirm_destructive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |