search_vault
Search your Obsidian vault for notes using text or regex, filtered by title, tag, creation/modification dates, and specific folders. Retrieve full content or contextual snippets with pagination and match limits.
Instructions
Search Obsidian vault for notes matching criteria.
Args:
query: Text or regex pattern to search for
query_type: "text" or "regex"
search_in_path: Limit search to specific folder
title_contains: Filter by title (string or array)
title_match_mode: "any" or "all" for multiple title terms
tag: Filter by tag (string, array, or JSON string like title_contains)
tag_match_mode: "any" or "all" for multiple tag terms
context_length: Characters of context around matches
include_content: Return full note content
modified_since/until: Filter by modification date (YYYY-MM-DD)
created_since/until: Filter by creation date (YYYY-MM-DD)
page_size/page: Pagination controls
max_matches_per_file: Limit matches per file
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context_length | No | ||
| created_since | No | ||
| created_until | No | ||
| include_content | No | ||
| max_matches_per_file | No | ||
| modified_since | No | ||
| modified_until | No | ||
| page | No | ||
| page_size | No | ||
| query | No | ||
| query_type | No | text | |
| search_in_path | No | ||
| tag | No | ||
| tag_match_mode | No | any | |
| title_contains | No | ||
| title_match_mode | No | any |