update_media
Update a media file's metadata—display name, alt text, or caption—without replacing the file itself.
Instructions
Update metadata for a media file — change the display name, alt text (for accessibility/SEO), or caption. Does not replace the file itself, only its 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": "update_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Media file ID | |
| name | No | New file name | |
| caption | No | Image caption | |
| alternative_text | No | Alt text for accessibility |