generate_image_optimization
Generate image optimization configuration with Next.js Image, vite-plugin-image-optimizer, or responsive picture elements
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": {
"framework": "<framework>"
},
"name": "generate_image_optimization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sizes | No | Device sizes (px) | |
| formats | No | Image formats (webp, avif, png, jpeg) | |
| framework | Yes | Framework | |
| placeholder | No | Placeholder style |