langchain.js
    Preparing search index...

    Interface XAIResponsesWebSearchTool

    Web search tool definition. Enables the model to search the web and browse pages for real-time information.

    interface XAIResponsesWebSearchTool {
        allowed_domains?: string[];
        enable_image_understanding?: boolean;
        excluded_domains?: string[];
        type: "web_search";
    }
    Index

    Properties

    allowed_domains?: string[]

    Domains to exclusively include in the search (max 5).

    enable_image_understanding?: boolean

    Whether to enable image understanding during search.

    excluded_domains?: string[]

    Domains to exclude from the search (max 5).

    type: "web_search"