Search Library of Congress
loc_searchSearch Library of Congress digital collections on loc.gov. Optionally limit to a format (photos, maps, books…) or a collection slug.
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": "loc_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Search terms | |
| cursor | No | next_cursor from a previous response | |
| format | No | ||
| per_page | No | 1-100 (default 20) | |
| collection | No | Collection slug from loc_list_collections |