Find a library
find_libraryLook up the public library system for a city or library name and get its library_id, the identifier required by every catalogue, availability, hours and events tool.
Instructions
Find the public library system for a city or library name and get its library_id. Call this first: every other tool needs the library_id. Covers library systems whose catalogue runs on BiblioCommons (e.g. Toronto, Vancouver, Chicago, Seattle, San Francisco, Boston, Ottawa, Calgary).
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": "find_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | A city, region or library name, e.g. "Toronto", "Seattle Public Library", "King County". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| source | Yes | Provenance of the data. | |
| matches | Yes | Best match first. Empty if no supported library was found. |