Get document content
get_documentRead SiYuan note content as Markdown by fetching the document with its ID or a path like /Notes/My doc.
Instructions
Read a document as Markdown. Accepts a document ID or a human-readable path such as /Notes/My doc. This is the primary way to read note content.
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": "<doc>"
},
"name": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Document ID, or a path like `/Notes/My doc`. |