import * as z from "zod/v4"; import { ClosedEnum, OpenEnum } from "../types/enums.js"; import { AnthropicAllowedCallers } from "./anthropicallowedcallers.js"; import { AnthropicCacheControlDirective, AnthropicCacheControlDirective$Outbound } from "./anthropiccachecontroldirective.js"; import { AnthropicCacheControlTtl } from "./anthropiccachecontrolttl.js"; import { AnthropicInputTokensClearAtLeast, AnthropicInputTokensClearAtLeast$Outbound } from "./anthropicinputtokensclearatleast.js"; import { AnthropicInputTokensTrigger, AnthropicInputTokensTrigger$Outbound } from "./anthropicinputtokenstrigger.js"; import { AnthropicTextBlockParam, AnthropicTextBlockParam$Outbound } from "./anthropictextblockparam.js"; import { AnthropicThinkingDisplay } from "./anthropicthinkingdisplay.js"; import { AnthropicThinkingTurns, AnthropicThinkingTurns$Outbound } from "./anthropicthinkingturns.js"; import { AnthropicToolUsesKeep, AnthropicToolUsesKeep$Outbound } from "./anthropictooluseskeep.js"; import { AnthropicToolUsesTrigger, AnthropicToolUsesTrigger$Outbound } from "./anthropictoolusestrigger.js"; import { AnthropicWebSearchToolUserLocation, AnthropicWebSearchToolUserLocation$Outbound } from "./anthropicwebsearchtooluserlocation.js"; import { AutoRouterPlugin, AutoRouterPlugin$Outbound } from "./autorouterplugin.js"; import { ChatSearchModelsServerTool, ChatSearchModelsServerTool$Outbound } from "./chatsearchmodelsservertool.js"; import { ContextCompressionPlugin, ContextCompressionPlugin$Outbound } from "./contextcompressionplugin.js"; import { DatetimeServerTool, DatetimeServerTool$Outbound } from "./datetimeservertool.js"; import { FileParserPlugin, FileParserPlugin$Outbound } from "./fileparserplugin.js"; import { FusionPlugin, FusionPlugin$Outbound } from "./fusionplugin.js"; import { ImageGenerationServerToolOpenRouter, ImageGenerationServerToolOpenRouter$Outbound } from "./imagegenerationservertoolopenrouter.js"; import { MessagesMessageParam, MessagesMessageParam$Outbound } from "./messagesmessageparam.js"; import { MessagesOutputConfig, MessagesOutputConfig$Outbound } from "./messagesoutputconfig.js"; import { ModerationPlugin, ModerationPlugin$Outbound } from "./moderationplugin.js"; import { OpenRouterWebSearchServerTool, OpenRouterWebSearchServerTool$Outbound } from "./openrouterwebsearchservertool.js"; import { ParetoRouterPlugin, ParetoRouterPlugin$Outbound } from "./paretorouterplugin.js"; import { ProviderPreferences, ProviderPreferences$Outbound } from "./providerpreferences.js"; import { ResponseHealingPlugin, ResponseHealingPlugin$Outbound } from "./responsehealingplugin.js"; import { StopServerToolsWhenCondition, StopServerToolsWhenCondition$Outbound } from "./stopservertoolswhencondition.js"; import { TraceConfig, TraceConfig$Outbound } from "./traceconfig.js"; import { WebFetchPlugin, WebFetchPlugin$Outbound } from "./webfetchplugin.js"; import { WebFetchServerTool, WebFetchServerTool$Outbound } from "./webfetchservertool.js"; import { WebSearchPlugin, WebSearchPlugin$Outbound } from "./websearchplugin.js"; export declare const EditTypeInputTokens: { readonly InputTokens: "input_tokens"; }; export type EditTypeInputTokens = ClosedEnum; export type TriggerInputTokens = { type: EditTypeInputTokens; value: number; }; export type EditCompact20260112 = { instructions?: string | null | undefined; pauseAfterCompaction?: boolean | undefined; trigger?: TriggerInputTokens | null | undefined; type: "compact_20260112"; }; export declare const KeepEnum: { readonly All: "all"; }; export type KeepEnum = ClosedEnum; export declare const KeepType: { readonly All: "all"; }; export type KeepType = ClosedEnum; export type KeepAll = { type: KeepType; }; export type Keep = AnthropicThinkingTurns | KeepAll | KeepEnum; export type EditClearThinking20251015 = { keep?: AnthropicThinkingTurns | KeepAll | KeepEnum | undefined; type: "clear_thinking_20251015"; }; export type ClearToolInputs = boolean | Array | any; export type Trigger = AnthropicInputTokensTrigger | AnthropicToolUsesTrigger; export type EditClearToolUses20250919 = { clearAtLeast?: AnthropicInputTokensClearAtLeast | null | undefined; clearToolInputs?: boolean | Array | any | null | undefined; excludeTools?: Array | null | undefined; keep?: AnthropicToolUsesKeep | undefined; trigger?: AnthropicInputTokensTrigger | AnthropicToolUsesTrigger | undefined; type: "clear_tool_uses_20250919"; }; export type Edit = EditClearToolUses20250919 | EditClearThinking20251015 | EditCompact20260112; export type ContextManagement = { edits?: Array | undefined; }; export type Metadata = { userId?: string | null | undefined; }; export type MessagesRequestPlugin = AutoRouterPlugin | ContextCompressionPlugin | FileParserPlugin | FusionPlugin | ModerationPlugin | ParetoRouterPlugin | ResponseHealingPlugin | WebSearchPlugin | WebFetchPlugin; /** * Controls output generation speed. When set to `fast`, uses a higher-speed inference configuration at premium pricing. Defaults to `standard` when omitted. */ export declare const Speed: { readonly Fast: "fast"; readonly Standard: "standard"; }; /** * Controls output generation speed. When set to `fast`, uses a higher-speed inference configuration at premium pricing. Defaults to `standard` when omitted. */ export type Speed = OpenEnum; export type System = string | Array; export type ThinkingAdaptive = { display?: AnthropicThinkingDisplay | null | undefined; type: "adaptive"; }; export type ThinkingDisabled = { type: "disabled"; }; export type ThinkingEnabled = { budgetTokens: number; display?: AnthropicThinkingDisplay | null | undefined; type: "enabled"; }; export type Thinking = ThinkingEnabled | ThinkingDisabled | ThinkingAdaptive; export type ToolChoiceTool = { disableParallelToolUse?: boolean | undefined; name: string; type: "tool"; }; export type ToolChoiceNone = { type: "none"; }; export type ToolChoiceAny = { disableParallelToolUse?: boolean | undefined; type: "any"; }; export type ToolChoiceAuto = { disableParallelToolUse?: boolean | undefined; type: "auto"; }; export type ToolChoice = ToolChoiceAuto | ToolChoiceAny | ToolChoiceNone | ToolChoiceTool; export type MessagesRequestTool = { type: string; additionalProperties?: { [k: string]: any | null; } | undefined; }; export declare const ToolTypeEphemeral: { readonly Ephemeral: "ephemeral"; }; export type ToolTypeEphemeral = ClosedEnum; /** * Enable automatic prompt caching. When set at the top level, the system automatically applies cache breakpoints to the last cacheable block in the request. Currently supported for Anthropic Claude models. */ export type Caching = { ttl?: AnthropicCacheControlTtl | undefined; type: ToolTypeEphemeral; }; export declare const NameAdvisor: { readonly Advisor: "advisor"; }; export type NameAdvisor = ClosedEnum; export declare const TypeAdvisor20260301: { readonly Advisor20260301: "advisor_20260301"; }; export type TypeAdvisor20260301 = ClosedEnum; export type ToolAdvisor20260301 = { allowedCallers?: Array | undefined; /** * Enable automatic prompt caching. When set at the top level, the system automatically applies cache breakpoints to the last cacheable block in the request. Currently supported for Anthropic Claude models. */ cacheControl?: AnthropicCacheControlDirective | undefined; caching?: Caching | null | undefined; deferLoading?: boolean | undefined; maxUses?: number | undefined; model: string; name: NameAdvisor; type: TypeAdvisor20260301; }; export declare const NameWebSearch2: { readonly WebSearch: "web_search"; }; export type NameWebSearch2 = ClosedEnum; export declare const TypeWebSearch20260209: { readonly WebSearch20260209: "web_search_20260209"; }; export type TypeWebSearch20260209 = ClosedEnum; export type ToolWebSearch20260209 = { allowedCallers?: Array | undefined; allowedDomains?: Array | null | undefined; blockedDomains?: Array | null | undefined; /** * Enable automatic prompt caching. When set at the top level, the system automatically applies cache breakpoints to the last cacheable block in the request. Currently supported for Anthropic Claude models. */ cacheControl?: AnthropicCacheControlDirective | undefined; maxUses?: number | null | undefined; name: NameWebSearch2; type: TypeWebSearch20260209; userLocation?: AnthropicWebSearchToolUserLocation | null | undefined; }; export declare const NameWebSearch1: { readonly WebSearch: "web_search"; }; export type NameWebSearch1 = ClosedEnum; export declare const TypeWebSearch20250305: { readonly WebSearch20250305: "web_search_20250305"; }; export type TypeWebSearch20250305 = ClosedEnum; export type ToolWebSearch20250305 = { allowedDomains?: Array | null | undefined; blockedDomains?: Array | null | undefined; /** * Enable automatic prompt caching. When set at the top level, the system automatically applies cache breakpoints to the last cacheable block in the request. Currently supported for Anthropic Claude models. */ cacheControl?: AnthropicCacheControlDirective | undefined; maxUses?: number | null | undefined; name: NameWebSearch1; type: TypeWebSearch20250305; userLocation?: AnthropicWebSearchToolUserLocation | null | undefined; }; export declare const NameStrReplaceEditor: { readonly StrReplaceEditor: "str_replace_editor"; }; export type NameStrReplaceEditor = ClosedEnum; export declare const TypeTextEditor20250124: { readonly TextEditor20250124: "text_editor_20250124"; }; export type TypeTextEditor20250124 = ClosedEnum; export type ToolTextEditor20250124 = { /** * Enable automatic prompt caching. When set at the top level, the system automatically applies cache breakpoints to the last cacheable block in the request. Currently supported for Anthropic Claude models. */ cacheControl?: AnthropicCacheControlDirective | undefined; name: NameStrReplaceEditor; type: TypeTextEditor20250124; }; export declare const NameBash: { readonly Bash: "bash"; }; export type NameBash = ClosedEnum; export declare const TypeBash20250124: { readonly Bash20250124: "bash_20250124"; }; export type TypeBash20250124 = ClosedEnum; export type ToolBash20250124 = { /** * Enable automatic prompt caching. When set at the top level, the system automatically applies cache breakpoints to the last cacheable block in the request. Currently supported for Anthropic Claude models. */ cacheControl?: AnthropicCacheControlDirective | undefined; name: NameBash; type: TypeBash20250124; }; export type InputSchema = { properties?: any | null | undefined; required?: Array | null | undefined; type?: string | undefined; additionalProperties?: { [k: string]: any | null; } | undefined; }; export declare const ToolTypeCustom: { readonly Custom: "custom"; }; export type ToolTypeCustom = ClosedEnum; export type ToolCustom = { /** * Enable automatic prompt caching. When set at the top level, the system automatically applies cache breakpoints to the last cacheable block in the request. Currently supported for Anthropic Claude models. */ cacheControl?: AnthropicCacheControlDirective | undefined; description?: string | undefined; inputSchema: InputSchema; name: string; type?: ToolTypeCustom | undefined; }; export type MessagesRequestToolUnion = ToolAdvisor20260301 | ToolCustom | ToolBash20250124 | ToolTextEditor20250124 | ToolWebSearch20250305 | ToolWebSearch20260209 | DatetimeServerTool | ImageGenerationServerToolOpenRouter | ChatSearchModelsServerTool | WebFetchServerTool | OpenRouterWebSearchServerTool | MessagesRequestTool; /** * Request schema for Anthropic Messages API endpoint */ export type MessagesRequest = { /** * Enable automatic prompt caching. When set at the top level, the system automatically applies cache breakpoints to the last cacheable block in the request. Currently supported for Anthropic Claude models. */ cacheControl?: AnthropicCacheControlDirective | undefined; contextManagement?: ContextManagement | null | undefined; maxTokens?: number | undefined; messages: Array | null; metadata?: Metadata | undefined; model: string; models?: Array | undefined; /** * Configuration for controlling output behavior. Supports the effort parameter and structured output format. */ outputConfig?: MessagesOutputConfig | undefined; /** * Plugins you want to enable for this request, including their settings. */ plugins?: Array | undefined; /** * When multiple model providers are available, optionally indicate your routing preference. */ provider?: ProviderPreferences | null | undefined; serviceTier?: string | undefined; /** * A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided, OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters. */ sessionId?: string | undefined; speed?: Speed | null | undefined; stopSequences?: Array | undefined; /** * Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`. */ stopServerToolsWhen?: Array | undefined; stream?: boolean | undefined; system?: string | Array | undefined; temperature?: number | undefined; thinking?: ThinkingEnabled | ThinkingDisabled | ThinkingAdaptive | undefined; toolChoice?: ToolChoiceAuto | ToolChoiceAny | ToolChoiceNone | ToolChoiceTool | undefined; tools?: Array | undefined; topK?: number | undefined; topP?: number | undefined; /** * Metadata for observability and tracing. Known keys (trace_id, trace_name, span_name, generation_name, parent_span_id) have special handling. Additional keys are passed through as custom metadata to configured broadcast destinations. */ trace?: TraceConfig | undefined; /** * A unique identifier representing your end-user, which helps distinguish between different users of your app. This allows your app to identify specific users in case of abuse reports, preventing your entire app from being affected by the actions of individual users. Maximum of 256 characters. */ user?: string | undefined; }; /** @internal */ export declare const EditTypeInputTokens$outboundSchema: z.ZodEnum; /** @internal */ export type TriggerInputTokens$Outbound = { type: string; value: number; }; /** @internal */ export declare const TriggerInputTokens$outboundSchema: z.ZodType; export declare function triggerInputTokensToJSON(triggerInputTokens: TriggerInputTokens): string; /** @internal */ export type EditCompact20260112$Outbound = { instructions?: string | null | undefined; pause_after_compaction?: boolean | undefined; trigger?: TriggerInputTokens$Outbound | null | undefined; type: "compact_20260112"; }; /** @internal */ export declare const EditCompact20260112$outboundSchema: z.ZodType; export declare function editCompact20260112ToJSON(editCompact20260112: EditCompact20260112): string; /** @internal */ export declare const KeepEnum$outboundSchema: z.ZodEnum; /** @internal */ export declare const KeepType$outboundSchema: z.ZodEnum; /** @internal */ export type KeepAll$Outbound = { type: string; }; /** @internal */ export declare const KeepAll$outboundSchema: z.ZodType; export declare function keepAllToJSON(keepAll: KeepAll): string; /** @internal */ export type Keep$Outbound = AnthropicThinkingTurns$Outbound | KeepAll$Outbound | string; /** @internal */ export declare const Keep$outboundSchema: z.ZodType; export declare function keepToJSON(keep: Keep): string; /** @internal */ export type EditClearThinking20251015$Outbound = { keep?: AnthropicThinkingTurns$Outbound | KeepAll$Outbound | string | undefined; type: "clear_thinking_20251015"; }; /** @internal */ export declare const EditClearThinking20251015$outboundSchema: z.ZodType; export declare function editClearThinking20251015ToJSON(editClearThinking20251015: EditClearThinking20251015): string; /** @internal */ export type ClearToolInputs$Outbound = boolean | Array | any; /** @internal */ export declare const ClearToolInputs$outboundSchema: z.ZodType; export declare function clearToolInputsToJSON(clearToolInputs: ClearToolInputs): string; /** @internal */ export type Trigger$Outbound = AnthropicInputTokensTrigger$Outbound | AnthropicToolUsesTrigger$Outbound; /** @internal */ export declare const Trigger$outboundSchema: z.ZodType; export declare function triggerToJSON(trigger: Trigger): string; /** @internal */ export type EditClearToolUses20250919$Outbound = { clear_at_least?: AnthropicInputTokensClearAtLeast$Outbound | null | undefined; clear_tool_inputs?: boolean | Array | any | null | undefined; exclude_tools?: Array | null | undefined; keep?: AnthropicToolUsesKeep$Outbound | undefined; trigger?: AnthropicInputTokensTrigger$Outbound | AnthropicToolUsesTrigger$Outbound | undefined; type: "clear_tool_uses_20250919"; }; /** @internal */ export declare const EditClearToolUses20250919$outboundSchema: z.ZodType; export declare function editClearToolUses20250919ToJSON(editClearToolUses20250919: EditClearToolUses20250919): string; /** @internal */ export type Edit$Outbound = EditClearToolUses20250919$Outbound | EditClearThinking20251015$Outbound | EditCompact20260112$Outbound; /** @internal */ export declare const Edit$outboundSchema: z.ZodType; export declare function editToJSON(edit: Edit): string; /** @internal */ export type ContextManagement$Outbound = { edits?: Array | undefined; }; /** @internal */ export declare const ContextManagement$outboundSchema: z.ZodType; export declare function contextManagementToJSON(contextManagement: ContextManagement): string; /** @internal */ export type Metadata$Outbound = { user_id?: string | null | undefined; }; /** @internal */ export declare const Metadata$outboundSchema: z.ZodType; export declare function metadataToJSON(metadata: Metadata): string; /** @internal */ export type MessagesRequestPlugin$Outbound = AutoRouterPlugin$Outbound | ContextCompressionPlugin$Outbound | FileParserPlugin$Outbound | FusionPlugin$Outbound | ModerationPlugin$Outbound | ParetoRouterPlugin$Outbound | ResponseHealingPlugin$Outbound | WebSearchPlugin$Outbound | WebFetchPlugin$Outbound; /** @internal */ export declare const MessagesRequestPlugin$outboundSchema: z.ZodType; export declare function messagesRequestPluginToJSON(messagesRequestPlugin: MessagesRequestPlugin): string; /** @internal */ export declare const Speed$outboundSchema: z.ZodType; /** @internal */ export type System$Outbound = string | Array; /** @internal */ export declare const System$outboundSchema: z.ZodType; export declare function systemToJSON(system: System): string; /** @internal */ export type ThinkingAdaptive$Outbound = { display?: string | null | undefined; type: "adaptive"; }; /** @internal */ export declare const ThinkingAdaptive$outboundSchema: z.ZodType; export declare function thinkingAdaptiveToJSON(thinkingAdaptive: ThinkingAdaptive): string; /** @internal */ export type ThinkingDisabled$Outbound = { type: "disabled"; }; /** @internal */ export declare const ThinkingDisabled$outboundSchema: z.ZodType; export declare function thinkingDisabledToJSON(thinkingDisabled: ThinkingDisabled): string; /** @internal */ export type ThinkingEnabled$Outbound = { budget_tokens: number; display?: string | null | undefined; type: "enabled"; }; /** @internal */ export declare const ThinkingEnabled$outboundSchema: z.ZodType; export declare function thinkingEnabledToJSON(thinkingEnabled: ThinkingEnabled): string; /** @internal */ export type Thinking$Outbound = ThinkingEnabled$Outbound | ThinkingDisabled$Outbound | ThinkingAdaptive$Outbound; /** @internal */ export declare const Thinking$outboundSchema: z.ZodType; export declare function thinkingToJSON(thinking: Thinking): string; /** @internal */ export type ToolChoiceTool$Outbound = { disable_parallel_tool_use?: boolean | undefined; name: string; type: "tool"; }; /** @internal */ export declare const ToolChoiceTool$outboundSchema: z.ZodType; export declare function toolChoiceToolToJSON(toolChoiceTool: ToolChoiceTool): string; /** @internal */ export type ToolChoiceNone$Outbound = { type: "none"; }; /** @internal */ export declare const ToolChoiceNone$outboundSchema: z.ZodType; export declare function toolChoiceNoneToJSON(toolChoiceNone: ToolChoiceNone): string; /** @internal */ export type ToolChoiceAny$Outbound = { disable_parallel_tool_use?: boolean | undefined; type: "any"; }; /** @internal */ export declare const ToolChoiceAny$outboundSchema: z.ZodType; export declare function toolChoiceAnyToJSON(toolChoiceAny: ToolChoiceAny): string; /** @internal */ export type ToolChoiceAuto$Outbound = { disable_parallel_tool_use?: boolean | undefined; type: "auto"; }; /** @internal */ export declare const ToolChoiceAuto$outboundSchema: z.ZodType; export declare function toolChoiceAutoToJSON(toolChoiceAuto: ToolChoiceAuto): string; /** @internal */ export type ToolChoice$Outbound = ToolChoiceAuto$Outbound | ToolChoiceAny$Outbound | ToolChoiceNone$Outbound | ToolChoiceTool$Outbound; /** @internal */ export declare const ToolChoice$outboundSchema: z.ZodType; export declare function toolChoiceToJSON(toolChoice: ToolChoice): string; /** @internal */ export type MessagesRequestTool$Outbound = { type: string; [additionalProperties: string]: unknown; }; /** @internal */ export declare const MessagesRequestTool$outboundSchema: z.ZodType; export declare function messagesRequestToolToJSON(messagesRequestTool: MessagesRequestTool): string; /** @internal */ export declare const ToolTypeEphemeral$outboundSchema: z.ZodEnum; /** @internal */ export type Caching$Outbound = { ttl?: string | undefined; type: string; }; /** @internal */ export declare const Caching$outboundSchema: z.ZodType; export declare function cachingToJSON(caching: Caching): string; /** @internal */ export declare const NameAdvisor$outboundSchema: z.ZodEnum; /** @internal */ export declare const TypeAdvisor20260301$outboundSchema: z.ZodEnum; /** @internal */ export type ToolAdvisor20260301$Outbound = { allowed_callers?: Array | undefined; cache_control?: AnthropicCacheControlDirective$Outbound | undefined; caching?: Caching$Outbound | null | undefined; defer_loading?: boolean | undefined; max_uses?: number | undefined; model: string; name: string; type: string; }; /** @internal */ export declare const ToolAdvisor20260301$outboundSchema: z.ZodType; export declare function toolAdvisor20260301ToJSON(toolAdvisor20260301: ToolAdvisor20260301): string; /** @internal */ export declare const NameWebSearch2$outboundSchema: z.ZodEnum; /** @internal */ export declare const TypeWebSearch20260209$outboundSchema: z.ZodEnum; /** @internal */ export type ToolWebSearch20260209$Outbound = { allowed_callers?: Array | undefined; allowed_domains?: Array | null | undefined; blocked_domains?: Array | null | undefined; cache_control?: AnthropicCacheControlDirective$Outbound | undefined; max_uses?: number | null | undefined; name: string; type: string; user_location?: AnthropicWebSearchToolUserLocation$Outbound | null | undefined; }; /** @internal */ export declare const ToolWebSearch20260209$outboundSchema: z.ZodType; export declare function toolWebSearch20260209ToJSON(toolWebSearch20260209: ToolWebSearch20260209): string; /** @internal */ export declare const NameWebSearch1$outboundSchema: z.ZodEnum; /** @internal */ export declare const TypeWebSearch20250305$outboundSchema: z.ZodEnum; /** @internal */ export type ToolWebSearch20250305$Outbound = { allowed_domains?: Array | null | undefined; blocked_domains?: Array | null | undefined; cache_control?: AnthropicCacheControlDirective$Outbound | undefined; max_uses?: number | null | undefined; name: string; type: string; user_location?: AnthropicWebSearchToolUserLocation$Outbound | null | undefined; }; /** @internal */ export declare const ToolWebSearch20250305$outboundSchema: z.ZodType; export declare function toolWebSearch20250305ToJSON(toolWebSearch20250305: ToolWebSearch20250305): string; /** @internal */ export declare const NameStrReplaceEditor$outboundSchema: z.ZodEnum; /** @internal */ export declare const TypeTextEditor20250124$outboundSchema: z.ZodEnum; /** @internal */ export type ToolTextEditor20250124$Outbound = { cache_control?: AnthropicCacheControlDirective$Outbound | undefined; name: string; type: string; }; /** @internal */ export declare const ToolTextEditor20250124$outboundSchema: z.ZodType; export declare function toolTextEditor20250124ToJSON(toolTextEditor20250124: ToolTextEditor20250124): string; /** @internal */ export declare const NameBash$outboundSchema: z.ZodEnum; /** @internal */ export declare const TypeBash20250124$outboundSchema: z.ZodEnum; /** @internal */ export type ToolBash20250124$Outbound = { cache_control?: AnthropicCacheControlDirective$Outbound | undefined; name: string; type: string; }; /** @internal */ export declare const ToolBash20250124$outboundSchema: z.ZodType; export declare function toolBash20250124ToJSON(toolBash20250124: ToolBash20250124): string; /** @internal */ export type InputSchema$Outbound = { properties?: any | null | undefined; required?: Array | null | undefined; type: string; [additionalProperties: string]: unknown; }; /** @internal */ export declare const InputSchema$outboundSchema: z.ZodType; export declare function inputSchemaToJSON(inputSchema: InputSchema): string; /** @internal */ export declare const ToolTypeCustom$outboundSchema: z.ZodEnum; /** @internal */ export type ToolCustom$Outbound = { cache_control?: AnthropicCacheControlDirective$Outbound | undefined; description?: string | undefined; input_schema: InputSchema$Outbound; name: string; type?: string | undefined; }; /** @internal */ export declare const ToolCustom$outboundSchema: z.ZodType; export declare function toolCustomToJSON(toolCustom: ToolCustom): string; /** @internal */ export type MessagesRequestToolUnion$Outbound = ToolAdvisor20260301$Outbound | ToolCustom$Outbound | ToolBash20250124$Outbound | ToolTextEditor20250124$Outbound | ToolWebSearch20250305$Outbound | ToolWebSearch20260209$Outbound | DatetimeServerTool$Outbound | ImageGenerationServerToolOpenRouter$Outbound | ChatSearchModelsServerTool$Outbound | WebFetchServerTool$Outbound | OpenRouterWebSearchServerTool$Outbound | MessagesRequestTool$Outbound; /** @internal */ export declare const MessagesRequestToolUnion$outboundSchema: z.ZodType; export declare function messagesRequestToolUnionToJSON(messagesRequestToolUnion: MessagesRequestToolUnion): string; /** @internal */ export type MessagesRequest$Outbound = { cache_control?: AnthropicCacheControlDirective$Outbound | undefined; context_management?: ContextManagement$Outbound | null | undefined; max_tokens?: number | undefined; messages: Array | null; metadata?: Metadata$Outbound | undefined; model: string; models?: Array | undefined; output_config?: MessagesOutputConfig$Outbound | undefined; plugins?: Array | undefined; provider?: ProviderPreferences$Outbound | null | undefined; service_tier?: string | undefined; session_id?: string | undefined; speed?: string | null | undefined; stop_sequences?: Array | undefined; stop_server_tools_when?: Array | undefined; stream?: boolean | undefined; system?: string | Array | undefined; temperature?: number | undefined; thinking?: ThinkingEnabled$Outbound | ThinkingDisabled$Outbound | ThinkingAdaptive$Outbound | undefined; tool_choice?: ToolChoiceAuto$Outbound | ToolChoiceAny$Outbound | ToolChoiceNone$Outbound | ToolChoiceTool$Outbound | undefined; tools?: Array | undefined; top_k?: number | undefined; top_p?: number | undefined; trace?: TraceConfig$Outbound | undefined; user?: string | undefined; }; /** @internal */ export declare const MessagesRequest$outboundSchema: z.ZodType; export declare function messagesRequestToJSON(messagesRequest: MessagesRequest): string; //# sourceMappingURL=messagesrequest.d.ts.map