Split Audio
split_audioSplit an audio file into chunks of N minutes to handle large files that exceed API size limits. Returns paths to all chunk files.
Instructions
Split an audio file into chunks of N minutes. Returns paths to all chunk files. Useful for processing large files that exceed API size limits.
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": {
"file_path": "<file_path>"
},
"name": "split_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to a local audio file | |
| output_dir | No | Output directory (default: system temp dir) | |
| chunk_minutes | No | Duration of each chunk in minutes (default: 10) |