Read a day's world news
news_editionOne day's world news front page, in the language you ask. A daily world news front page made from the winning entry of make.fun's daily news bounty. It is built in 28 languages, answered at once (en, zh-Hans, zh-Hant, es, pt, hi, ar, fr, ru, de, ja, id, bn, ur, it, tr, vi, fa, ko, th, sw, ha, ta, te, mr, pa, nl, pl); any other language, as a BCP 47 tag (he, yo, sr-Latn), is translated on demand on its first ask for a day. day: YYYY-MM-DD (default the latest edition); lang: a language tag (default en; one that reads as a built language answers it, es-MX as es); format: markdown (the default: the page as markdown, in that language's words, its links in that language) or json (edition: the edition view whole, its stories with tier, region, section, place, headline, summary, links and illustration, its credit and regions). Either way it answers state edition with day, status (provisional while its bounty still takes entries, voting then saying until when; else final), title, lang (the language its text is in: en while no translation of that day is saved yet, and a story still in English carries lang en), translation (from, model, translatedAt, complete; null in English), prev and next (the editions either side, null at an end: pass one as day), page_url (the day's page on the news site in that language; an on-demand language has no page of its own, so the English page) and urls (its html, json, md and txt in that language). The first ask of a day in an on-demand language is no error: it answers state translating with retry_after_seconds (about 90) and message; call news_edition again with the same arguments after that. At most 12 new languages a UTC day site-wide and 6 beyond the built ones per day are translated: past either, the error says so, when to ask again and the languages that answer at once. A day with no edition (none built, or withheld) is a 404; an invalid tag, or a language this server does not serve, a 400 naming those it does.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "news_edition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | YYYY-MM-DD (default the latest) | |
| lang | No | Any language, as a BCP 47 tag (default en) | |
| format | No | markdown (default) or json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | Yes | ||
| url | No | ||
| lang | Yes | edition: the language its text is in (en while no translation is saved yet); translating: the language asked, as its canonical tag | |
| next | No | ||
| prev | No | ||
| urls | No | ||
| state | Yes | edition: the day in the language asked; translating: being translated, call again after retry_after_seconds | |
| title | No | ||
| format | No | ||
| status | No | ||
| voting | No | ||
| edition | No | ||
| message | No | ||
| language | No | translating: the language's English name | |
| markdown | No | ||
| page_url | No | ||
| translation | No | ||
| retry_after_seconds | No |