Get Wikipedia Article Languages
wikipedia_get_languagesList the language editions available for a Wikipedia article. Returns language codes, article titles in each language, and full URLs. Useful for cross-language research and for discovering the correct article title in a target language before fetching it. A popular article exists in hundreds of editions, so pass editions to narrow the answer to the codes you care about — the codes with no article come back under missing, and total_languages still reports the full count. Redirect pages are followed automatically, and source_title reports the resolved article the links belong to. The language parameter specifies which edition to query from.
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": {
"title": "<title>"
},
"name": "wikipedia_get_languages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Article title in the source language edition. A trailing #fragment is accepted and ignored; the characters < > [ ] { } and | cannot appear in a Wikipedia page name. Special: and Media: titles, and interwiki links such as "wikt:cat", name no page. | |
| editions | No | Edition codes to keep, e.g. ["fr", "de", "gsw"]. Each is matched case-insensitively against both edition_code and language_code, so either spelling of a mismatch edition finds it ("gsw" matches the edition whose edition_code is "als"), and so does a legacy code naming it ("nb" for "no"). Omit to list every edition. Every code comes back in exactly one place, none of them a failure: its entry in languages; source_editions when it names the queried edition itself; unknown_editions when it names no Wikipedia edition; missing when the edition has no article for this title. With editions given, an article with no other editions returns an empty languages list instead of failing. | |
| language | No | Wikipedia language edition to query from (default "en"). Examples: "fr", "de", "ja". | en |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| notice | No | Guidance when a requested code names no Wikipedia edition. | |
| missing | No | Requested codes with no article for this title, echoed as they were passed. Each names a real Wikipedia edition whenever the edition registry could check it; while the registry is unavailable an unchecked code lands here instead of unknown_editions. Present whenever editions was given — empty when no code fell here — and absent otherwise. | |
| languages | No | Available language editions excluding the source language. Narrowed to the requested codes when editions was given, and empty when none of them matched. | |
| source_title | No | Resolved article title in the source language edition — the redirect target when the input was an alias. | |
| source_editions | No | Requested codes naming the queried edition itself — the article read here, which is never listed among its own language editions — echoed as they were passed. Either spelling of a mismatch edition counts ("als" and "gsw" while querying "gsw"). Present only when non-empty. | |
| source_language | No | The language edition that was queried. | |
| total_languages | No | Total number of other language editions the article has. Always the unfiltered count, so it exceeds the length of languages whenever editions narrowed the list. | |
| unknown_editions | No | Requested codes that name no Wikipedia edition, echoed as they were passed — a slip such as "jp" for "ja" or "cn" for "zh". Checked against the live edition registry only, so never reported while it is unavailable. Present only when non-empty. |