brain_wiki
Consolidate scattered notes into one searchable wiki page by distilling indexed sources into structured, cross-linked markdown.
Instructions
Generate a wiki page about a topic by distilling everything the index knows into one curated, cross-linked markdown page. Behavior: retrieves up to k source excerpts, an LLM synthesizes a structured page, and the page is written to the wiki directory and indexed immediately (loci's memory-consolidation layer). Requires a working LLM. Usage: use when scattered notes about a topic should become one stable, searchable page; regenerate the same topic to update it.
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": {
"topic": "<topic>"
},
"name": "brain_wiki"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | how many source excerpts to distill (default 12) | |
| topic | Yes | the topic to write the page about |