跳转到内容

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