Read a page
fetchFull OCR text of a page (id "<doc_id>:" from search) or of up to 5 consecutive pages ("<doc_id>:-"), with book, author, volume, printed page, prev/next ids, url (the text page, else the scan) and scan_url (the scanned page). Inline tags mark , , , , . A page without OCR says so. A contents page lists its entries with the id and url of the page each one links to.
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": {
"id": "<id>"
},
"name": "fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id exactly as search returned it (it may end in "?b=…&q=…", which makes the returned url highlight the passage), or "<doc_id>:<page>" / "<doc_id>:<page>-<page2>" (max 5 pages). | |
| query | No | Optional: words to highlight on the page (the search words). |