Wikipedia summary or full article text in any language
wikipediaWikipedia summary or full article text in any language. Finds the best matching Wikipedia article for a query and returns title, short description, summary, URL and thumbnail; full=true adds the plain-text article. Cached 1 h. Price $0.005 per call (x402: USDC on Base or Solana).
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": {
"q": "<q>"
},
"name": "wikipedia"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | ||
| tx | No | Alternative to the X-Payment-Tx header | |
| full | No | Include the full article text | |
| lang | No | en | |
| max_chars | No |