List the digital collections
list_collectionsDiscover the Library of Congress digital collections before searching. Each collection includes a filter for targeted queries and an item count to gauge its size.
Instructions
List the digital collections of the Library of Congress: bodies of material a curator chose, described and published together. Use it to see what is there before searching, since a collection names a corpus that a query would have to guess at. 'collection_filter' on each row is the wording search_items takes as its 'collection' argument. 'item_count' is how many records the collection gathers, which is the size of the corpus rather than the number of rows here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Which page of collections, from 1. | |
| limit | No | Collections to return. | |
| max_description_chars | No | Budget for one collection's description. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| notes | Yes | ||
| total | Yes | Collections the Library publishes, not the number returned. | |
| collections | Yes |