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.
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. |