update_asset_metadata
Update an asset in Immich by correcting dates, fixing GPS, adding descriptions, or changing favorite and rating status. Only specified fields are modified and saved permanently.
Instructions
Update metadata fields on a specific asset. Use this to fix dates, correct GPS, add descriptions, or change favorite/rating status. Only provided fields are modified. Side effect: permanently changes asset metadata in Immich.
Args:
asset_id: The asset's UUID.
date_time_original: ISO 8601 datetime (e.g. '2019-07-14T15:23:41.000Z').
latitude: GPS latitude, decimal degrees (-90.0 to 90.0).
longitude: GPS longitude, decimal degrees (-180.0 to 180.0).
description: Free-text description/caption for the asset.
is_favorite: Set favorite status (true/false).
rating: -1 to reject the photo, or 1 to 5 stars. A rating cannot be
cleared from here, and 0 is not a rating Immich 3.x accepts.
Returns: JSON with the updated asset object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rating | No | ||
| asset_id | Yes | ||
| latitude | No | ||
| longitude | No | ||
| description | No | ||
| is_favorite | No | ||
| date_time_original | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |