update_asset_alt
Overwrite an image asset's alt text to make images accessible to screen readers and indexable by search engines; returns the updated asset.
Instructions
Set (overwrite) an image asset's alt text — the description screen readers announce and search engines index, wherever the image is used. Describe what the image shows in one sentence; use "" only for a purely decorative image. Returns the updated asset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | Yes | The new alt text, e.g. 'Two hikers on a ridge above a fjord at sunset'. | |
| site | No | Site slug or id to act in (multisite). Omit to use this server's default site. Call list_sites to see what exists — an empty tree or search usually means the wrong site, not missing content. | |
| documentId | Yes | The asset's documentId from list_assets or an upload result. |