Get document
get_documentRetrieve a document's metadata by ID, including title, correspondent, type, tags, dates, custom fields, notes, and versions. Optionally include OCR text.
Instructions
Fetch one document's metadata by ID: title, correspondent, type, tags, dates, custom fields, notes and available versions. Does not include the OCR text unless include_content is set.
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": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| include_content | No | Include the full OCR text. Can be very large — prefer get_document_content. |