visualize_audio_file
Render an inline spectrogram and waveform PNG from a local audio file or section so vision-capable agents can inspect rhythm, transients, pitch, clipping, and reverb visually.
Instructions
Render an inline log-frequency spectrogram (25 Hz-20 kHz with 7-band gridlines) + peak/RMS/clip waveform PNG of a local audio file or section (WAV integer/float, AIFF, FLAC, Ogg, MP3, AAC, M4A/MP4). Lets vision-capable agents directly see rhythm, transients, phrasing/rests, pitch contours, distortion/clipping, filter sweeps, and reverb smear. Window: start_seconds (default 0) + duration_seconds (default 20, max 60). Read-only; no upload.
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": "visualize_audio_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| start_seconds | No | ||
| duration_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| error | No |