Search INSPIRE institutions
cern_inspire_search_institutionsFind institutions in INSPIRE-HEP (universities, departments, laboratories) by name words, an exact recorded name, or recid, for the recid that affid:N takes. Free text (University of Washington, Tokyo) returns candidates in INSPIRE's order, not by size: a university's papers often sit under department records whose parent is its "(main)" record, so pick from each record's hierarchy, paper count, and related records, and page on before concluding a unit is absent. legacy_ICN:"NAME" matches one recorded name exactly and case-sensitively (legacy_ICN:"Tokyo U."), using the name in an affiliation from cern_inspire_get_paper (authors[].affiliations[].name or supervisors[].affiliations[].name). If that affiliation has a recid, pass it directly as the query. Each record carries that recorded name (legacyIcn, which aff NAME matches), hierarchy, institution types, cities, country codes, INSPIRE's paper count, parent, successor, and predecessor links, inactive status, and a literatureQuery (affid:N) for cern_inspire_search_literature or cern_inspire_get_citation_summary. affid:N matches one record; join several with or. Returns one page of records; request the next with page and the same limit. Only the first 10,000 results of a query are reachable.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "cern_inspire_search_institutions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1. page × effective limit (after clamping) may not exceed 10,000. | |
| limit | No | Institutions per page (positive integer, default 25; above 1000 uses 1000). | |
| query | Yes | Institution name words (University of Washington, Tokyo); one exact recorded name as legacy_ICN:"NAME" (case-sensitive, e.g. legacy_ICN:"Tokyo U."; legacy_ICN clauses joined with or match nothing); or an institution recid (digits only). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | The limit applied. | |
| page | No | The page returned. | |
| error | No | Present when the call failed. Absent on success. | |
| limit | No | The effective limit after clamping: institutions per page. | |
| shown | No | Number of records on this page. | |
| notice | No | Guidance on an empty or paged result. | |
| hasMore | No | True when INSPIRE has a further page of results. | |
| nextPage | No | The page number to request next, with the same limit, when one exists within the 10,000-result window. | |
| truncated | No | True when more results exist beyond this page. | |
| totalCount | No | Total institution records the query matched. | |
| institutions | No | The institution records on this page, in INSPIRE order. |