get-random-pages
Returns randomly selected wiki pages from a chosen namespace, including titles, page IDs, and namespace IDs, for random sampling or discovery; pass titles to get-pages to fetch content.
Instructions
Returns randomly chosen wiki pages from one namespace, as each page's title, page ID, and namespace ID; the API counterpart of Special:Random. One call's pages are a fair random sample; separate calls can overlap because they read the same ordering from different starting points. There is no continuation; each call picks a new starting point. For page content, pass the titles to get-pages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wiki | No | Wiki to target, as a key from the mcp://wikis/ resources (e.g. en.wikipedia.org), or the full mcp://wikis/ URI. Omit to use the default wiki. | |
| limit | No | Number of wiki pages to draw (1..500) | |
| filter | No | Filter the drawn wiki pages by redirect status | nonredirects |
| namespace | No | Namespace ID to draw wiki pages from |