@ai-sdk/openai 3.0.0-beta.63 → 3.0.0-beta.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3311,6 +3311,7 @@ import { z as z18 } from "zod/v4";
3311
3311
  var webSearchArgsSchema = lazySchema16(
3312
3312
  () => zodSchema16(
3313
3313
  z18.object({
3314
+ externalWebAccess: z18.boolean().optional(),
3314
3315
  filters: z18.object({ allowedDomains: z18.array(z18.string()).optional() }).optional(),
3315
3316
  searchContextSize: z18.enum(["low", "medium", "high"]).optional(),
3316
3317
  userLocation: z18.object({
@@ -3610,6 +3611,7 @@ async function prepareResponsesTools({
3610
3611
  openaiTools.push({
3611
3612
  type: "web_search",
3612
3613
  filters: args.filters != null ? { allowed_domains: args.filters.allowedDomains } : void 0,
3614
+ external_web_access: args.externalWebAccess,
3613
3615
  search_context_size: args.searchContextSize,
3614
3616
  user_location: args.userLocation
3615
3617
  });