obsidian_get_file_contents
Retrieve content from Obsidian vault files using the MCP server to access specific document text for processing or analysis.
Instructions
Return the content of a single file in your 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": {
"filepath": "<filepath>"
},
"name": "obsidian_get_file_contents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | Path to the relevant file (relative to your vault root). |