fetch_images_for_alt_fill
Fetch images missing alt text with their element metadata in one response, so you can draft all alt texts and submit them together using set_image_alts.
Instructions
One-shot helper for filling image_alt across the site. Returns image bytes + element metadata in a single response so Claude can describe everything in one pass, then call set_image_alts once.
Workflow:
Call this tool with scope/limit.
Tool returns each image inline with its element_id + source_type + source_id.
Claude reads images, drafts an alt for each, then calls set_image_alts(items) once with the template at the end of the response.
The pre-built "items" template at the end contains placeholders — fill in "alt" and call set_image_alts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max images per call (cap 20) | |
| scope | No | all | |
| page_id | No | ||
| max_size_mb | No | ||
| only_missing_alt | No | Default true — skip elements that already have alt |