Mediastack Latest News
mediastack_latest_newsGet the latest news headlines. Optionally filter by category, country, or language. Returns the most recent articles with titles, descriptions, sources, and URLs.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"_apiKey": "your-mediastack-api-key"
},
"name": "mediastack_latest_news"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results to return (1-100, default 25) | |
| _apiKey | Yes | Mediastack API key | |
| countries | No | Comma-separated ISO2 country codes (e.g., "us,gb") | |
| categories | No | Comma-separated categories: business, technology, science, health, sports, entertainment, general |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of articles returned in this response | |
| total | Yes | Total number of latest articles available | |
| articles | Yes | List of latest news articles |