Set trigger, timing and names on a range of cues
gma3_edit_cuesEdit existing cues in a grandMA3 sequence in one call, applying trigger, timing, names, or commands to cues selected by list, range, or all.
Instructions
Edit existing cues of a sequence in one call: the same trigger (TrigType/TrigTime), the same timing (Part 0 CueInFade, CueInDelay, CueOutFade, CueOutDelay, SnapDelay), one name per cue, and/or a command (command for all, commands one per cue). A switch from Time to another trigger sets each cue's TrigTime to 0 on the console, and a switch back keeps the 0: the result lists the wiped times (wipedTrigTimes); keep_times: true saves them in the sequence's Note first ([gma3-mcp trigtimes 1=2.5 ...]), and trigger time with restore_times: true sets them back and removes them from the note. Choose the cues with exactly one of cues (a list), from/to (a range, either end optional) or all: true; names are given in cue order, one per cue. Refuses (nothing sent) when the sequence or a listed cue does not exist, or the number of names differs. One Set() per property, cue by cue; stops at the first failure and reports every cue. Reads the written properties back per cue. Stored values and the programmer are not touched.
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": {
"sequence": "<sequence>"
},
"name": "gma3_edit_cues"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| all | No | ||
| cues | No | ||
| fade | No | Cue in fade, seconds (Part 0 CueInFade). | |
| from | No | ||
| time | No | Trigger time in seconds (TrigTime). | |
| delay | No | Cue in delay, seconds. | |
| names | No | One name per selected cue, in cue order. | |
| verify | No | ||
| command | No | The same command (Part 0 Command) on every selected cue. | |
| trigger | No | go, time (needs time), follow (optional time), sound, bpm. | |
| commands | No | One command per selected cue, in cue order. | |
| out_fade | No | Out fade, seconds. | |
| sequence | Yes | ||
| data_pool | No | Data pool number (DataPool n). Default: the current data pool, as without this parameter. | |
| out_delay | No | Out delay, seconds. | |
| keep_times | No | With a trigger other than time: save the trigger times the switch sets to 0 in the sequence's Note. | |
| snap_delay | No | ||
| restore_times | No | With trigger time: set each cue's saved trigger time from the sequence's Note (time is the fallback) and remove them from it. |