search_with_context
Search notes and view content snippets to preview matches, helping you judge relevance without opening each note.
Instructions
Search notes and return results with content snippets/context. Useful for previewing search results without opening each note.
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 |
|---|---|---|---|
| limit | No | Maximum number of results (default: 10). | |
| query | Yes | Search query. | |
| contextLength | No | Length of context snippet to show (default: 150). |