list-persons
Retrieve the catalog of recognized people from your Photos library, sorted by photo count. Use a limit to get only the top-N persons.
Instructions
Use when: you want the catalog of named people from Photos face recognition — e.g. to discover exact person names before filtering query by person, or to see who appears most. Pass limit for the top-N; unidentified faces appear as UNKNOWN. Returns: persons with their photo counts, sorted most-photographed first. Do not use when: you want photos of a person — use query with the person filter; or you want subject tags rather than people — use list-keywords.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Top-N persons | |
| library | No | Path to a .photoslibrary (default: system Photos library) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| persons | No |