add-to-album
Add photo UUIDs to a specific album. Returns the album details and counts of newly added, already present, and not found UUIDs.
Instructions
Use when: you have photo UUIDs (from query / find-duplicates) and want to file them into an album — e.g. collecting duplicate extras into a quarantine album, or filing a trip's photos. Returns: the album {uuid, name, path}, addedCount, added (UUIDs newly added), alreadyPresent (UUIDs that were already members — adding is idempotent), and notFound (requested UUIDs that don't exist in the library). Fails only when the album doesn't exist or NO requested photo exists. Do not use when: the album doesn't exist yet — call create-album first; or you want photos OUT of an album — use remove-from-album. Safety: WRITE tool — disabled unless APPLE_PHOTOS_MCP_ENABLE_WRITES=1 (run doctor to check). Changes album membership only: photos are never copied, modified, or deleted, and each target is validated to exist first. Max 100 UUIDs per call. Drives Photos.app via AppleScript (launches it if needed; requires macOS Automation permission — one-time prompt). Writes target the library currently open in Photos.app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Photo UUID(s) to add (1–100, as returned by query) | |
| album | Yes | Album name or UUID (UUID-looking values try the id lookup first) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| added | No | ||
| album | No | ||
| notFound | No | ||
| addedCount | No | ||
| alreadyPresent | No |