Search and read
search_and_readSearch the web and read the top pages in one step: returns the top web results plus the full visible text of the top 1-3 pages, each rendered in a real browser. Results that can't be read are skipped for the next one down. Optional filters: freshness (past hour to past year), include_domains / exclude_domains (up to 5 sites each), type "news". The fastest way to answer a question from fresh sources.
$0.005 USDC per call over x402. Failed calls cost nothing. Call without payment to get a quote.
When to use: You have a question and want it answered from current sources in one call: it searches, then reads the top pages for you. Use instead: web_search when the snippets are enough or you want to choose which pages to read (then read_pages). Parameters: query is required. num: how many pages to read, 1-3, default 3. Same freshness, include_domains, exclude_domains, type and country filters as web_search. Returns: the ranked results, plus the full text (up to 12,000 characters each) of the top 1-3 pages that could be read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| num | No | How many pages to read (1-3, default 3). | |
| type | No | "news" searches news articles instead of the whole web. | |
| query | Yes | What to search for. | |
| country | No | Two-letter country code for local results, e.g. "us". | |
| payment | No | Base64 x402 payment payload. Omit it to receive a quote; sign that and call again. | |
| freshness | No | Only results from the past hour, day, week, month or year. | |
| exclude_domains | No | Never results from these sites. | |
| include_domains | No | Only results from these sites, e.g. ["reuters.com"]. |