WordPress: Update media
wordpress_update_mediaUpdate WordPress media metadata—including title, description, slug, alt text, caption, status, and associated post—to keep attachments accurate and organized.
Instructions
[UNIFIED] Update media metadata. Supports title, description, slug, alt text, caption, status, and associated post.
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_update_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post | No | ||
| site | Yes | ||
| slug | No | ||
| title | No | ||
| status | No | ||
| caption | No | ||
| alt_text | No | ||
| media_id | Yes | ||
| description | No |