Search exact text
wiki_searchFind exact text in wiki pages and past session transcripts with a case-insensitive literal substring search. Use it to look up prior decisions and fixes before redoing work.
Instructions
Find exact text: a case-insensitive substring match, line by line, over wiki/ pages, plus raw session transcripts in raw/sessions/ when include_raw=true. term is literal: regex and glob characters have no special meaning. Transcripts are scanned newest first. Returns compact JSON {term, match_count, truncated, files: [{path, hits, lines: [[line, snippet]]}], more_files, scan_incomplete, files_scanned, files_total, skipped_oversize_files}: up to 40 files with up to 3 lines each, snippets of 200 chars centred on the match. The scan stops at 200 matches (truncated), skips files over 4 MiB and reads at most 256 MiB per call (scan_incomplete). Read-only. Use wiki_query instead for ranked, question-style lookup; open a hit with wiki_read_page.
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": {
"term": "<term>"
},
"name": "wiki_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | Yes | Search term (literal substring match). | |
| include_raw | No | Also search raw/sessions/ (default false — only wiki/). |