get_devices
List a track's device chain details—names, class names, on/off state, parameter counts—to prepare for parameter adjustments or device moves. Read-only inspection.
Instructions
List a track's device chain: names, class names, on/off, parameter counts.
Reads the chain and changes nothing in it. The device indices it reports are the
ones set_parameter, delete_device and ``song.move_device`` are addressed by.
Returns:
Dictionary with the device count and one entry per device carrying its index,
name, class name, on/off state, parameter count and ``configure_needed`` flag.
A track with an empty chain answers ``device_count: 0`` rather than an error,
while an index with no track behind it is refused with ``index_out_of_range``.
Note:
Read the parameter count first. A third-party plug-in reporting exactly one
parameter has not been configured, which the ``configure_needed`` flag says
outright. That is a limit in Live, not in this server, and only Live's GUI
lifts it. The probe behind that flag settles one question, whether the count
is exactly one or more than one, so where it could not settle it the count
arrives as ``parameter_count_at_least`` instead.
For the parameters themselves, with their ranges and display units, call
``describe`` with ``with_parameters=True``: this tool counts them and does
not list them. For the mixer, sends and clip slots on the same track, call
get_track instead of adding a second call here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Which collection the track index counts in: 'track' for song.tracks, 'return' for song.return_tracks, 'master' for the master track, where the track index is ignored. | track |
| track | Yes | Track index in song.tracks, counted from 0. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||