Search Wikipedia
search_wikipediaSearch Wikipedia for encyclopedic facts, sports event schedules, medal tables, officeholder rosters and biographies. Covers multi-sport games and tournaments edition by edition, Olympics, Asian Games, Commonwealth Games, Pan American Games, SEA Games, World Cup, with per-sport competition schedules, session dates, venues, results and medal tables, each on its own article ("Table tennis at the 2026 Asian Games", "Athletics at the 2028 Summer Olympics"). Use it when the article title is NOT predictable from the question, to find the exact title, then read the article body with get_article_extract; when the title IS predictable ("Table tennis at the 2026 Asian Games") skip straight to get_article_extract, since a search snippet is one truncated line. Also the right tool for government composition and officeholder rosters, "current cabinet members of Japan", "list of ministers and their positions", "who is in the German government", "cabinet of 2025", Wikipedia keeps cabinet, ministry, and government lists current for every country. And for general knowledge: "who is X", "what is Y", "history of Z", definitions. Returns matching article titles, snippets, page IDs, word counts. Chain with get_article_extract for the full text or a single section. Cheaper + more structured than scraping web search results; covers ~7M English articles updated continuously by the Wikipedia community.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "artificial intelligence"
},
"name": "search_wikipedia"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results to return (1-50, default 10) | |
| query | Yes | Search query, in ENGLISH, this searches the English Wikipedia, and a query in another language returns 0 hits. Translate non-English questions into English keywords first ("日本现任内阁成员名单" -> "current Japan cabinet members"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | Array of search result objects | |
| total_hits | Yes | Total number of matching articles |