Get Document
get_documentRetrieve document metadata by ID, excluding OCR content to keep responses small. For full text, use get_document_content or create a download link.
Instructions
Fetch one document by ID.
OCR content is stripped to keep responses small. Call
get_document_content for a bounded preview, or use
create_download_link with the content variant when available.
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": {
"document_id": "<document_id>"
},
"name": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| tags | No | ||
| added | No | ||
| notes | No | ||
| owner | No | ||
| title | Yes | ||
| content | No | ||
| created | Yes | ||
| web_url | No | ||
| modified | No | ||
| page_count | No | ||
| created_date | No | ||
| storage_path | No | ||
| correspondent | No | ||
| custom_fields | No | ||
| document_type | No | ||
| user_can_change | No | ||
| archived_file_name | No | ||
| original_file_name | No | ||
| archive_serial_number | No |