read_doc
Retrieve decrypted document content from encrypted markdown storage, optionally previewing lines or returning metadata.
Instructions
Read a document's decrypted content.
Args: doc_id: UUID of the document to read lines: Optional - return only the first N lines (for previews) as_markdown: If True, return plain markdown; if False, return JSON with metadata
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": {
"doc_id": "<doc_id>"
},
"name": "read_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| lines | No | ||
| as_markdown | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |