set_fold_state
Fold or unfold a group track in Ableton Live. Supply its track index and optionally set folded state (default folded).
Instructions
Fold (collapse) or unfold a group track. Errors if the track is not a group track (see get_group_info).
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": {
"track_index": "<track_index>"
},
"name": "set_fold_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folded | No | ||
| track_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |