Web Search Tool

The Web Search Tool allows the express agent to ground its response using results fetched from the web (max 1 web search).

To enable it, pass it through the tools option:

1{
2 "agent": "express",
3 "input": "What is the capital of France?",
4 "stream": false,
5 "tools": [
6 {
7 "type": "web_search"
8 }
9 ]
10}

See the tools request parameter in the Express API Reference for details.