Immich Photo Manager

v2.0.11
io.github.drolosoft/immich-photo-manager Checked 15 hours ago Published 2 months ago

Photo management for self-hosted Immich: search, albums, duplicates, faces, PDF reports.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ping

Check Immich server connectivity. Use this to verify the server is reachable before running other operations. Read-only. Returns: JSON with 'server' status ('pong' if healthy).

get_server_version

Get the Immich server version. Use this to check compatibility or report the running server version. Read-only. Returns: JSON with major, minor, and patch version numbers.

get_capabilities

What this Immich server can do: version, feature flags and known quirks. Use this once at the start of a session to learn whether OCR, smart search or facial recognition are available before offering them, and which behaviours differ between Immich 2.x and 3.x. Read-only. Returns: JSON with server_version, immich_major, features (the server's own flags: ocr, smartSearch, facialRecognition, map, trash...) and quirks (plain sentences about version-specific behaviour the caller should know). When the API key may not read the feature flags, features is empty and a note…

get_statistics

Get library statistics. Use this for a quick overview of library size without listing individual assets. Read-only. Returns: JSON with total photo count, video count, and storage usage in bytes.

update_credentials

Update the Immich connection credentials. Use this when the API key has been rotated or the server URL changed. Validates credentials before applying. Side effect: persists new credentials to disk and hot-swaps the live connection. Args: base_url: Full Immich server URL including protocol (e.g. 'https://photos.example.com'). api_key: A valid Immich API key (generated in Immich > User Settings > API Keys). Returns: JSON with success status, photo/video counts confirming access, and persistence path.

ParameterTypeDescription
api_key *string
base_url *string

get_asset_info

Get full metadata for a single asset. Use this when you need EXIF details, GPS coordinates, camera info, or file properties for a known asset ID. For finding assets, use search_metadata or search_smart instead. Read-only. Args: asset_id: The asset's UUID (from search results, album listings, or list_assets). with_notes: Also include the plugin's notes on the asset (past review verdicts and recorded actions, see get_asset_notes). One extra request. Returns: JSON with EXIF data, GPS, dates, dimensions, file size, camera make/model, and owner; plu…

ParameterTypeDescription
asset_id *string
with_notesboolean

update_asset_metadata

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 stat…

ParameterTypeDescription
asset_id *string
date_time_originalstring
descriptionstring
is_favorite
latitude
longitude
rating

update_assets_metadata

Update the same metadata fields on many assets in ONE call — the whole roll of a scanned album gets its real date, a trip's photos get their GPS, a selection becomes favorites. Same fields as update_asset_metadata; only the provided ones change. Side effect: permanently changes the metadata of every listed asset. Args: asset_ids: The assets to update. date_time_original: ISO 8601 datetime applied to all of them. latitude: GPS latitude, decimal degrees. longitude: GPS longitude, decimal degrees. description: Description/caption appl…

ParameterTypeDescription
asset_ids *array
date_time_originalstring
descriptionstring
is_favorite
latitude
longitude
rating

rotate_assets

Apply a non-destructive clockwise rotation to one or more assets. Use this to fix orientation issues. The original file is never modified — rotation is a display transform only. Use revert_asset_edits to undo. Provide EITHER asset_ids OR album_id. Side effect: writes rotation edits to Immich; accumulates with existing rotation. Args: angle: Clockwise degrees, must be a multiple of 90 (90, 180, or 270). Default: 90. asset_ids: List of asset UUIDs to rotate. Mutually exclusive with album_id. album_id: Rotate all assets in this album. Mutually exclusive…

ParameterTypeDescription
album_idstring
angleinteger
asset_ids

revert_asset_edits

Remove all non-destructive edits (rotation, crop, mirror) from assets, restoring original appearance. Use this to undo rotate_assets or any other display transforms. Provide EITHER asset_ids OR album_id. Side effect: deletes all edit records for the assets. Args: asset_ids: List of asset UUIDs to revert. Mutually exclusive with album_id. album_id: Revert all assets in this album. Mutually exclusive with asset_ids. Returns: JSON with reverted/failed counts.

ParameterTypeDescription
album_idstring
asset_ids

get_map_markers

Get GPS map markers for all geotagged assets. Use this to discover where photos were taken or to build travel maps. For searching by city/country name, use search_metadata instead. Read-only. Returns up to 500 markers. Args: file_created_after: ISO date lower bound (e.g. '2023-01-01'). file_created_before: ISO date upper bound. is_favorite: If true, only return favorites. Returns: JSON with total count and markers array (each with asset ID, lat, lon).

ParameterTypeDescription
file_created_afterstring
file_created_beforestring
is_favorite

reverse_geocode

Resolve GPS coordinates to a place name using Immich's own offline geodata. Use this to name the location of a marker from get_map_markers or of an asset's EXIF coordinates — no external service is contacted. Read-only. Args: lat: Latitude in decimal degrees. lon: Longitude in decimal degrees. Returns: JSON with total and a places array of {city, state, country} candidates.

ParameterTypeDescription
lat *number
lon *number

search_metadata

Search assets by EXIF metadata fields. Use this when you know specific criteria like city, camera model, or date range. For natural language visual queries (e.g. 'sunset at the beach'), use search_smart instead. For browsing without criteria, use list_assets. Read-only. Args: city: City name from EXIF GPS reverse-geocoding (case-sensitive, e.g. 'Barcelona'). state: State or region name. country: Country name (e.g. 'Spain', 'Egypt'). make: Camera manufacturer (e.g. 'Apple', 'Canon', 'Sony'). model: Camera model string (e.g. 'iPhone 14 Pro…

ParameterTypeDescription
album_ids
asset_typestring
citystring
countrystring
is_favorite
makestring
modelstring
ocrstring
pageinteger
person_ids
sizeinteger
statestring
tag_ids
taken_afterstring
taken_beforestring

search_explore

Overview of what the library contains, grouped by explore field: one representative asset per city and per detected concept (Immich's Explore page). Use this to get oriented in an unknown library before searching for anything specific — it answers 'what is in here?' in one call. A city only appears once it holds at least 5 assets (Immich's own threshold), so small libraries can come back empty. Read-only. Returns: JSON with total (how many fields came back) and a fields array; each field has its name (e.g. 'exifInfo.city') and items pairing each value with one…

search_cities

Every city that appears in the library, one representative asset each. Unlike search_explore this has no minimum-asset threshold, so it is the reliable way to answer 'which places are in this library?'. Read-only. Returns: JSON with a cities array of {city, country, asset_id, date}.

search_places

Look a place name up in Immich's built-in gazetteer (no assets involved). Use this to resolve a spelling or get coordinates for a place before a geographic search. Read-only. Args: name: Place name to look for (e.g. 'Lisbon'). Returns: JSON with a places array of {name, admin1name, admin2name, latitude, longitude}.

ParameterTypeDescription
name *string

search_suggestions

Distinct values present in the library for one field — the exact spellings search_metadata expects. Use this before filtering by city or camera to avoid guessing (e.g. 'iPhone 14 Pro' vs 'iPhone14,3'). Read-only. Args: suggestion_type: One of 'country', 'state', 'city', 'camera-make', 'camera-model', 'camera-lens-model'. country: Narrow city/state suggestions to this country. state: Narrow city suggestions to this state. make: Narrow model suggestions to this camera make. model: Narrow lens suggestions to this camera model.…

ParameterTypeDescription
suggestion_type *string
countrystring
makestring
modelstring
statestring

search_random

Random assets from the library, optionally filtered. Use this for sampling — a quick feel of what a filter matches, a surprise pick for a story, or spot checks over a big library. Read-only. Args: size: How many random assets to return (default 10, max 100). city: Only assets from this city. country: Only assets from this country. make: Only assets from this camera make. model: Only assets from this camera model. is_favorite: If true, only favorites. ocr: Only assets whose recognized text matches (needs OCR on the server).…

ParameterTypeDescription
citystring
countrystring
is_favorite
makestring
modelstring
ocrstring
sizeinteger

search_statistics

Count how many assets match a filter WITHOUT fetching them. Use this instead of search_metadata whenever only the number matters ('how many photos from Spain?', 'how many did I take in 2019?') — it costs one integer instead of pages of assets. Read-only. Args: city: Count assets from this city. country: Count assets from this country. state: Count assets from this state/region. make: Count assets from this camera make. model: Count assets from this camera model. is_favorite: If true, count only favorites. ocr: Count ass…

ParameterTypeDescription
citystring
countrystring
created_afterstring
created_beforestring
is_favorite
makestring
modelstring
ocrstring
statestring
taken_afterstring
taken_beforestring

search_large_assets

The biggest files in the library, largest first. Use this to find what is eating storage before a cleanup — videos and originals show up immediately. Read-only. Args: min_size_mb: Only assets at least this many megabytes (0 = no minimum). size: How many assets to return (1-200, default 20). asset_type: 'IMAGE' or 'VIDEO'. Omit for both. Returns: JSON with total and an assets array of {asset_id, filename, size_mb, date}, largest first.

ParameterTypeDescription
asset_typestring
min_size_mbinteger
sizeinteger

search_smart

AI-powered visual search using CLIP embeddings. Use this when describing what a photo looks like in natural language (e.g. 'sunset at the beach', 'dog playing fetch'). For structured criteria (city, camera, date), use search_metadata instead. Requires Immich ML service with Smart Search enabled. Read-only. Args: query: Natural language description of the visual content to find. city: Optional city filter to narrow results geographically. state: Optional state/region filter. country: Optional country filter. taken_after: ISO date — only…

ParameterTypeDescription
query *string
album_ids
citystring
countrystring
ocrstring
pageinteger
person_ids
sizeinteger
statestring
tag_ids
taken_afterstring
taken_beforestring

list_albums

List all albums in the library with summary info. Use this to discover existing albums before creating new ones or to find an album ID. Read-only. Args: shared: true = only shared albums, false = only non-shared, omit = all albums. Returns: JSON with total count and albums array (each with id, name, description, assetCount, shared status).

ParameterTypeDescription
shared

get_album

Get full details for a specific album including all its asset IDs. Use this to inspect album contents or retrieve asset IDs for further operations (thumbnails, metadata, rotation). For listing all albums, use list_albums instead. Read-only. Args: album_id: The album's UUID (from list_albums or create_album). Returns: JSON with album metadata, a flat list of all asset_ids, and an assets array (id, filename, type, date, recognized people) so "who appears in this album / who repeats" can be answered without further calls.

ParameterTypeDescription
album_id *string

create_album

Create a new album, optionally pre-populated with assets. Use this to organize photos into collections. Side effect: creates a new album in Immich. Args: name: Album display name (e.g. 'Roma, Italia', 'Birthday 2024'). description: Optional album description text. asset_ids: Optional list of asset UUIDs to add immediately on creation. Returns: JSON with the new album's id, name, and asset count.

ParameterTypeDescription
name *string
asset_ids
descriptionstring

update_album

Update an album's name or description. Use this to rename or re-describe an existing album. Side effect: modifies album metadata in Immich. Args: album_id: The album's UUID. name: New album name. Leave empty to keep current name. description: New description. Leave empty to keep current description. Returns: JSON with the updated album object.

ParameterTypeDescription
album_id *string
descriptionstring
namestring

delete_album

Delete an album container. The photos inside are NOT deleted — they remain in the library. Use this to remove unwanted album groupings. Side effect: permanently deletes the album (cannot be undone). Args: album_id: The album's UUID to delete. Returns: JSON with success, the deleted album's id and album_id.

ParameterTypeDescription
album_id *string

add_assets_to_album

Add existing assets to an album. Use this to curate albums from search results or other asset lists. Assets can belong to multiple albums simultaneously. Side effect: modifies album membership. Args: album_id: Target album UUID. asset_ids: List of asset UUIDs to add to the album. Returns: JSON with album_id, count added, and per-asset success/error details.

ParameterTypeDescription
album_id *string
asset_ids *array

remove_assets_from_album

Remove assets from an album without deleting them. The photos remain in the library and other albums. Use this to un-curate mistakenly added assets. Side effect: modifies album membership. Args: album_id: Album UUID to remove assets from. asset_ids: List of asset UUIDs to remove from this album. Returns: JSON with album_id, count removed, and per-asset result details.

ParameterTypeDescription
album_id *string
asset_ids *array

get_asset_thumbnail

Get a base64-encoded thumbnail image for a single asset. Use this to visually inspect one photo. For multiple photos, use get_thumbnails_batch (by IDs) or get_album_thumbnails (by album). Read-only. Args: asset_id: The asset's UUID. size: 'thumbnail' (250px, fast) or 'preview' (1440px, higher quality). Default: 'thumbnail'. Returns: JSON with 'data' (base64 string) and 'type' (MIME type, e.g. 'image/jpeg').

ParameterTypeDescription
asset_id *string
sizestring

get_album_thumbnails

Get base64-encoded thumbnails for photos in an album. Use this to generate visual HTML galleries from an existing album. For thumbnails from search results (no album), use get_thumbnails_batch instead. Read-only. Args: album_id: The album's UUID. size: 'thumbnail' (250px) or 'preview' (1440px). Default: 'thumbnail'. limit: Max thumbnails to return (1-50, default 20). Returns: JSON with album info and thumbnails array (each with asset_id, base64 data, filename, date).

ParameterTypeDescription
album_id *string
limitinteger
sizestring

get_thumbnails_batch

Get base64-encoded thumbnails for arbitrary asset IDs without needing an album. Use this to visually display search results or any ad-hoc set of photos. For album-based thumbnails, use get_album_thumbnails. For a single photo, use get_asset_thumbnail. Read-only. Args: asset_ids: List of asset UUIDs to fetch thumbnails for. size: 'thumbnail' (250px) or 'preview' (1440px). Default: 'thumbnail'. limit: Max thumbnails to return (1-50, default 20). Only the first N IDs are fetched. Returns: JSON with thumbnails array (each with asset_id, base64 data, filena…

ParameterTypeDescription
asset_ids *array
limitinteger
sizestring

get_asset_image

Get a single asset's thumbnail as an image block for inline visual display. Use this in clients that render images (Open WebUI, Claude Desktop). For HTML gallery generation with base64 data URIs (Cowork/skills), use get_asset_thumbnail instead — it returns JSON. Read-only. Args: asset_id: The asset's UUID. size: 'thumbnail' (250px, fast) or 'preview' (1440px, higher quality). Default: 'thumbnail'. Returns: An image block (MCP ImageContent) for visual display.

ParameterTypeDescription
asset_id *string
sizestring

get_album_images

Get an album's thumbnails as image blocks for inline visual display. Use this to visually browse an album in clients that render images. For HTML gallery generation with base64 data URIs (Cowork/skills), use get_album_thumbnails instead — it returns JSON with filenames and dates. Read-only. Args: album_id: The album's UUID. size: 'thumbnail' (250px) or 'preview' (1440px). Default: 'thumbnail'. limit: Max thumbnails to return (1-50, default 20). Returns: A list of image blocks suitable for visual display.

ParameterTypeDescription
album_id *string
limitinteger
sizestring

get_images_batch

Get thumbnails for arbitrary asset IDs as image blocks for inline visual display. Use this to visually show search results in clients that render images. For HTML gallery generation with base64 data URIs (Cowork/skills), use get_thumbnails_batch instead — it returns JSON with filenames and dates. Read-only. Args: asset_ids: List of asset UUIDs to fetch thumbnails for. size: 'thumbnail' (250px) or 'preview' (1440px). Default: 'thumbnail'. limit: Max thumbnails to return (1-50, default 20). Only the first N IDs are fetched. Returns: A list of image…

ParameterTypeDescription
asset_ids *array
limitinteger
sizestring

get_video_frames

Get frames of a video as image blocks, to "watch" a clip. Immich keeps one poster per video; this downloads the video and cuts frames locally (PyAV, a dependency since 1.7.1, or ffmpeg on PATH). Every frame is one image for the model. Workflow: 6 frames first; to look closer, narrow with start/end or use interval (down to 1 s). Above 12 frames the tool returns a JSON plan with frames_planned and estimated_tokens instead of images: show it to the user and call again with confirm=true only if they agree. Hard cap 120 per call. For base64 JSON with timestamps use get_v…

ParameterTypeDescription
asset_id *string
confirmboolean
countinteger
endnumber
intervalnumber
sheetboolean
sizestring
startnumber

get_video_frames_json

Frames of a video as base64 JPEG with timestamps, for HTML galleries and skills. Same parameters, gate (confirm above 12) and cap (120) as get_video_frames. Read-only. Args: asset_id: The video asset's UUID. count: Frames evenly spaced over the segment (default 6). Ignored when interval > 0. size: 'thumbnail' (250px, ~1.6k tokens per frame) or 'preview' (1440px, ~6.4k). Default 'thumbnail'. start: Segment start in seconds (default 0). end: Segment end in seconds (0 = to the end). interval: One frame every N seconds instead of count (1 =…

ParameterTypeDescription
asset_id *string
confirmboolean
countinteger
endnumber
intervalnumber
sizestring
startnumber

get_connection_info

Return the Immich base URL and a masked API key. Use this to populate gallery template placeholders (e.g. {{IMMICH_URL}}). The API key is intentionally masked for security — thumbnails use base64 data URIs, not direct API calls. Read-only. Returns: JSON with base_url and api_key_masked (first 8 + last 4 chars only).

list_people

List all recognized people (face clusters) in the library. Use this to browse who appears in the photo library or find a person's ID. For searching by name, use search_people instead. Read-only. Args: page: Page number, starting from 1 (default 1). size: Results per page (default 50). with_hidden: Include people marked as hidden (default false). Returns: JSON with total count, page, and people array (each with id, name, thumbnailPath, photoCount).

ParameterTypeDescription
pageinteger
sizeinteger
with_hiddenboolean

get_person

Get full details for a specific person including name, birth date, and photo count. Use this after finding a person via list_people or search_people. Read-only. Args: person_id: The person's UUID (from list_people or search_people). Returns: JSON with person details (id, name, birthDate, isHidden, photoCount, thumbnailPath).

ParameterTypeDescription
person_id *string

update_person

Update a person's profile details. Use this to name unnamed faces, set birth dates, hide clutter faces, or change the representative thumbnail. Only provided fields are modified. Side effect: changes person metadata in Immich. Args: person_id: The person's UUID. name: Display name (e.g. 'John Smith'). Set to name unnamed face clusters. birth_date: ISO date (e.g. '1990-05-15'). is_hidden: Hide from the People view (useful for strangers/clutter). is_favorite: Mark as a favorite person. feature_face_asset_id: Asset UUID whose face crop…

ParameterTypeDescription
person_id *string
birth_datestring
colorstring
feature_face_asset_idstring
is_favorite
is_hidden
namestring

merge_people

Merge multiple person clusters into one. Use this when the same real person has been split into multiple face clusters. DESTRUCTIVE and IRREVERSIBLE: merged persons are permanently deleted and all their faces transfer to the target. Without confirm=true nothing happens: the call returns who would be kept and who would disappear, so the user can check the names before the merge. Side effect: with confirm=true, permanently deletes the merged persons; without it the call only previews and changes nothing. Args: person_id: The target person UUID to keep (receiv…

ParameterTypeDescription
merge_ids *array
person_id *string
confirmboolean

search_people

Search for people by name (partial match). Use this when you know the person's name. For browsing all people, use list_people instead. Read-only. Args: name: Full or partial name to match (case-insensitive). with_hidden: Include hidden people in results (default false). Returns: JSON array of matching people with id, name, and photo count.

ParameterTypeDescription
name *string
with_hiddenboolean

get_person_thumbnail

Get a base64-encoded face crop thumbnail for a person. Use this to visually identify a person before merging or renaming. Read-only. Args: person_id: The person's UUID. Returns: JSON with 'data' (base64 string of face crop) and 'type' (MIME type).

ParameterTypeDescription
person_id *string

get_asset_faces

Get all detected faces in a photo with their person assignments. Use this to see who is in a specific photo or to find face IDs for reassign_face. Read-only. Args: asset_id: The asset's UUID. Returns: JSON array of face detections (each with face_id, person_id, person_name, bounding box).

ParameterTypeDescription
asset_id *string

reassign_face

Reassign a detected face to a different person. Use this to correct face recognition mistakes (e.g. a face wrongly attributed to Person A should be Person B). Get face_id from get_asset_faces first. Side effect: permanently changes face-to-person mapping. Args: face_id: The face detection UUID (from get_asset_faces results). person_id: The correct person UUID to assign this face to. Returns: JSON with the updated face assignment.

ParameterTypeDescription
face_id *string
person_id *string

delete_assets

Delete assets (soft-delete to trash or permanent). Use this to remove unwanted photos/videos. Default is soft-delete (recoverable via restore_assets). With force=true, deletion is PERMANENT and IRREVERSIBLE. Side effect: moves/deletes assets. Args: asset_ids: List of asset UUIDs to delete. force: false (default) = move to trash (recoverable). true = PERMANENTLY delete (no undo). Returns: JSON with count deleted and whether force was used.

ParameterTypeDescription
asset_ids *array
forceboolean

empty_trash

Permanently delete ALL assets currently in trash. DESTRUCTIVE and IRREVERSIBLE. Use this only after confirming the user wants to purge all trashed items. For deleting specific assets, use delete_assets instead. Side effect: permanently destroys all trashed assets and frees storage. Returns: JSON with success confirmation.

restore_trash

Restore ALL trashed assets back to the library. Use this to undo an accidental bulk deletion. For restoring specific assets only, use restore_assets instead. Side effect: moves all trashed assets back to the active library. Returns: JSON with success confirmation.

restore_assets

Restore specific assets from trash back to the active library. Use this to selectively recover accidentally deleted photos. For restoring everything at once, use restore_trash instead. Side effect: moves specified assets out of trash. Args: asset_ids: List of asset UUIDs currently in trash to restore. Returns: JSON with count of restored assets.

ParameterTypeDescription
asset_ids *array

get_duplicates

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, an…

ParameterTypeDescription
album_idstring

resolve_duplicates

Resolve duplicate groups by choosing which assets to keep and which to trash. Use this after reviewing results from get_duplicates. Trashed assets can still be recovered via restore_assets. Side effect: moves rejected duplicates to trash. Args: groups: List of dicts, each with: duplicateId (from get_duplicates), assetIds (UUIDs to KEEP), trashIds (UUIDs to TRASH). Returns: JSON with count of resolved groups.

ParameterTypeDescription
groups *array

list_tags

List all tags in the library. Use this to discover existing tags before creating new ones or to find a tag ID for tagging operations. Read-only. Returns: JSON with total count and tags array (each with id, name, color).

get_tag

Get details for a specific tag. Use this to inspect a tag's properties. Read-only. Args: tag_id: The tag's UUID (from list_tags). Returns: JSON with tag id, name, color, and usage count.

ParameterTypeDescription
tag_id *string

create_tag

Create a new tag for categorizing assets. Use list_tags first to avoid duplicates. Side effect: creates a new tag in Immich. Args: name: Tag display name (e.g. 'Vacation', 'Family', 'Work'). Must be unique. color: Optional hex color for the tag (e.g. '#FF5733'). Returns: JSON with the new tag's id, name, and color.

ParameterTypeDescription
name *string
colorstring

update_tag

Update a tag's color. Side effect: changes apply to all assets using this tag. Immich's API cannot rename a tag (TagUpdateDto only carries `color`); to rename, create_tag with the new name, tag_assets, then delete_tag the old one. Args: tag_id: The tag's UUID. name: Not supported by Immich — passing it returns an error explaining the workaround. color: New hex color (e.g. '#FF5733'). Omit to keep current. Returns: JSON with the updated tag object.

ParameterTypeDescription
tag_id *string
color
name

delete_tag

Delete a tag and remove it from all assets. The assets themselves are unaffected. Side effect: permanently deletes the tag (cannot be undone). Args: tag_id: The tag's UUID to delete. Returns: JSON with success, the deleted tag's id and tag_id.

ParameterTypeDescription
tag_id *string

tag_assets

Apply a tag to multiple assets at once. Use this to bulk-categorize photos (e.g. tag all vacation photos). Side effect: adds tag association to assets. Args: tag_id: The tag UUID to apply (from list_tags or create_tag). asset_ids: List of asset UUIDs to tag. Must not be empty. Returns: JSON with tag_id, count tagged, and per-asset results.

ParameterTypeDescription
asset_ids *array
tag_id *string

untag_assets

Remove a tag from multiple assets. The tag itself remains; only the association is removed. Side effect: removes tag-to-asset links. Args: tag_id: The tag UUID to remove from assets. asset_ids: List of asset UUIDs to untag. Must not be empty. Returns: JSON with tag_id, count untagged, and per-asset results.

ParameterTypeDescription
asset_ids *array
tag_id *string

upload_asset

Upload a local photo or video file to Immich. Use this to ingest new media into the library. Constraints: max 25MB, allowed types: jpg, jpeg, png, heic, mp4, mov, gif, webp. Symlinks are rejected for security. The original file is NOT modified or deleted. Side effect: creates a new asset in Immich. Args: file_path: Absolute path to the local file (e.g. '/tmp/photo.jpg'). Must exist. album_id: Optional album UUID to add the uploaded asset to immediately. Returns: JSON with new asset id, filename, size_mb, and album assignment status if applicable.

ParameterTypeDescription
file_path *string
album_idstring

list_assets

List assets with simple filters (no search query needed). Use this to browse the library by status (favorites, archived, trashed) or type. For finding specific content, use search_metadata (structured) or search_smart (visual AI). Read-only. Args: is_favorite: true = only favorites, false = only non-favorites, omit = all. is_archived: true = only archived, false = only non-archived, omit = all. is_trashed: true = only trashed items; false/omit = active library (Immich never mixes both). asset_type: 'IMAGE' or 'VIDEO'. Omit for both. page: Pa…

ParameterTypeDescription
asset_typestring
is_archived
is_favorite
is_trashed
pageinteger
sizeinteger

get_export_preview

List what export_pdf would include (id, type, filename, date, place, people, video duration) so you know which assets exist before looking at images and writing captions. Pass exactly one of album_id / asset_ids. Read-only. The result also carries `options`: every choice export_pdf accepts, with its default. When the user asked for a PDF without saying how they want it, show them these choices and ask (layout, cover pages, which video moments, captions) before exporting; when they did give specs, or just want "a PDF, defaults are fine", export directly. Args:…

ParameterTypeDescription
album_idstring
asset_idsarray
limitinteger

export_pdf

Build a PDF (cover, index, places, one section per asset) from an album or a list of assets, on the machine running this server. Immich metadata (date, place, camera, people, tags) is always included; pass `captions` {asset_id: text} with what you saw to add your analysis. Video frames go straight into the PDF and cost no tokens (up to 120 per video). The PDF never enters the conversation unless return_base64=True. If the user asked for a PDF without saying how they want it, call get_export_preview first and ask them about the choices it lists. Keep the selection c…

ParameterTypeDescription
album_idstring
asset_idsarray
captionsobject
confirmboolean
coverboolean
footerstring
frame_captionsobject
frame_intervalnumber
frame_sizestring
frame_timesobject
frames_per_videointeger
headerboolean
image_sizestring
indexboolean
languagestring
layoutstring
limitinteger
mapboolean
orderstring
output_pathstring
placesboolean
return_base64boolean
titlestring
videos_positionstring

list_memories

List memories — Immich's "on this day" collections of photos from past years. Use this to build a 'tal día como hoy' story, album or PDF: each memory carries the year it looks back to and the assets Immich picked for it. Read-only. Args: for_date: ISO date — return the memories Immich shows on that day (e.g. today for the classic on-this-day feed). Omit for all memories. is_saved: If true, only memories the user saved; if false, only unsaved. size: Maximum memories to return (default 50). Returns: JSON with total and a memories array;…

ParameterTypeDescription
for_datestring
is_saved
sizeinteger

create_memory

Create an "on this day" memory from chosen assets. Use this after curating a set of photos from the same past date (e.g. via search_metadata with a date range) to make them show up in Immich's memories feed. Side effect: creates a memory on the server. Args: memory_at: ISO date the memory is shown on (usually today's month and day). year: The past year the memory looks back to (required by Immich). asset_ids: Assets to include. May be empty, but an empty memory shows nothing. Returns: JSON with the created memory's id, type, memory_at, the year it…

ParameterTypeDescription
memory_at *string
year *integer
asset_ids

update_memory

Update a memory: save it for later, move its date, or mark it seen. Side effect: modifies the memory on the server. Args: memory_id: The memory to update. is_saved: True to save the memory, false to unsave it. memory_at: New ISO date to show the memory on. seen_at: ISO timestamp marking when the user viewed it. Returns: JSON with the updated memory.

ParameterTypeDescription
memory_id *string
is_saved
memory_atstring
seen_atstring

delete_memory

Delete a memory. The photos stay in the library — only the memory entry goes away. Side effect: removes the memory from the server. Args: memory_id: The memory to delete. Returns: JSON confirming the deletion.

ParameterTypeDescription
memory_id *string

get_timeline_buckets

Month-by-month map of the library: one bucket per month with its asset count. Use this before fetching assets — it shows in one cheap call which months hold photos and how many, ideal for finding gaps, busy periods, or navigating a large library without paging through everything. Read-only. Args: album_id: Only count assets in this album. person_id: Only count assets showing this person. tag_id: Only count assets carrying this tag. is_favorite: If true, only count favorites. order: 'desc' for newest month first (the default), 'asc' for…

ParameterTypeDescription
album_idstring
is_favorite
orderstring
person_idstring
tag_idstring

get_timeline_bucket

The assets of one month bucket from get_timeline_buckets. Use the two tools together to walk a library month by month without expensive searches. Read-only. Args: time_bucket: The bucket key exactly as get_timeline_buckets returned it (e.g. '2026-03-01'). album_id: Only assets in this album. person_id: Only assets showing this person. tag_id: Only assets carrying this tag. is_favorite: If true, only favorites. Returns: JSON with an assets array; each row has asset_id, date, is_image, is_favorite, duration, city and country.…

ParameterTypeDescription
time_bucket *string
album_idstring
is_favorite
person_idstring
tag_idstring

get_calendar_heatmap

How many photos per day, over a date range — the data behind a calendar heatmap. Use this to find gaps (months with nothing), busy periods, or to check a library's health at a glance without listing assets. Immich 3.x answers natively; on Immich 2.x the same shape is built from the timeline (taken dates only), which costs one request per month in the range, so pass the narrowest range that answers the question. Read-only. Args: from_date: ISO date lower bound (e.g. '2026-01-01'). Omit for the server default on Immich 3.x; on 2.x an omitted bound m…

ParameterTypeDescription
from_datestring
heatmap_typestring
to_datestring

create_stack

Group near-identical assets (a burst, retries of the same shot) into one stack. The library then shows the stack as a single item fronted by its primary asset, which keeps every shot without the visual clutter — a gentler cleanup than deleting. The first id becomes the primary. Side effect: creates the stack on the server. Args: asset_ids: The assets to group, at least two. Order matters: the first is the cover. Returns: JSON with the new stack's id, primary_asset_id and asset list.

ParameterTypeDescription
asset_ids *array

list_stacks

List every stack in the library. Use this to see what is already grouped before creating new stacks or to find a stack's id. Read-only. Args: primary_asset_id: Only the stack fronted by this asset. Returns: JSON with total and a stacks array (id, primary_asset_id, assets).

ParameterTypeDescription
primary_asset_idstring

get_stack

One stack with its assets. Use this after list_stacks to see everything a group holds before changing its cover or dissolving it, or to check what create_stack actually grouped. Read-only. Args: stack_id: The stack to fetch. Returns: JSON with id, primary_asset_id and the asset list.

ParameterTypeDescription
stack_id *string

update_stack

Change which asset fronts a stack (the one the library shows). Side effect: updates the stack on the server. Args: stack_id: The stack to update. primary_asset_id: The asset that should become the cover. It must already belong to the stack. Returns: JSON with the updated stack.

ParameterTypeDescription
primary_asset_id *string
stack_id *string

delete_stack

Dissolve a stack. The assets are NOT deleted — they simply show as individual items again. Side effect: removes the grouping on the server. Args: stack_id: The stack to dissolve. Returns: JSON confirming the deletion.

ParameterTypeDescription
stack_id *string

list_users

The users visible on this Immich server. Use this to find the id that create_partner needs, or to see who could be shared with. Read-only. Returns: JSON with total and a users array of {id, name, email}.

list_partners

Who shares their library with this account, and who this account shares with. Partner sharing is Immich's family feature: each side keeps its own library but can see the other's. Read-only. Returns: JSON with shared_with_me and shared_by_me arrays (id, name, email, in_timeline).

create_partner

Share this account's library with another user on the server. The other user will see these photos next to their own. Find the id with list_users. Side effect: grants the user read access to the whole library. Args: user_id: The user to share with. Returns: JSON with the new partner entry.

ParameterTypeDescription
user_id *string

update_partner

Show or hide a partner's photos inside the main timeline (they stay reachable either way). Only works on a partner who shares their library with this account (someone in shared_with_me), because the flag controls how THEIR photos appear in THIS timeline. Side effect: updates the setting on the server. Args: user_id: The partner whose setting changes. in_timeline: True to mix their photos into the timeline, false to keep them separate. Returns: JSON with the updated partner entry.

ParameterTypeDescription
in_timeline *boolean
user_id *string

remove_partner

Stop sharing this account's library with a user. Their own photos are not touched. Side effect: revokes their access. Args: user_id: The user to unshare with. Returns: JSON confirming the removal.

ParameterTypeDescription
user_id *string

list_activities

Comments and likes on a shared album, newest context included. Use this to read what the people an album is shared with have said about it or about one of its photos. Read-only. Args: album_id: The album whose activity to read. asset_id: Only activity on this asset within the album. activity_type: 'comment' or 'like'. Omit for both. Returns: JSON with total and an activities array (id, type, comment, asset_id, user name, created_at).

ParameterTypeDescription
album_id *string
activity_typestring
asset_idstring

create_activity

Post a comment (or a like) on a shared album or on one asset in it. Side effect: the activity appears for everyone the album is shared with. Args: album_id: The album to comment on. comment: The comment text. Leave empty when sending a like. asset_id: Attach the comment/like to this asset instead of the album. like: True to send a like instead of a comment. Returns: JSON with the created activity's id and type.

ParameterTypeDescription
album_id *string
asset_idstring
commentstring
likeboolean

delete_activity

Remove one comment or like. Side effect: deletes it for everyone. Args: activity_id: The activity to remove (from list_activities). Returns: JSON confirming the deletion.

ParameterTypeDescription
activity_id *string

get_download_info

How big the zip of an album or selection would be, BEFORE building it. Use this to warn the user about the size (originals and videos add up fast) and then decide whether to call download_archive. Read-only. Args: album_id: Size the whole album. asset_ids: Or size just these assets. Returns: JSON with total_size_mb, asset_count and the number of archives Immich would split the download into.

ParameterTypeDescription
album_idstring
asset_ids

download_archive

Download an album or a selection as one zip of the original files, written to a local path. Use get_download_info first when the size matters. The file is streamed to disk (safe for big albums) and an existing file is never overwritten. Side effect: writes a file on the machine running the server. Args: output_path: Where to write the zip (an existing file is refused). album_id: Download the whole album. asset_ids: Or download just these assets. Returns: JSON with path, bytes written and how many assets went in, or an error.

ParameterTypeDescription
output_path *string
album_idstring
asset_ids

review_assets

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 expl…

ParameterTypeDescription
asset_ids *array
verdict *string
reasonstring

record_action

Remember something the plugin did to assets and why, for audit or undo: which album they went into and from what prompt, what date they had before a fix, why they were rotated. Side effect: writes the plugin's metadata key on each asset; other apps' keys are untouched. Args: asset_ids: The assets the action touched. action: Short verb-like label (e.g. 'added_to_album', 'date_fixed', 'rotated'). detail: Free text with the context worth keeping (album name, previous value, the user's request). Returns: JSON with success, the number of ass…

ParameterTypeDescription
action *string
asset_ids *array
detailstring

get_asset_notes

The plugin's notes on one asset: past review verdicts with reasons and recorded actions, newest last. Empty lists when it was never annotated. Read-only. Args: asset_id: The asset to read. Returns: JSON with asset_id, reviews [{at, verdict, reason}] and actions [{at, action, detail}].

ParameterTypeDescription
asset_id *string

get_assets_notes

Which of these assets already carry notes, and their last verdict — the call that lets a cleanup pass skip what an earlier session reviewed. Immich cannot search this metadata, so the server is asked once per asset (no tokens spent on the ones without notes). Read-only. Args: asset_ids: The candidates to check (an album's assets, a search result). Returns: JSON with checked (how many were asked), annotated (one compact row per asset that has notes — asset_id, last_verdict, last_reason, last_review_at, and the reviews/actions counts) and a failed array…

ParameterTypeDescription
asset_ids *array

clear_asset_notes

Forget the plugin's notes on assets (reviews and actions). Only the plugin's own key is removed; metadata other apps stored stays. Side effect: deletes the notes on the server. Args: asset_ids: The assets to clear. Returns: JSON with success, how many assets were cleared, and a failed array of {asset_id, error}. Success is true only when nothing failed.

ParameterTypeDescription
asset_ids *array