search_with_context
Search an Obsidian vault and retrieve matching lines with surrounding context for better understanding.
Instructions
Search the vault with surrounding line context for each match.
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_with_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query | |
| path | No | Limit to path | |
| limit | No | Max results | |
| format | No | Output format | |
| case | No | Case-sensitive search |