import * as z from "zod/v4"; import { WebFetchEngineEnum } from "./webfetchengineenum.js"; /** * Configuration for the openrouter:web_fetch server tool */ export type WebFetchServerToolConfig = { /** * Only fetch from these domains. */ allowedDomains?: Array | undefined; /** * Never fetch from these domains. */ blockedDomains?: Array | undefined; /** * Which fetch engine to use. "auto" (default) uses native if the provider supports it, otherwise Exa. "native" forces the provider's built-in fetch. "exa" uses Exa Contents API. "openrouter" uses direct HTTP fetch. "firecrawl" uses Firecrawl scrape (requires BYOK). "parallel" uses the Parallel extract API. */ engine?: WebFetchEngineEnum | undefined; /** * Maximum content length in approximate tokens. Content exceeding this limit is truncated. */ maxContentTokens?: number | undefined; /** * Maximum number of web fetches per request. Once exceeded, the tool returns an error. */ maxUses?: number | undefined; }; /** @internal */ export type WebFetchServerToolConfig$Outbound = { allowed_domains?: Array | undefined; blocked_domains?: Array | undefined; engine?: string | undefined; max_content_tokens?: number | undefined; max_uses?: number | undefined; }; /** @internal */ export declare const WebFetchServerToolConfig$outboundSchema: z.ZodType; export declare function webFetchServerToolConfigToJSON(webFetchServerToolConfig: WebFetchServerToolConfig): string; //# sourceMappingURL=webfetchservertoolconfig.d.ts.map