WordPress: Get media
wordpress_get_mediaRetrieve detailed metadata for a WordPress media item, including URLs, dimensions, and MIME type, to inspect attachments by site and media ID.
Instructions
[UNIFIED] Get detailed information about a media item. Returns full metadata including URLs, dimensions, and MIME type.
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": {
"site": "<site>",
"media_id": "<media_id>"
},
"name": "wordpress_get_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| media_id | Yes |