list_media
List WordPress media library items with optional search and MIME type filtering. Request only needed fields to streamline retrieval.
Instructions
List WordPress media library items. Supports search and MIME type filtering (e.g. image/jpeg). Use fields param to request only needed fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number | |
| fields | No | Comma-separated fields to return (default: id,title,source_url,mime_type,date) | |
| search | No | Search term | |
| per_page | No | Items per page (max 100) | |
| mime_type | No | MIME type filter (e.g. image/jpeg) |