extract_segment
Cut a time range from a recording into a standalone WAV file to isolate key moments for analysis or sharing.
Instructions
Cut a time range out of a recording into a standalone wav file.
Useful for isolating a key moment (an objection, an escalation, a TTS
artifact) to share or analyze further. Returns the path of the new file;
if output_path is omitted the file is written next to the source.
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>",
"start_time": "<start_time>",
"end_time": "<end_time>"
},
"name": "extract_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| end_time | Yes | ||
| start_time | Yes | ||
| output_path | No |