mcp_update_media
Update WordPress media metadata such as title, alt text, caption, and description, changing only the fields you specify.
Instructions
Update media item metadata (title, alt text, caption, description). Only the given fields change.
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>",
"id": "<id>"
},
"name": "mcp_update_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Media (attachment) ID | |
| alt | No | Alt text | |
| site | Yes | Site id (see list_sites) | |
| title | No | Title | |
| caption | No | Caption, plain text | |
| description | No | Description, plain text |