get_field_values
Retrieve unique metadata values and counts from Calibre ebook libraries to build facets like tags or authors lists, with filtering and pagination options.
Instructions
Get unique values and their counts for a specific metadata field. Useful for building facets (e.g. list of all tags or authors). field_name: The name of the field. book_ids: Optional list of book IDs to restrict the search to. value_filter: Optional regex to filter values. limit: Max number of values to return (default 50). offset: Offset for pagination.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field_name | No | ||
| book_ids | No | ||
| value_filter | No | ||
| limit | No | ||
| offset | No | ||
| library_name | No |