web-search
web_searchSearch the web and read the top pages in ONE call: 10 results (title, url, snippet, date) plus the clean text of the best pages, with fetch time and sha256. French and Canada by default when the query is French; official-sources mode (governments, registries, courts, laws); freshness filter; site: restriction. No results = HTTP 404 = you are not charged. Input: query, optional read (0-5), official, lang, country, freshness, site. Costs $0.008 USDC per call (x402 v2, Base). Send the HTTP header PAYMENT-SIGNATURE with your x402 payment, or call POST https://tolca.tonbot.ca/v1/web-search with an x402 client.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | ||
| read | No | Top pages to fetch and return as clean text (default 3) | |
| site | No | Restrict to one domain | |
| query | Yes | Question or keywords; Brave operators allowed (site:, "exact", -word) | |
| country | No | ISO country to prioritize (default CA) | |
| official | No | Only governments, registries, courts, laws | |
| freshness | No |