Search
searchSearch for works in the Digital Collections using field-based and/or natural language queries. If both a natural language query and specific field values are provided, the natural language query will take priority, using the specified field values as additional constraints. The result will also include a list of aggregations that show how many results match different values for certain fields. For example, you could see how many results match each collection, work type, or visibility and use that information to refine your search. Perform an empty search to retrieve all works and their aggregations. NOTE: Structured field values enclosed in double quotes will be treated as exact, case-sensitive matches, while unquoted values will be treated as full-text searches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | The page of search results to return | |
| query | No | A natural language query. Best for exploratory / conceptual searches. | |
| fields | No | Structured field search. Best when searching for specific known items or values, or for narrowing a search by specifying particular fields to search within. | |
| max_results | No | The maximum number of search results to return per page | |
| public_only | No | Only include publicly available works in search results |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The search results returned from the Digital Collections API | |
| info | Yes | ||
| explain | No | The explain output from Elasticsearch for the search query. Only included if the MCP is running in debug mode. | |
| pagination | Yes | ||
| aggregations | No |