wp_media_update
Update only the specified attributes of a WordPress media item: title, alt text, caption, description, attached post, slug, or status, leaving others unchanged.
Instructions
Generic partial update of media item fields: title, alt_text, caption, description, attached post, slug, status. Use wp_media_set_alt_text for the focused alt+caption+description tool when that's all you need.
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_media_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| post | No | ||
| slug | No | ||
| title | No | ||
| status | No | ||
| caption | No | ||
| alt_text | No | ||
| description | No |