live_exec
Execute Python statements inside Ableton Live to query or modify the session, tracks, clips, and devices through bindings for song, app, and Live objects.
Instructions
Execute Python statements inside Live with song, app, obj, this, Live, and result bindings. Set result to a compact dict/list summary to return it. General Live object-model bridge; examples are heuristics, not limits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| ref | No | ||
| detail | No | ||
| max_items | No | ||
| max_depth | No | ||
| max_string_length | No | ||
| timeout | No | Seconds to wait for Live's main thread. | |
| expected_set_signature | No |