List images
wp_list_mediaLists Media Library images with their alt text and supports filtering to find images missing alt text. Use it to audit image accessibility and identify items needing descriptions.
Instructions
Lists images from the Media Library with their alt text. Set missing_alt_only to find images that need alt text (the filter applies to the current page of results, so check the next pages too).
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": "wp_list_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| search | No | ||
| per_page | No | ||
| missing_alt_only | No |