Brain Search
brain_searchUse this BEFORE answering anything about the user's own context — their projects, conventions, decisions, people, infrastructure, past work. Searches the user's Brain files (their brains plus those shared with them); every word of the query is matched on its own, case-insensitively, and files are ranked by how many words hit. Returns the matching files with the surrounding lines so you can decide what to brain_get. Needs a signed-in user.
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 |
|---|---|---|---|
| brain | No | Optional brain to search (owner-handle/name for shared brains). Omit to search all. | |
| query | Yes | Keywords to look for; each word is matched on its own, case-insensitively. |