get_library_section
Reads a library section's paged body, page breaks, optional neighbors, children, figures, and a citation for exact content retrieval from local or cloud libraries.
Instructions
Read one library section: its body (paged with offset/maxChars), page breaks, neighbours/children/figures on request, and a citation to paste (citation.markdown). Section ids are unique per workspace, so library/volume are only needed to narrow a title lookup. Works on cloud libraries connected to the workspace too: pass the library's id, title or path as library — they are read-only and answered from Hillnote Cloud.
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>",
"section": "<section>"
},
"name": "get_library_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Body character offset for paging (use bodyRange.end from the previous call while hasMore) | |
| volume | No | Volume id/folder/title — narrows a title lookup | |
| include | No | Parts to return (default ["body", "neighbors", "pages"]) | |
| library | No | Library id/path/title — narrows a title lookup | |
| section | Yes | Section id (s-…), section file path (documents/<Library>/<Volume>/sections/<file>.md) or exact title | |
| maxChars | No | Max body characters per call (default 6000; 0 = metadata only) | |
| workspace | Yes | Workspace path/name | |
| inlinePageMarkers | No | Insert [p. N] markers into the body at page breaks |