Read Vault File
read_fileReads any Obsidian vault file, converting PDFs, Office docs, images, and code files to paginated text or image content. For unknown binaries, returns metadata and status.
Instructions
Read any indexed vault file. Markdown delegates to read_note; PDF/Office/OpenDocument/EPUB/RTF/text/code/data files return locally extracted, paginated text; supported images return MCP image content. Legacy or unknown binary formats return metadata and a clear unsupported status.
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": {
"path": "<path>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | PDF page number. | |
| path | Yes | Vault-relative file path (or resolvable filename). | |
| limit | No | Maximum text lines (default 500). | |
| sheet | No | XLSX sheet name. | |
| slide | No | PPTX slide number. | |
| offset | No | Zero-based extracted-text line offset. |