Get Image Optimization
get_image_optimizationAnalyze images on a URL to identify compression, WebP/AVIF conversion, lazy-loading, and unsized-image layout shift issues.
Instructions
Get image optimization analysis for a URL. Identifies images that need compression, format conversion to modern formats (WebP/AVIF), lazy-loading opportunities for offscreen images, and unsized images causing layout shifts.
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": {
"url": "<url>"
},
"name": "get_image_optimization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The full URL to analyze (e.g., https://example.com) | |
| strategy | No | Device strategy for the analysis | mobile |