---
layout: page
title: "Web Search"
node_type: "openai.text.WebSearch"
namespace: "openai.text"
---

**Type:** `openai.text.WebSearch`

**Namespace:** `openai.text`

## Description

🔍 OpenAI Web Search - Searches the web using OpenAI's web search capabilities.

    This node uses an OpenAI model equipped with web search functionality
    (like gpt-4o with search preview) to answer queries based on current web information.
    Requires an OpenAI API key.

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| query | `str` | The search query to execute. | `` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `str` |  |

## Related Nodes

Browse other nodes in the [openai.text](../) namespace.
