set_clip_settings
Update multiple Session clip properties—name, color, loop, warp, pitch, meter, and groove—in one batch; omitted fields remain unchanged to avoid overwriting existing settings.
Instructions
Update one or more Session clip properties (name, color, loop, audio/warp, meter, groove) in one call.
Omitted fields stay unchanged. Multiple properties execute together in one batch.
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>",
"clip_index": "<clip_index>"
},
"name": "set_clip_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gain | No | Audio clip gain (0-1). | |
| name | No | Optional display name; omit it to keep Live's generated name. | |
| looping | No | Optional state change: true turns it on, false turns it off. | |
| warping | No | Optional state change: true turns it on, false turns it off. | |
| loop_end | No | Optional position in beats from the start of the clip. | |
| warp_mode | No | 0=Beats, 1=Tones, 2=Texture, 3=Re-Pitch, 4=Complex, 6=Complex Pro. | |
| clip_index | Yes | Zero-based Session-view clip-slot index on the track. | |
| loop_start | No | Optional position in beats from the start of the clip. | |
| pitch_fine | No | Audio clip fine pitch in cents. | |
| color_index | No | ||
| track_index | Yes | Zero-based index of a regular track in the Live set. | |
| groove_index | No | Groove Pool index from get_session_info(include_grooves=true); pass -1 to clear. | |
| pitch_coarse | No | Audio clip pitch shift in semitones. | |
| start_marker | No | Optional position in beats from the start of the clip. | |
| signature_numerator | No | ||
| signature_denominator | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| error | No |