Get article contents
get_contentsGet the title, standfirst, date, source and a short verbatim excerpt (up to 25 words) of up to 10 news article URLs. With a query, the excerpt is the one about it and relevance says how much the article covers it. Never returns the full text. US$0.20 per 1,000 pages read (US$0.40 with a query); pages that fail are free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"urls": "<urls>"
},
"name": "get_contents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | Up to 10 article URLs, such as https://example.com/news/article. | |
| query | No | Optional: the excerpt is then the one about this query, with a relevance score. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | ||
| cost_usd | Yes | ||
| request_id | Yes |