media_tools_waveform
Waveform of an audio file as PNG and SVG in your colours, bar or line style, plus the peak values to draw it yourself, the silence at both ends and whether the audio clips. Price: $0.01 USDC via x402, charged only on success. Part of Media tools: Video and audio chores for sites, apps and docs: turn a clip into a small GIF or animated WebP, compress video to web-ready MP4/WebM with a poster, pull thumbnails and a contact sheet, extract or convert audio with loudness normalization, draw waveforms, and probe a file for what will not play in browsers..
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "media_tools_waveform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap | No | ||
| audio | No | Audio file as base64 (MP3, WAV, OGG, FLAC, M4A, AAC), or a video to take the sound from. | |
| color | No | #d9480f | |
| style | No | bars: rounded bars like a voice message; line: a dense filled waveform. | bars |
| width | No | ||
| height | No | ||
| points | No | How many peak values to return for drawing the waveform yourself. | |
| audioUrl | No | Link to the audio. | |
| barWidth | No | ||
| background | No | Transparent when omitted. |