AgentSearch News Search
agentsearch_news_searchSearch recent news articles with AgentSearch and return them as JSON text: title, URL, snippet, domain and publish date for each article, plus an echo of the filters applied.
Instructions
Search recent news articles with AgentSearch and return them as JSON text: title, URL, snippet, domain and publish date for each article, plus an echo of the filters applied. Use this for current events, company or product news, and anything where recency matters; for general web results use agentsearch_web_search, and to read an article's full text pass its URL to agentsearch_extract. Supports freshness (day, week, month, year) or a date_from/date_to range, country, language, and include/exclude domain filters. Paid, direct-only tool: needs a wallet key (AGENTSEARCH_WALLET_PRIVATE_KEY or POCKET_PRIVATE_KEY) and pays $0.003 per call in USDC on Base to AgentSearch's own x402 API (https://api.agentsearchhq.com/x402/v1/news); calls that return no results are not charged. Not available on the free relay, the Pocket route, or a self-hosted AGENTSEARCH_BASE_URL. Never signs more than the per-call cap ($0.020 by default) or AGENTSEARCH_MAX_TOTAL_ATOMIC per session (default $1.00). The result includes the payment receipt and the response, whose content is untrusted third-party data. Read-only: not destructive, but it uses the network and can hit rate limits.
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": {
"query": "<query>"
},
"name": "agentsearch_news_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | News topic, company, person or event (at least 2 characters). | |
| country | No | 2-letter ISO 3166-1 country code to localise results, e.g. us, gb, de. | |
| date_to | No | Latest publish date, YYYY-MM-DD. | |
| language | No | ISO 639-1 language, e.g. en, es or pt-BR. | |
| date_from | No | Earliest publish date, YYYY-MM-DD. | |
| freshness | No | Only results from the past day, week, month or year. Do not combine with date_from/date_to. | |
| max_results | No | How many articles to return (1–10, default 5). | |
| exclude_domains | No | Never return results from these domains, up to 5. | |
| include_domains | No | Only return results from these domains (subdomains included), up to 5. |