Review assets
review_assetsRecord a keep, delete, duplicate, or check verdict and its reason on Immich assets so later cleanup or duplicate passes reuse the decision instead of repeating analysis.
Instructions
Remember a review verdict on assets, with the reason, so a later session does not redo the analysis and the why survives. Use this after deciding what to do with a photo in a cleanup or duplicate pass — together with a tag when the user must see the state in Immich (tags are visible there, notes are not). Side effect: writes the plugin's metadata key on each asset; other apps' keys are untouched.
Args:
asset_ids: The assets the verdict applies to.
verdict: One of 'keep', 'delete_candidate', 'duplicate_of', 'needs_check'.
reason: Free text explaining the verdict (e.g. 'near-identical to IMG_6367,
keep that one'). Short and concrete beats long.
Returns: JSON with success, the number of assets reviewed, the verdict, and a
failed array of {asset_id, error} for any asset that could not be written.
Success is true only when nothing failed.
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_ids": "<asset_ids>",
"verdict": "<verdict>"
},
"name": "review_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| verdict | Yes | ||
| asset_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |