obsidian_search_context
Search an Obsidian vault for text and return matching lines with surrounding context, so AI agents can quickly locate relevant notes and understand where matches occur.
Instructions
Performs full-text vault search returning contextual lines around matches
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_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| contextLines | No |