Get document
get-documentGet the full content of a document by ID.
WHEN TO USE:
To read a complete policy document or procedure
To review a document before updating it
When you know the document ID (from list-documents or a previous interaction)
RETURNS: The full document — content, title, tags, folder and metadata;
for a stored file its file (name, type, size, SHA-256) and evidence_for,
the live events (an invoice, a bill, a statement balance) that name it.
RELATED TOOLS:
get-document-section returns one search-indexed section from OpenSearch; use it to drill into a search hit. This tool reads the whole document from PostgreSQL, which is the source of truth, so use it for reading and editing
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 | Document ID |