get_document
Retrieve the full original source document behind a citation or a specific page range to provide the context missing from a single cited chunk.
Instructions
Retrieves the full original source document behind a citation, or a specific page/section range of it. Use this when the user wants more context than a single cited chunk provides.
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>",
"doc_id": "<doc_id>"
},
"name": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| page_end | No | ||
| collection | Yes | ||
| page_start | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| content | Yes | ||
| source_path | Yes | ||
| source_type | Yes |