generate_image_markup
Generate responsive image markup with reserved dimensions, lazy/eager loading, LCP priority, and WebP/AVIF format negotiation for elements.
Instructions
Generate responsive or markup with reserved dimensions and correct scheduling. Mark the LCP image priority (eager, high fetchpriority); mark offscreen images lazy. Pass avif/webp for format negotiation to get a .
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": {
"image": "<image>"
},
"name": "generate_image_markup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes |