open_library
Opens a Hillnote library or specific section so users can view its landing page or a cited passage after searching, instead of opening it as a document.
Instructions
Open a library (📚 folder of sectioned volumes) in the running Hillnote app so the user can see it: its landing page (volumes, outlines, search, Import/Reindex/Share), or one section document when section is given. Libraries are folders, not documents — use this instead of open_document for them. Accepts the same library/volume/section references as the library tools (ids, paths, titles). Use after search_library/get_library_section to show the user the passage you cited.
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": {
"workspace": "<workspace>",
"library": "<library>"
},
"name": "open_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| volume | No | Optional volume id, folder or title (used to disambiguate `section`; the landing page opens either way) | |
| library | Yes | Library id (lib-…), path (documents/<Library>) or title (from list_libraries) | |
| section | No | Optional section id (s-…), section file path or exact title — opens that section document instead of the landing page | |
| workspace | Yes | Workspace path or name | |
| focusWindow | No | Bring the Hillnote window to the front (default true) |