Skip to Content
ReferenceToolsWeb Search

Web Search (web_search)

Performs a web search and returns a concise answer with source citations.

Parameters

ParameterRequiredDescription
queryYesSearch query
providerNoProvider to use (dashscope, tavily, google); uses configured default if omitted

Supported providers

ProviderNotes
dashscopeAvailable with API key auth
tavilyHigh-quality with built-in answer generation; requires Tavily API key
googleGoogle Custom Search JSON API; requires API key + Search Engine ID

Configuration

{ "webSearch": { "provider": [ { "type": "dashscope" }, { "type": "tavily", "apiKey": "tvly-..." }, { "type": "google", "apiKey": "...", "searchEngineId": "..." } ] } }

The first provider in the list is the default. Set API keys via environment variables or the env field — do not hardcode secrets.

Confirmation

Requires confirmation before searching.

Last updated on