Member Junction
    Preparing search index...

    Input for WebSearch.Query.

    NO import statements — this definition is emitted verbatim into the generated remote_operations.ts and any import here would break that file.

    interface WebSearchQueryInput {
        country?: string;
        excludeDomains?: string[];
        freshness?: "day" | "week" | "month" | "year";
        includeAnswer?: boolean;
        includeDomains?: string[];
        language?: string;
        maxResults?: number;
        provider?: string;
        query: string;
        safeSearch?: "off" | "moderate" | "strict";
    }
    Index

    Properties

    country?: string

    Two-letter country code for localisation, e.g. US, GB.

    excludeDomains?: string[]

    Exclude these domains, where the serving provider supports it.

    freshness?: "day" | "week" | "month" | "year"

    Relative recency window: day, week, month or year.

    includeAnswer?: boolean

    Ask for a synthesized answer alongside the hits.

    This restricts selection to providers that can produce one, so it changes which provider serves the request — not merely what comes back.

    includeDomains?: string[]

    Restrict results to these domains, where the serving provider supports it.

    language?: string

    Language code for results, e.g. en.

    maxResults?: number

    Desired result count. Clamped to the serving provider's cap. Default 10.

    provider?: string

    Pin the search to one provider, by Name (e.g. Brave) or DriverClass.

    When set there is NO failover: if that provider is missing, inactive, unavailable or incapable of what was asked, the call fails rather than quietly serving from another vendor. Omit it to let the administrator's priority order decide.

    query: string

    The search query. Required, non-empty.

    safeSearch?: "off" | "moderate" | "strict"

    Adult-content filter. Default moderate.