wp_list_media
List media items from a WordPress site using filters for media type, search term, and pagination.
Instructions
Lists media items from a WordPress site, with filters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | The ID of the WordPress site to target (from mcp-wordpress.config.json). Required if multiple sites are configured. | |
| per_page | No | Number of items to return per page (max 100). | |
| search | No | Limit results to those matching a search term. | |
| media_type | No | Limit results to a specific media type. |