mcp-easy-ai__wp_count_media
Returns attachment counts grouped by MIME type. Optional: mime_type (e.g. 'image/jpeg') to filter to a single type. Returns { mime_type_filter (the mime_type echoed back, or "" when unfiltered), counts } where counts is the wp_count_attachments() object: { 'image/jpeg': 12, 'image/png': 5, ..., 'trash': 3 } — each value is an INTEGER count, not an object and not a numeric string. Through Royally: its server marks it read-only, so it runs straight away.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| mime_type | No | Optional MIME type filter (e.g. "image/jpeg"). |