Wikipedia Full-Text Search
wikimedia-rest.pages.searchSearch Wikipedia article titles and content by full-text query, returning ranked titles, highlighted excerpts, short descriptions, and thumbnails for a selected language edition.
Instructions
Full-text search across Wikipedia article titles and content. Returns matching page titles, highlighted excerpts, short descriptions, and thumbnails, ranked by relevance. Select the language edition with lang (default en). Data: MediaWiki REST API (wikipedia.org/w/rest.php/v1), no auth required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Wikipedia language edition subdomain code (default en, e.g. de, fr, ja, zh-yue) | |
| limit | No | Maximum number of results to return, 1-50 (default 10) | |
| query | Yes | Full-text search query (e.g. "einstein relativity") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |