AgentSearch Search + Read
agentsearch_search_and_readSearch the live web and return the top pages as clean markdown in one paid call. Each result includes title, URL, snippet, score, domain and page text.
Instructions
Search the live web and return the top pages as clean markdown in one paid call. Each result includes title, URL, snippet, score, domain and page text. Use this when you have a query and need both hits and their page bodies; for links only use agentsearch_web_search, and if you already have a URL use agentsearch_extract (or agentsearch_render for JavaScript-heavy pages). Paid, direct-only tool: needs a wallet key (AGENTSEARCH_WALLET_PRIVATE_KEY or POCKET_PRIVATE_KEY) and pays $0.005 per call in USDC on Base to AgentSearch's own x402 API (https://api.agentsearchhq.com/x402/v1/search_and_read). Charged only when at least one page has text. 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_search_and_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Keywords or a natural-language question to search for (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_chars | No | Maximum markdown characters per page (1–20000, default 8000). | |
| max_results | No | Alias of num_results, used only when num_results is absent. | |
| num_results | No | How many top results to read (1–5, default 3). | |
| 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. | |
| render_fallback | No | If true, retry at most one empty or thin page in a headless browser (default false). |