Extract Audio
extract_audioExtract audio from a media file into MP3, AAC, WAV, or a copied-codec file, returning the output path. Use it to isolate sound from screencasts for transcription or editing.
Instructions
Extract the audio track of a media file to its own file (mp3, aac, wav, or copy). Returns the output path.
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": "<input>",
"format": "<format>"
},
"name": "extract_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Path to the source media. | |
| format | Yes | Audio output codec. copy keeps the source codec without re-encoding. | |
| output | No | Optional output path. Defaults under SCREENCAST_HOME/edits. | |
| overwrite | No | Allow replacing an existing file at the output path (default false). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputPath | Yes | Path of the file written. |