@ai-sdk/openai 2.0.71 → 2.0.72

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.
@@ -3201,6 +3201,7 @@ import { z as z18 } from "zod/v4";
3201
3201
  var webSearchArgsSchema = lazySchema4(
3202
3202
  () => zodSchema16(
3203
3203
  z18.object({
3204
+ externalWebAccess: z18.boolean().optional(),
3204
3205
  filters: z18.object({ allowedDomains: z18.array(z18.string()).optional() }).optional(),
3205
3206
  searchContextSize: z18.enum(["low", "medium", "high"]).optional(),
3206
3207
  userLocation: z18.object({
@@ -3409,6 +3410,7 @@ async function prepareResponsesTools({
3409
3410
  openaiTools.push({
3410
3411
  type: "web_search",
3411
3412
  filters: args.filters != null ? { allowed_domains: args.filters.allowedDomains } : void 0,
3413
+ external_web_access: args.externalWebAccess,
3412
3414
  search_context_size: args.searchContextSize,
3413
3415
  user_location: args.userLocation
3414
3416
  });