Skip to main content

Overview

web_search lets the agent query a search engine and get back a ranked list of results with titles, URLs, and snippets. This is useful for current events, recent documentation, or researching topics the model may not know about. The tool is config-gated - it checks for a configured search provider at startup and marks itself unavailable if none is found. This prevents the model from attempting searches that will always fail.

Supported Providers

Privacy-focused search engine with a dedicated API.
Get your key at brave.com/search/api.
Security level: safe | Tier: Standard
string
required
The search query. Be specific - use terms like “site:docs.example.com” to scope searches.
number
default:"10"
Number of results to return. Range: 1-20.

Examples

Response Format

Checking Availability

You can check the current search configuration from the CLI:
Or from within a conversation, the model can check availability programmatically before attempting a search.

Web Fetch

Fetch a specific URL once you have found it via search.

Browser Tools

Browse pages that require JavaScript execution.