tracks_move
Reorder a track and all its members before another track, joining that group, or to the end when no target is given. Returns the new order and supports undo.
Instructions
Move a track (a group with all its members) right before another track, joining that track's group, or to the end when 'before' is absent. Returns the new track order. Undoable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track | Yes | Track id (UUID string from tracks.list, stable) or 0-based index (shifts when tracks are added or moved). | |
| before | No | Track id (UUID string from tracks.list, stable) or 0-based index (shifts when tracks are added or moved). |