Analyze a local audio recording
analyze_audioInspect local audio files to answer questions about speech, music, or ambient sounds, or omit the prompt to generate a timestamped summary.
Instructions
Ask about speech, music, or ambient sound in a local recording. Omit the prompt for a timestamped summary. Local files are included inline in each generateContent request to the configured provider.
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>"
},
"name": "analyze_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute local audio file path. Recognized extensions: wav, mp3, m4a, aac, flac, aif, aiff, ogg, oga, opus, mpga, mpeg, mpg, weba, webm. | |
| model | No | Provider model ID for this call. An explicit selection is pinned for the request. Otherwise the configured model applies. | |
| prompt | No | Question about the recording, for example a transcript or a description of background sounds. |