Web search for agents: Google results as clean JSON (title, URL, date)
web_searchUse when an agent needs current web results for a query. Input: q, optional max (1-10, default 5), time_range (day, week, month, year). Output: JSON results with title, URL and date when known, provider and retrieval time. For page text use /v1/web/search-read. Provider failure is not charged. Example: ?q=x402+payment+protocol&max=5 Price: $0.006 USDC (Base or Solana) via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Search query | |
| max | No | Number of results (default 5) | |
| time_range | No | Only results from the past day, week, month or year |