brain_index
Check, rebuild, or sync the semantic index for TheBrain to fix missing-index errors and incorporate new material.
Instructions
Manages the semantic index: status, build, refresh. Call with action=status when brain_search complains the index is missing; with action=rebuild to build it for the first time or after changing the model; with action=sync to pull in changes (fast, new material only). The first build on a large brain takes minutes.
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": {
"brainId": "<brainId>",
"action": "<action>"
},
"name": "brain_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | status — look only; rebuild — build from scratch; sync — catch up. | |
| brainId | Yes | Brain identifier. Take it from brain_list — never guess it. |