globalise_retrieve_document
Fetch one page's line-by-line transcription and metadata by document ID or URN, including languages, dates, license, and previous/next page links.
Instructions
Retrieve one page's transcription and metadata by document ID or URN. IDs look like "NL-HaNA_{archive}{inventory}{scan}" (URN form: "urn:globalise:..."). Returns the transcription line-by-line, metadata (languages, dates, license), previous/next page IDs, and links to the web viewer and the National Archives page scan. On very dense pages trailing lines may be trimmed to fit the response — text.truncated is then true and text.totalLines gives the full count (use globalise_view_document_ui for the complete page). To search by keywords use globalise_search_transcriptions; for sequential browsing use globalise_navigate.
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": {
"documentId": "<documentId>"
},
"name": "globalise_retrieve_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | Document ID or URN (e.g., "NL-HaNA_1.04.02_9966_0106" or "urn:globalise:NL-HaNA_1.04.02_9966_0106") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| text | No | ||
| urls | No | ||
| archive | No | ||
| document | Yes | ||
| metadata | No | ||
| navigation | No | ||
| scanNumber | Yes | ||
| inventoryNumber | Yes |