Search wiki pages
wiki_search_pagesSearch wiki pages by literal words in title, description, or path. Returns matching results with total hit count so you know when results are truncated.
Instructions
Full-text search across ok-wiki pages — the first tool to reach for when asked about anything in the wiki. Matching is substring-ish, not semantic: the default search engine is a database LIKE scan over title, description, and path, so search for literal words that would appear on the page rather than paraphrases. Returns { results, totalHits, suggestions }; results are capped at limit, while totalHits reports the true match count so you can tell when you are seeing a slice.
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": {
"query": "<query>"
},
"name": "wiki_search_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Restrict results to pages whose path starts with this prefix, e.g. "projects/". Applied server-side by the search engine. | |
| limit | No | Maximum results to return (1-50, default 10). Applied client-side; `totalHits` still reports the true match count. | |
| query | Yes | Search terms. Matched substring-ish (database LIKE scan), not semantically — use literal words likely to appear in the page title, description, or path. |