Get duplicates
get_duplicatesRetrieves ML-detected duplicate photo groups so you can review repeated images before resolving them; optionally restrict results to a specific album. Read-only.
Instructions
Get ML-detected duplicate asset groups (same image stored more than once). Use this to review potential duplicates before resolving them with resolve_duplicates. Requires Immich ML service. Note: "duplicates" means the same picture, not the same person — for people use get_album (assets[].people) or get_asset_faces. Read-only.
Args:
album_id: Optional. Restrict to groups that touch this album; each group then also
reports which of its assets are inside/outside the album.
Returns: JSON array of duplicate groups (each with duplicateId, assets array, and similarity scores).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_duplicates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| album_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |