search
Find notes matching a query and return ranked paths, titles, and summaries to read yourself. Use for keywords, names, codes, or quoted phrases; use recall for answers.
Instructions
Find the notes whose words best match a query, best first, with no answer written.
Use it for a name, a code, a quoted phrase or keywords when you will read the notes yourself with read_note; to get an answer to a question, use recall. Fast: no model is called. Returns up to k notes, each with its path, title, summary and rank.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | How many notes, 1 to 50 | |
| query | Yes | Words to look for, or a quoted expression, a code, a name | |
| where | No | Optional: only notes with all these values, e.g. {"team": "ops"} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |