Update Image
update_imageUpdate alt text and metadata for existing images to enhance accessibility and SEO. Provide asset ID, new alt text, tags, or metadata; control language and overwrite behavior.
Instructions
Update alt text and/or metadata for an existing image
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": {
"asset_id": "<asset_id>"
},
"name": "update_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language code for the alt text (default: 'en') | |
| tags | No | Replace tags | |
| alt_text | No | New alt text value | |
| asset_id | Yes | The asset ID of the image to update | |
| metadata | No | Replace metadata (string key-value pairs) | |
| overwrite | No | If false, skip language entries that already exist |