@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.
@@ -3148,6 +3148,7 @@ var import_v418 = require("zod/v4");
3148
3148
  var webSearchArgsSchema = (0, import_provider_utils25.lazySchema)(
3149
3149
  () => (0, import_provider_utils25.zodSchema)(
3150
3150
  import_v418.z.object({
3151
+ externalWebAccess: import_v418.z.boolean().optional(),
3151
3152
  filters: import_v418.z.object({ allowedDomains: import_v418.z.array(import_v418.z.string()).optional() }).optional(),
3152
3153
  searchContextSize: import_v418.z.enum(["low", "medium", "high"]).optional(),
3153
3154
  userLocation: import_v418.z.object({
@@ -3348,6 +3349,7 @@ async function prepareResponsesTools({
3348
3349
  openaiTools.push({
3349
3350
  type: "web_search",
3350
3351
  filters: args.filters != null ? { allowed_domains: args.filters.allowedDomains } : void 0,
3352
+ external_web_access: args.externalWebAccess,
3351
3353
  search_context_size: args.searchContextSize,
3352
3354
  user_location: args.userLocation
3353
3355
  });