mcp-tools-for-elementor__emcp-tools-list-media
Lists and searches images already in the WordPress Media Library. Use this to find a site's own uploaded photos (e.g. a client's product or job-site images) before reaching for stock photos. The optional "search" matches the title, alt text, caption, and description. Returns attachment IDs and URLs you can pass straight to add-free-widget. Through Royally: its server marks it read-only, so it runs straight away.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based). Default: 1. | |
| order | No | Sort direction. Default: desc. | |
| search | No | Keyword to match against the attachment title, alt text, caption, and description. Omit to list everything. | |
| orderby | No | Sort field. Default: date (newest first). | |
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| per_page | No | Results per page (1-100). Default: 20. | |
| mime_type | No | MIME type filter. Accepts a top-level type ("image") or a specific type ("image/jpeg", "image/png"). Use "any" for all media types. Default: image. |