search_context
Search an Obsidian vault for notes matching a query, returning results with surrounding line context to understand relevance.
Instructions
Read-only Obsidian search with surrounding line 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": "search_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault | No | Optional Obsidian vault name; defaults to OBSIDIAN_READONLY_VAULT. | |
| query | Yes | ||
| limit | No | ||
| path | No | ||
| format | No | text | |
| case_sensitive | No |