Get Wikipedia site pageviews
wikipedia_site_pageviews_getRetrieve site-wide pageviews or unique-device totals for a Wikipedia language edition over a chosen date range, with daily or monthly granularity.
Instructions
Get a Wikipedia edition's site-wide pageviews or unique-device totals. Optional inputs: lang, metric, from, to and granularity. Returns a list.
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": {
"context": "<context>",
"llm_model": "<llm_model>"
},
"name": "wikipedia_site_pageviews_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of the window as a real `YYYY-MM-DD` day (read as midnight UTC) or a full ISO 8601 date-time with a zone. | |
| from | No | Start of the window as a real `YYYY-MM-DD` day (read as midnight UTC) or a full ISO 8601 date-time with a zone. | |
| lang | No | Wikimedia edition code, e.g. `en`, `de`, `ja`, `simple` or `zh-min-nan`. Default: `en`. | en |
| metric | No | `views` (default) or `unique_devices`. | views |
| context | Yes | Describe the user's underlying goal in one sentence, not the tool you are calling. | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (for example "claude-opus-4-8" or "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" and do not guess. | |
| granularity | No | `daily` (default) or `monthly`. | daily |
| conversation_id | No | Echo the conversation_id from the server's previous response. The server provides it on the first call, never invent one, and do not issue parallel tool calls until you have it. |