vault
Search and retrieve content from Obsidian vault Markdown documents to find notes, synthesize information, and answer questions based on saved records.
Instructions
Retrieves and searches the content of Markdown (.md, .mdx) documents stored in an Obsidian vault. Use this tool to find notes related to a specific topic or keyword and understand their core content.
When to use:
When you need to find a specific note by its title or a keyword to check its content.
When you want to synthesize and summarize information scattered across multiple notes.
When looking for answers to questions based on your saved records, such as "What was the project deadline?"
To discover connections by finding all notes that link to a specific note.
When you need to retrieve a list of unfinished tasks (- [ ]) from daily notes or meeting minutes.
Returns the content of the most relevant document(s) in text format. It can also include metadata such as the document's title, tags, and creation date.
Requirements: The user's Obsidian Vault path must be correctly configured in an environment variable or a similar setting. For searches, use the exact filename or include core keywords for content-based queries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The action to perform: search documents, read specific file, list all content, or get stats | |
| keyword | No | Keyword to search for in documents (required for search action) | |
| filename | No | Specific filename to read (required for read action) | |
| limit | No | Maximum number of results to return (default: 10 for search, unlimited for others) | |
| includeContent | No | Whether to include document content in search results (default: true) | |
| includeFrontmatter | No | Whether to include frontmatter metadata in results (default: false) | |
| excerptLength | No | Length of content excerpt to include in search results (default: 500) | |
| quiet | No | If true, suppresses non-error output messages. Default is false. |