Read source text
documentRead official record text using the exact collection, id and generation returned by search. Start at offset 0 with length 1 to 16,000 characters, then use next_offset unchanged for the next chunk. Does not fetch arbitrary URLs or paths.
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": {
"collection": "<collection>",
"id": "<id>"
},
"name": "document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Stable ID of a known public record. | |
| length | No | Characters to return, from 1 to 16,000. Smaller chunks may be needed to fit the response byte budget. | |
| offset | No | Character offset for the next bounded text chunk. | |
| collection | Yes | Public record collection returned by search. | |
| generation | No | Retained snapshot UUID; omit for the current snapshot. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| text | Yes | ||
| offset | Yes | ||
| coverage | No | Present for exclusion text chunks, with the same source-age policy as detail. | |
| generation | Yes | ||
| provenance | No | Source metadata attached to the retained record. | |
| next_offset | No | ||
| document_kind | Yes |