get_set_state
Reads the full Ableton Live song state—tempo, tracks, devices, mix, scenes, and transport—and flags the first call of a new request so undo can return to that point.
Instructions
Read the whole song: tempo, time signature, key (scale), whether it is playing, transport (metronome, loop,
count_in_bars), every track (index, name, type, devices, drum_pads, mix, io, clip_slots), the sections (scenes),
the shared effect channels (return_tracks) and the main output. Indices are 0-based.
Pass new_request=true on the FIRST call of each new user request: it marks where undo goes back to.
mix is {volume_db, pan -50..50, mute, solo, sends by letter}; dB null means silent. io (tracks that can record) is
{arm, input, input_channel, input_channels_available, monitoring}. drum_pads lists {note, name} for a drum kit:
use those notes as pitches. room_left says how many tracks and sections can still be added (Lite: 8 and 16).
last_changed is what the previous change touched, for "this" and "that".
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_set_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_request | No |