Web Search tool

Web Search (web_search) is the most popular tool used by You.com agents. To enable web_search tool, simply pass it through the tools option.
{
  ...
  "tools": [
    ...
    {
      "type": "web_search",
      "trigger": "intent" // default
    }
  ]
}
Note that passing tools is only available on Express agent API.

Options

Trigger
trigger
string
default:"intent"
trigger option determines whether to enable web search based on the intent of the user query, or to force web search for all user queries. Therefore the two supported options are intent and force.

Explore further