web_search
Search the web for any topic or question and return ranked Brave results with title, URL, and snippet, optionally retrieving a bounded number of selected pages. Use this as the general-purpose web search tool; use a platform's own search tool, such as youtube_search or reddit_search, for site-specific results. limit (1 to 50, default 10) is honoured by reading up to 3 result pages, at 3 credits per result page read; country (default us) and language (default en-us) select the result locale. Results include partial source coverage and exact observed work usage.
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": {
"q": "<q>"
},
"name": "web_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | ||
| limit | No | Maximum results to return, 1 to 50; default 10. Larger limits read up to 3 result pages (3 credits per page read). | |
| scrape | No | ||
| country | No | Result country, default us. Allowed values: all, ar, at, au, be, br, ca, ch, cl, cn, de, dk, es, fi, fr, gb, gr, hk, id, in, it, jp, kr, mx, my, nl, no, nz, ph, pl, pt, ru, sa, se, sg, tr, tw, us, za. | |
| language | No | Result language, default en-us. Allowed values: de-de, en-ca, en-gb, en-in, en-us, fi-fi, fr-ca, fr-fr, ja-jp, pt-br, sq-al, sw-ke, zh-tw. | |
| max_credits | No | ||
| scrape_limit | No | ||
| exclude_domains | No | ||
| include_domains | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |