langchain.js
    Preparing search index...

    Interface XAIResponsesXSearchTool

    X search tool definition.

    interface XAIResponsesXSearchTool {
        allowed_x_handles?: string[];
        enable_image_understanding?: boolean;
        enable_video_understanding?: boolean;
        excluded_x_handles?: string[];
        from_date?: string;
        to_date?: string;
        type: "x_search";
    }
    Index

    Properties

    allowed_x_handles?: string[]

    X handles to allow in search.

    enable_image_understanding?: boolean

    Whether to enable image understanding.

    enable_video_understanding?: boolean

    Whether to enable video understanding.

    excluded_x_handles?: string[]

    X handles to exclude from search.

    from_date?: string

    Start date for search (ISO-8601).

    to_date?: string

    End date for search (ISO-8601).

    type: "x_search"