obsidian_search
Find any text across your Obsidian notes, with full content for short notes and relevant context for longer ones.
Instructions
Search all notes for a text string. Short notes are returned in full; longer ones show surrounding context.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Text to search for (case-insensitive) | |
| context_lines | No | Lines of context around each match |