image_tools_responsive
One image in, a responsive set out: every width in AVIF, WebP and a fallback, a ZIP of the files and a ready element with srcset, sizes, width and height. Never upscales. Price: $0.02 USDC via x402, charged only on success. Part of Image tools: Everyday image work for sites and apps: convert and compress to WebP/AVIF/JPEG/PNG, responsive srcset sets with ready markup, colour palettes, pixel diffs for visual regression, SVG to PNG, QR codes, blur placeholders, and an inspection that says what to fix before shipping an image..
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": "image_tools_responsive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | No | ||
| name | No | File name stem. | image |
| image | No | Image file as base64 (PNG, JPEG, WebP, AVIF, GIF, TIFF or SVG). | |
| sizes | No | The sizes attribute for the markup. | 100vw |
| widths | No | Widths to produce. Widths above the source are dropped; the source width is added if none fit. | |
| formats | No | Best format first; the last one is the <img> fallback. | |
| quality | No | ||
| basePath | No | Path prefix used in the markup for where you will host the files. | /images/ |
| imageUrl | No | Link to the image. |