apple_photos
Manage Apple Photos libraries by listing albums, searching photos, exporting files, creating albums, importing photos, and accessing recent or favorites.
Instructions
Control Apple Photos. Actions: albums, recent, search, favorites, album_contents, export, count, create_album, add_to_album, import.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Album name | |
| path | No | POSIX path to the photo file | |
| album | No | Album name to add the photo to | |
| query | No | Search keyword | |
| action | Yes | albums: List all photo albums; recent: Get info about 10 most recent photos; search: Search photos by keyword in name or description; favorites: List favorited photos (up to 20); album_contents: List photos in a specific album (up to 20); export: Export a photo to the Desktop by filename; count: Get total number of photos in library; create_album: Create a new photo album; add_to_album: Import a photo file into a specific album; import: Import a photo file into the Photos library | |
| confirm | No | Set to true to confirm a protected/destructive action. Without this, protected actions return a preview instead of executing. | |
| filename | No | Photo filename to export |