Search Wiki
page_searchSearch the full text of Yandex Wiki to find relevant pages and files. Returns up to 50 ranked results with titles, URLs, and excerpts for quick discovery.
Instructions
Full-text search across the entire Yandex Wiki. Returns up to 50 results (pages and files) ranked by relevance, each with a title, slug, url, and a text excerpt in content (there is no deeper pagination). Use this to DISCOVER pages, then call page_get with a result's slug to read full content. content is an excerpt of at most ~510 characters cut from wherever the match sits in the page — not the page and not a summary of it, with no highlighting and no guarantee the query terms are even inside it — so treat it as a relevance signal and read the page before answering from it. Wrap multi-word exact phrases in double quotes. Search is global: there is no server-side section filter. slug_prefix and result_type are applied client-side AFTER fetching, so combine them with limit=50 to avoid missing matches. To enumerate a section (or the whole Wiki) rather than search it, use page_get_descendants.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of search results to return (1-50). Use 50 when combining with the client-side filters (slug_prefix/result_type). | |
| query | Yes | Full-text search query over the whole Wiki. Wrap a multi-word exact phrase in double quotes. | |
| result_type | No | Optional client-side filter by result type. | |
| slug_prefix | No | Optional client-side filter: keep only results whose slug equals this prefix or lies under it as a path segment, e.g. 'tech-doc/ml'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | No | ||
| next_cursor | No | ||
| prev_cursor | No |