List media
wp_media_listLists WordPress media attachments with pagination, optional MIME type filtering, and search so you can find and review uploaded files.
Instructions
List attachments with optional MIME filter and search.
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_media_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| search | No | ||
| per_page | No | ||
| mime_type | No | e.g. image/jpeg |