playback_action
Controls grandMA2 playback by firing cues, jumping to specific cues, and moving forward or backward on targeted executors or sequences.
Instructions
Execute playback operations — go, go back, goto, fast forward/back, etc.
Full-featured playback control with cue_mode and executor targeting.
Coexists with execute_sequence (which uses legacy go_sequence/pause_sequence).
Args:
action: Playback action to perform:
"go" — fire the next cue (optionally on a specific executor/sequence)
"go_back" — fire the previous cue
"goto" — jump to a specific cue (requires cue_id)
"fast_forward" — skip forward (>>>)
"fast_back" — skip backward (<<<)
"def_go" — go on the selected executor (go+); response includes
selected_executor and selected_cue_before
"def_go_back" / "def_goback" — go back on the selected executor;
response includes selected_executor and selected_cue_before
"def_pause" — pause the selected executor; response includes
selected_executor and selected_cue_before
object_type: Object type for go/go_back (e.g. "executor", "sequence")
object_id: Object ID for go/go_back — single int or list of ints.
List produces "N + M + ..." syntax for multi-executor targeting.
cue_id: Target cue number (required for "goto")
end: End ID for range (go/go_back)
cue_mode: Cue execution mode: "normal", "assert", "xassert", "release"
executor: Executor ID for goto/fast_forward/fast_back — single int or list of ints.
List produces "N + M + ..." syntax (e.g. [1,2,3] → ">>> executor 1 + 2 + 3").
sequence: Sequence ID for goto/fast_forward/fast_back
Returns:
str: JSON with command_sent and raw_response.
def_go/def_go_back/def_pause also include selected_executor and
selected_cue_before (read from $SELECTEDEXEC before firing).
Examples:
- Go on executor 1: action="go", object_type="executor", object_id=1
- Go on executors 1+2+3: action="go", object_type="executor", object_id=[1,2,3]
- Go back: action="go_back"
- Goto cue 5: action="goto", cue_id=5
- Goto cue 3 on sequence 2: action="goto", cue_id=3, sequence=2
- Fast forward: action="fast_forward"
- Fast forward executors 1,2,3: action="fast_forward", executor=[1,2,3]
- Go on selected executor: action="def_go"
- Go back on selected executor: action="def_go_back"
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": "playback_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| action | Yes | ||
| cue_id | No | ||
| cue_mode | No | ||
| executor | No | ||
| sequence | No | ||
| object_id | No | ||
| object_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |