Ask the wiki
wiki_queryAnswers questions about past work by ranking wiki pages and session transcripts, helping you recover prior decisions and fixes before redoing work.
Instructions
Start here for questions about the user's past work ('what did I decide about X', 'how did I fix Y'), in any language: session pages keep the user's original request. Ranks wiki/ pages by keyword matches, rare words weighted higher (no LLM, no embeddings); service pages are skipped and project overview pages rank below sessions. Sessions that name the same tool or topic as two or more top hits rank too, marked 'via '. If no wiki page matches, it falls back to raw transcripts (see include_raw). Returns up to max_pages paths with a ~400-character snippet each, plus the start of wiki/overview.md; with no match, the start of wiki/index.md. Read-only. Open a full page with wiki_read_page; use wiki_search for exact wording.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes | Natural-language question or keyword(s) to search for. | |
| max_pages | No | Maximum pages to return (default 5). | |
| include_raw | No | Raw session transcripts: true = always rank them too, false = never. Omit it to read them only when no wiki page matches. |