Search Brain
brain_searchSearch the local knowledge base by concrete keywords to retrieve ranked notes with exact-phrase matches; load relevant past work context at session start or when a request relates to earlier work.
Instructions
Search the knowledge base by keyword. Matches exact words (with simple stemming), ranked by BM25, with an exact-phrase match on top. It does not match by meaning, so use the words the note probably contains: product, file, table, error-string and command names. Several guessed keywords in one query work well, because any word can match and notes with more of them rank higher. Use at session start to load context, and whenever a request may relate to earlier work.
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": "brain_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default 10) | |
| query | Yes | Keywords to look for. Concrete names beat a prose description. | |
| project | No | Only this project | |
| category | No | Only this category |