mcp-easy-ai__wp_get_media
Gets a single WordPress media attachment by ID. Returns { id, title, alt_text, caption, description, mime_type, source_url (original file URL), media_type (image/video/audio/file), date, post (ID of the post it's attached to, 0 if unattached), terms: { "": [term IDs] } (membership in every attachment taxonomy exposed in the REST API, e.g. media folders such as mlo-category; empty when none is registered — resolve the IDs with wp_list_terms) }. For image attachments the response also includes top-level width, height, and file_size (in bytes) when those details are available. 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) | |
| media_id | Yes | The ID of the media item to retrieve. |