Clip Set
audacity_clip_setRename or recolor an audio clip, or apply a destructive relative gain in dB to its samples by targeting a point inside one clip away from boundaries.
Instructions
Rename/color a clip or apply a relative gain in dB destructively to its samples. For name/color, at must lie strictly inside exactly one clip, avoiding shared boundaries. Use audacity_track_set gainDb for a reversible track slider, audacity_clip_move for timing.
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": "<track>",
"at": "<at>"
},
"name": "audacity_clip_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | Yes | time inside the clip; name/color require a point strictly after its start and before its end | |
| name | No | ||
| color | No | ||
| track | Yes | ||
| gainDb | No | relative sample gain applied destructively with Amplify to this clip |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| name | No | ||
| color | No | ||
| start | Yes | ||
| track | Yes | ||
| gainDbApplied | No |