Skip to content

webSearchTool

function webSearchTool(options?): HostedTool

Adds web search abilities to your agent

Parameter Type Description

options?

Partial<Omit<WebSearchTool, "type">>

Additional configuration for the web search like specifying the location of your agent

HostedTool

a web search tool definition