@ai-sdk/openai 3.0.0-beta.64 → 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.
@@ -3284,6 +3284,7 @@ var import_v418 = require("zod/v4");
3284
3284
  var webSearchArgsSchema = (0, import_provider_utils25.lazySchema)(
3285
3285
  () => (0, import_provider_utils25.zodSchema)(
3286
3286
  import_v418.z.object({
3287
+ externalWebAccess: import_v418.z.boolean().optional(),
3287
3288
  filters: import_v418.z.object({ allowedDomains: import_v418.z.array(import_v418.z.string()).optional() }).optional(),
3288
3289
  searchContextSize: import_v418.z.enum(["low", "medium", "high"]).optional(),
3289
3290
  userLocation: import_v418.z.object({
@@ -3571,6 +3572,7 @@ async function prepareResponsesTools({
3571
3572
  openaiTools.push({
3572
3573
  type: "web_search",
3573
3574
  filters: args.filters != null ? { allowed_domains: args.filters.allowedDomains } : void 0,
3575
+ external_web_access: args.externalWebAccess,
3574
3576
  search_context_size: args.searchContextSize,
3575
3577
  user_location: args.userLocation
3576
3578
  });