get_file_content
Retrieve the full text contents of files in your Obsidian vault by providing the file's relative path, making it easy to access notes programmatically.
Instructions
Get the content of a file in the Obsidian Vault.
Args:
file_path: The relative file path from the vault root. Use the exact path
format returned by list_files() or find_files().
Examples: 'notes/meeting-notes.md', 'daily/2024-01-15.md'
This parameter is REQUIRED - you must specify which file to read.
Returns:
The full text content of the file, or an error message if the file
cannot be read or doesn't exist.
Note: Only reads text files. Binary files will return an encoding error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||