Trim Media or Extract Audio Locally
media_trim_extract_audioTrim a local video or audio clip and extract clean MP3, WAV, M4A, or OGG audio using local FFmpeg, keeping files on disk.
Instructions
Trim a local audio/video clip or extract clean MP3/WAV/M4A/OGG audio using local FFmpeg.
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": {
"inputPath": "<inputPath>"
},
"name": "media_trim_extract_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | extract_audio | |
| startSec | No | Start offset in seconds | |
| inputPath | Yes | Local audio or video file path | |
| outputPath | No | ||
| audioFormat | No | mp3 | |
| durationSec | No | Clip duration in seconds |