Wordpress Get Media Url
wordpress_get_media_urlRetrieve the public URL for a WordPress media item using its media ID. Optionally specify an image size (thumbnail, medium, large, full) to target the correct file.
Instructions
Get the public URL for a WordPress media item.
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": {
"media_id": "<media_id>"
},
"name": "wordpress_get_media_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Image size (thumbnail, medium, large, full) | full |
| media_id | Yes | Media ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||