Update asset description and tags
update_assetChange the description or the tags of an asset in the project's media library (find its id with list_assets). A field you leave out keeps its stored value; tags you send replace the asset's tags. The description is what list_assets search reads. The file, its name and its url do not change, and pages that use the asset are not touched.
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": {
"projectId": "<projectId>",
"assetId": "<assetId>"
},
"name": "update_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | The asset's tags; replaces the stored list | |
| assetId | Yes | The asset ID from list_assets | |
| projectId | Yes | The project ID | |
| description | No | New description of what the image shows |