Skip to main content
The web search tool gives agents access to real-time web information, including current events, recent developments, and external references.

Create a web search tool

Parameters

Best practices

Tool description

A good description clearly states when the tool should be used, what type of content it should retrieve, and what scenarios it should avoid. Effective description: “Use this tool to search for real-time product pricing and availability on external e-commerce websites. Only invoke this tool when the user explicitly asks for current prices, stock information, or product comparisons that are not already covered in internal documents. Avoid using this tool for general product information, technical specifications, or reviews — use the file search tool instead if available.” Ineffective description: “Use this when the user asks a question that you think would benefit from web search.”
Last modified on June 18, 2026