WordPress: Regenerate thumbnails
wordpress_regenerate_thumbnailsRebuild WordPress attachment thumbnails and registered image sub-sizes after format conversion, theme changes, or missing legacy sizes; target specific attachments or process batches.
Instructions
[UNIFIED] Rebuild attachment sub-sizes (the registered WP image sizes plus any from add_image_size() in the active theme). Use this after upload_media_from_url / _from_base64 with convert_to=webp|avif, after a theme switch that adds new sizes, or for legacy attachments missing thumbnails. Routes through the airano-mcp-bridge companion plugin v2.8.0+. Body shapes: either an 'ids' list to target specific attachments (max 50 per call); or all=true with offset/limit for paged batch. Returns has_more + next_offset in batch mode so callers can continue.
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": {
"site": "<site>"
},
"name": "wordpress_regenerate_thumbnails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | ||
| ids | No | ||
| site | Yes | ||
| limit | No | ||
| offset | No |