royal-mcp__wp_get_media_item
Get one media item by ID: title, URL, MIME type, alt text, caption and description, plus file_size in bytes, width and height (and original_width / original_height when WordPress scaled a large upload down), sha256 of the stored file, and for files uploaded through Royal MCP downloaded_from (public URL uploads) and source_sha256 (the file as uploaded, before any resize or convert). (site: demo.royalplugins.com) Through Royally: read-only, runs straight away.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "royal-mcp__wp_get_media_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) |