List the digital collections
list_collectionsList Library of Congress digital collections to find curated corpora and the collection filters needed before searching catalogue items.
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, and 'searchable_media_types' names the catalogues that filter can be sent to. A collection whose 'searchable_media_types' is empty gathers a kind of thing the catalogue search is not divided into, such as web archives; set 'searchable_only' to leave those out. 'item_count' is how many records the collection gathers, which is the size of the corpus rather than the number of rows here.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_collections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Which page of collections, from 1. | |
| limit | No | Collections to return. | |
| searchable_only | No | Keep only the collections whose formats name a media_type, which are the ones search_items can be asked for. | |
| 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 |