Skip to main content

Web Search (OpenAI)

The Web Search (OpenAI) tool (openai_web_search) is a native search feature from OpenAI that is directly integrated into GPT models. This tool provides real-time web results with citations and source references.

How It Works

Unlike the universal internet search tool, this native tool is built directly into OpenAI's models. This ensures seamless integration where the model itself determines when and how to search, and directly processes the results into the answer.

Advantages Over Universal Tools

Native Web SearchUniversal Internet Search
Directly integrated in the modelExternal API call
Better context integrationResults processed separately
Automatic citationsManual source citation
Optimized for GPTWorks with all models

Settings

SettingValue
Tool keyopenai_web_search
Default statusAuto (for OpenAI models)
Available forGPT-4.1 and newer

Automatic Activation

When you select an OpenAI model (such as GPT-4.1), this native tool is automatically activated and replaces the universal internet_search tool. This results in:

  • Faster responses
  • Better integration of sources
  • More consistent citations

Citations and Source References

A major advantage of OpenAI's native web search is structured source citation. Each claim is automatically linked to its source, making it easy to verify.

Usage Examples

The tool is automatically invoked when you ask questions that require current information:

  • "What's the latest news about artificial intelligence?"
  • "Who won the elections in [country] this year?"
  • "What are the current stock prices?"

Limitations

  • Only available with OpenAI models
  • Requires the organization to have OpenAI models enabled
  • Some very recent information may not yet be available