latest_news
Fetch recent headlines newest first, filtered by source, language, country, category, or look-back window for news queries.
Instructions
Most recent headlines, newest first. Use for "what's the news", "latest from Ecuador", "what does DW say today", "tech news". All filters are optional and combine with AND.
Args:
source: feed id from `sources()` (e.g. "elcomercio", "bbc-mundo", "dw-de").
lang: ISO 639-1 language of the original items (e.g. "es", "en", "de", "fr", "ar", "ja").
country: ISO 3166 alpha-2 country of the outlet (e.g. "EC", "US", "DE"); "INT" = international.
category: one of general, politics, economy, science, tech, sport.
hours: look-back window in hours (default 24; up to ~336 = two weeks).
n: max items (default 15, max 50).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| lang | No | ||
| hours | No | ||
| source | No | ||
| country | No | ||
| category | No |