get_file
Read files from Obsidian vaults to access content, supporting YAML frontmatter parsing for structured data extraction.
Instructions
Read a file from a vault
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": {
"vault": "<vault>",
"filepath": "<filepath>"
},
"name": "get_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault | Yes | Vault identifier | |
| filepath | Yes | Path to the file | |
| parseFrontmatter | No | Parse YAML frontmatter (default: false) |