audio_spectrogram
Generate a spectrogram PNG from an authorized local audio segment to visualize frequency content over time and inspect amplitude levels for audio analysis.
Instructions
Return a spectrogram PNG of an authorized local segment (0.25–30 s). Time left to right, frequency bottom 0 Hz to top floor(max_hz/15.625)*15.625 Hz. Dark navy -90 dBFS to pale yellow 0 dBFS, Hann amplitude estimates; up to 900 time columns. Use sense_audio for numeric evidence. Image is sent to the host/model.
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": "audio_spectrogram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| max_hz | No | ||
| start_s | No | ||
| duration_s | No |