Search Notes
obsidian_search_notesSearches note bodies and frontmatter in the Obsidian vault with case-insensitive matching, returning paginated excerpts with file paths and line numbers so you can locate content quickly.
Instructions
Full-text search across all notes in the vault.
Case-insensitive substring match over note bodies and frontmatter. Returns matching excerpts with up to one line of surrounding context.
Args:
query (string): Search string (case-insensitive, minimum 1 character)
limit (number): Max results per page, 1–100 (default: 20)
offset (number): Pagination offset (default: 0)
response_format: 'markdown' | 'json' (default: 'markdown')
Returns: Paginated list of matches — file path, line number, and context excerpt.
Examples:
Find meeting notes about Q2: query="Q2 meeting"
Find all TODO items: query="- [ ]"
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": {
"query": "<query>"
},
"name": "obsidian_search_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (1–100, default 20) | |
| query | Yes | Search string | |
| offset | No | Number of results to skip for pagination (default 0) | |
| response_format | No | Output format: 'markdown' for human-readable, 'json' for machine-readable | markdown |