Search brain
brain_querySearch your knowledge brain for relevant information. Returns pages ranked by relevance. Optional wing/hall narrow the search to a slice of the brain (e.g. wing="engineering", hall="preference").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hall | No | Optional. Restrict to a hall: "fact", "event", "discovery", "preference", or "advice". | |
| wing | No | Optional. Restrict to a specific wing (top-level area like "engineering", "family"). | |
| as_of | No | Optional. ISO-date string (e.g. "2026-01-15"). When set, returns pages that were valid at that point in time — including superseded versions. Useful for "what did we know in January?" queries. | |
| limit | No | Max results. Defaults to 10. | |
| query | No | Search query. Omit to list all pages by recency. | |
| scope | No | Which brain scope to search. Defaults to all. | |
| include_drawer_previews | No | Optional. When true, each result includes the first ~400 chars of its linked drawer (raw source text) if one exists. Useful to decide whether to call brain_expand for the full text. |