Download document
Returns a previously uploaded document as a Base64-encoded string with metadata (MIME type, file name, size).
get_document
Authorization
Authorization string header required API key in the format
ll_.... Pass as a Bearer token in the OAuth flow. Scopes
journal:read
Parameters
document_id string (uuid) required UUID of the document (from email inbox or REST upload)
Response
200
Success
MCP
JSON get_document {
"tool": "get_document",
"params": {
"document_id": "<string>"
}
} 200 Response
JSON {
"document_id": "<string>",
"original_name": "<string>",
"mime_type": "<string>",
"file_base64": "<string>",
"size_bytes": 1
}