label_export
Export all audio labels to a standard tab-separated text file for backup, sharing, or re-importing into Audacity.
Instructions
Export all labels to a standard Audacity label text file (tab-separated start\tend\ttext per line) - the same format label_import reads back.
There is no C++ export primitive for this in v4 - implemented here in pure Python instead, formatting label_get_all's data directly.
Args: path: Absolute path for the output labels file. overwrite: Set true to replace an existing file. Default: False.
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": {
"path": "<path>"
},
"name": "label_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| overwrite | No |