label_add_batch
Add multiple audio labels in a single batch, with pre-validation to prevent partial label lists when any entry is invalid.
Instructions
Add many labels at once — a whole marker list in one call.
Each item is {"start": seconds, "end": seconds (optional, defaults to start for a point label), "text": string (optional)}. Every item is validated before anything is sent to Audacity, so a bad item fails the whole call rather than leaving a half-written list behind.
Args: labels: List of {"start", "end", "text"} label definitions
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": {
"labels": "<labels>"
},
"name": "label_add_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labels | Yes |