cut_audio_segment
Extract a specific segment from an audio file using start time and either end time or duration.
Instructions
切割音频片段
Args:
input_path: 输入音频文件路径
start_time: 开始时间(格式:HH:MM:SS)
end_time: 结束时间(格式:HH:MM:SS,与duration二选一)
duration: 持续时间(格式:HH:MM:SS,与end_time二选一)
output_path: 输出音频文件路径(可选)
Returns:
切割结果信息
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>",
"start_time": "<start_time>"
},
"name": "cut_audio_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | ||
| start_time | Yes | ||
| end_time | No | ||
| duration | No | ||
| output_path | No |