top_headlines
Get current top news headlines for any country. Specify country code, language, and limit to retrieve relevant stories.
Instructions
Get the latest news headlines/top stories for a country.
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": "top_headlines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of news articles to return. Default: 500 Allowed values: 1-500 | 500 |
| country | No | Country code. See all available country codes. Default: US | |
| lang | No | The language to use for the results, specified as a 2-letter language code - see ISO 639-1 alpha-2. Default: en |