Enum WebSearchTool.Provider
Specifies the search provider to use with WebSearchTool.
public enum WebSearchTool.Provider
Fields
DuckDuckGo = 0DuckDuckGo HTML search. Free, no API key required. Privacy-focused search engine with good general results.
Brave = 1Brave Search API. Requires API key. High-quality results with free tier (2000 queries/month). Get API key at: https://brave.com/search/api/
SearXNG = 2SearXNG meta-search engine. Can be self-hosted. Aggregates results from multiple search engines. Privacy-focused with many public instances available.
Tavily = 3Tavily AI search API. Requires API key. Optimized for AI/RAG applications with semantic search. Get API key at: https://tavily.com/
Serper = 4Serper Google Search API. Requires API key. Provides Google search results via API. Get API key at: https://serper.dev/
Custom = 99Custom search endpoint. Configure via BaseUrl. Use placeholders {query} and {maxResults} in URL.