Sources
sourcesReturn available NewsAPI publisher sources, filterable by category, language, and country. Returns source id, name, description, URL, and category — use source ids to filter top_headlines or everything.
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": {
"category": "business",
"language": "en"
},
"name": "sources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | ||
| category | No | ||
| language | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | API response status | |
| sources | No | Array of news source objects |