nucleo-media-formats
Generate AVIF and WebP versions of uploaded WordPress images, including intermediate sizes, and process only missing formats to complete conversions.
Instructions
Generates the modern image formats (avif, webp) enabled in the site options for images already uploaded, the originals and their intermediate sizes. Images uploaded after the option was turned on get them automatically. Without ids it works on the image attachments in ID order, up to limit. Use missing to process only the images without formats. Returns the images done and how many images are still without formats.
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": "nucleo-media-formats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | IDs of image attachments to process. Other attachments are skipped. | |
| limit | No | Maximum number of images to process when ids is not given. | |
| missing | No | Process only the images without generated formats. |