wp_get_media
Retrieve a specific media item's metadata from WordPress by ID, giving you direct access to file details for content management.
Instructions
Get a single media item with metadata
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": "wp_get_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |