Skip to content

Search Toolset

The Search toolset provides web and news search capabilities using various search providers.

Basic Usage

agents:
  researcher:
    model: openai:gpt-5-mini
    tools:
      - type: search
        web_search: tavily  # provider name; the API key is read from TAVILY_API_KEY

web_search and news_search take either a provider name or a provider configuration (type selects the provider):

agents:
  researcher:
    model: openai:gpt-5-mini
    tools:
      - type: search
        web_search:
          type: brave
          api_key: ${BRAVE_API_KEY}
        news_search: serper

Supported Providers

type Name Description
brave BraveSearchConfig Brave Search provider configuration.
dataforseo DataForSEOConfig DataForSEO provider configuration.
exa ExaConfig Exa provider configuration.
jigsawstack JigsawStackConfig JigsawStack provider configuration.
kagi KagiConfig Kagi provider configuration.
linkup LinkUpConfig LinkUp provider configuration.
search1 Search1Config Search1API provider configuration.
serpapi SerpAPIConfig SerpAPI provider configuration.
serper SerperConfig Serper provider configuration.
tavily TavilyConfig Tavily provider configuration.
you YouConfig You.com provider configuration.
type Name Description
brave BraveSearchConfig Brave Search provider configuration.
dataforseo DataForSEOConfig DataForSEO provider configuration.
serpapi SerpAPIConfig SerpAPI provider configuration.
serper SerperConfig Serper provider configuration.
tavily TavilyConfig Tavily provider configuration.
you YouConfig You.com provider configuration.

Available Tools

Search Tools

web_search

Search the web for information.

Parameters:

Name Type Required Description
query string ✓ Search query string.
max_results integer Maximum number of results to return.
country string Country code for regional results.
language string Language code for results.

Hints: read-only, idempotent, open-world

news_search

Search for news articles.

Parameters:

Name Type Required Description
query string ✓ Search query string.
max_results integer Maximum number of results to return.
country string Country code for regional results.
language string Language code for results.

Hints: read-only, idempotent, open-world

Configuration Reference

Search Toolset

Configuration for web/news search toolset.

Search Toolset (YAML)
1
2
3
4
5
tools:
- type: search
  web_search: null  # Web search provider configuration.
  news_search: null  # News search provider configuration.
  namespace: null  # Optional namespace prefix for tool names

Provider Reference

BraveSearchConfig

Brave Search provider configuration.

Uses the Brave Search API for web and news search. Supports country and language filtering.

BraveSearchConfig (YAML)
1
2
3
4
5
web_search:
  type: brave  # Brave Search provider.
  api_key: '!ENV ENV_VAR_NAME'  # Brave Search API key. Defaults to BRAVE_API_KEY env var.
  retries: 0  # Number of retries for failed requests.
  wait_time: 2  # Time to wait between retries in seconds.

DataForSEOConfig

DataForSEO provider configuration.

Uses the DataForSEO API for web and news search. Supports country and language filtering with device/OS options.

DataForSEOConfig (YAML)
1
2
3
4
5
web_search:
  type: dataforseo  # DataForSEO provider.
  login: '!ENV ENV_VAR_NAME'  # DataForSEO login. Defaults to DATAFORSEO_LOGIN env var.
  password: '!ENV ENV_VAR_NAME'  # DataForSEO password. Defaults to DATAFORSEO_PASSWORD env var.
  base_url: https://api.dataforseo.com/v3  # Base URL for the API.

ExaConfig

Exa provider configuration.

Uses the Exa API for neural/semantic web search. Supports domain filtering and date ranges but not country/language.

ExaConfig (YAML)
1
2
3
web_search:
  type: exa  # Exa provider.
  api_key: '!ENV ENV_VAR_NAME'  # Exa API key. Defaults to EXA_API_KEY env var.

JigsawStackConfig

JigsawStack provider configuration.

Uses the JigsawStack API for web search with AI overview. Limited filtering options.

JigsawStackConfig (YAML)
1
2
3
4
web_search:
  type: jigsawstack  # JigsawStack provider.
  api_key: '!ENV ENV_VAR_NAME'  # JigsawStack API key. Defaults to JIGSAWSTACK_API_KEY env var.
  base_url: https://api.jigsawstack.com/v1  # Base URL for the API.

KagiConfig

Kagi provider configuration.

Uses the Kagi API for web search. Also supports summarization via the Universal Summarizer.

KagiConfig (YAML)
1
2
3
4
web_search:
  type: kagi  # Kagi provider.
  api_key: '!ENV ENV_VAR_NAME'  # Kagi API key. Defaults to KAGI_API_KEY env var.
  base_url: https://kagi.com/api/v0  # Base URL for the API.

LinkUpConfig

LinkUp provider configuration.

Uses the LinkUp API for web search with sourced answers. Limited filtering options.

LinkUpConfig (YAML)
1
2
3
4
web_search:
  type: linkup  # LinkUp provider.
  api_key: '!ENV ENV_VAR_NAME'  # LinkUp API key. Defaults to LINKUP_API_KEY env var.
  base_url: https://api.linkup.so/v1  # Base URL for the API.

Search1Config

Search1API provider configuration.

Uses the Search1API for web search via Google or Bing. Supports language filtering and time ranges.

Search1Config (YAML)
1
2
3
4
web_search:
  type: search1  # Search1API provider.
  api_key: '!ENV ENV_VAR_NAME'  # Search1API key. Defaults to SEARCH1API_KEY env var.
  base_url: https://api.search1api.com  # Base URL for the API.

SerpAPIConfig

SerpAPI provider configuration.

Uses SerpAPI for web and news search via Google. Full support for country, language, and location filtering.

SerpAPIConfig (YAML)
1
2
3
web_search:
  type: serpapi  # SerpAPI provider.
  api_key: '!ENV ENV_VAR_NAME'  # SerpAPI key. Defaults to SERPAPI_KEY env var.

SerperConfig

Serper provider configuration.

Uses the Serper.dev API for web and news search via Google. Supports country, language, and location filtering.

SerperConfig (YAML)
1
2
3
4
web_search:
  type: serper  # Serper provider.
  api_key: '!ENV ENV_VAR_NAME'  # Serper.dev API key. Defaults to SERPER_API_KEY env var.
  base_url: https://google.serper.dev  # Base URL for the API.

TavilyConfig

Tavily provider configuration.

Uses the Tavily API for web and news search. Supports domain filtering and search depth options.

TavilyConfig (YAML)
1
2
3
web_search:
  type: tavily  # Tavily provider.
  api_key: '!ENV ENV_VAR_NAME'  # Tavily API key. Defaults to TAVILY_API_KEY env var.

YouConfig

You.com provider configuration.

Uses the You.com API for web and news search. Supports country, language, and freshness filtering.

YouConfig (YAML)
1
2
3
4
web_search:
  type: you  # You.com provider.
  api_key: '!ENV ENV_VAR_NAME'  # You.com API key. Defaults to YOU_API_KEY env var.
  base_url: https://api.ydc-index.io  # Base URL for the API.

API keys default to the provider's environment variable (for example TAVILY_API_KEY, BRAVE_API_KEY, SERPER_API_KEY) when not set in the config.