Web Search
web_searchSearch the web using the Brave Search API to get titles, URLs, descriptions, and snippets. Avoid IP blocks by using your own API key for queries.
Instructions
Search the web using the Brave Search API. Returns titles, URLs, descriptions, and snippets.
This tool replaces the native web_search with anti-detection capabilities — queries go through the Brave Search API with your own API key, avoiding IP blocks.
Args:
query (string, required): Search query. Keep it short and specific (1-6 words).
count (number, optional): Number of results, 1-20. Default: 10.
offset (number, optional): Pagination offset. Default: 0.
country (string, optional): Two-letter country code for localized results.
search_lang (string, optional): Language code (e.g., 'en').
freshness (string, optional): Time filter — 'pd', 'pw', 'pm', 'py', or 'YYYY-MM-DDtoYYYY-MM-DD'.
Returns: Search results with title, url, description for each result. Includes extra_snippets when available.
Examples:
"latest Node.js release" -> query="Node.js latest release", freshness="pw"
"Python asyncio tutorial" -> query="Python asyncio tutorial"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of results to return (max 20) | |
| query | Yes | Search query string (1-6 words recommended for best results) | |
| offset | No | Offset for pagination | |
| country | No | Two-letter country code for localized results (e.g., 'us', 'gb', 'de') | |
| freshness | No | Time filter: 'pd' (past day), 'pw' (past week), 'pm' (past month), 'py' (past year), or date range 'YYYY-MM-DDtoYYYY-MM-DD' | |
| search_lang | No | Search language code (e.g., 'en', 'fr', 'de') |