trim_audio
Cut local audio files to a specific segment by setting a start offset and duration in seconds, saving the result in your chosen format.
Instructions
Trim local audio using a start offset and duration in seconds.
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": {
"input_path": "<input_path>",
"filename": "<filename>",
"start_seconds": "<start_seconds>",
"duration_seconds": "<duration_seconds>"
},
"name": "trim_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | wav | |
| filename | Yes | ||
| overwrite | No | ||
| input_path | Yes | ||
| start_seconds | Yes | ||
| duration_seconds | Yes |