@ai-sdk/anthropic 3.0.0-beta.79 → 3.0.0-beta.81

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.
@@ -360,7 +360,7 @@ declare const anthropicTools: {
360
360
  url: string;
361
361
  content: {
362
362
  type: "document";
363
- title: string;
363
+ title: string | null;
364
364
  citations?: {
365
365
  enabled: boolean;
366
366
  };
@@ -390,7 +390,7 @@ declare const anthropicTools: {
390
390
  url: string;
391
391
  content: {
392
392
  type: "document";
393
- title: string;
393
+ title: string | null;
394
394
  citations?: {
395
395
  enabled: boolean;
396
396
  };
@@ -419,7 +419,7 @@ declare const anthropicTools: {
419
419
  }, {
420
420
  type: "web_search_result";
421
421
  url: string;
422
- title: string;
422
+ title: string | null;
423
423
  pageAge: string | null;
424
424
  encryptedContent: string;
425
425
  }[], {
@@ -429,7 +429,27 @@ declare const anthropicTools: {
429
429
  userLocation?: {
430
430
  type: "approximate";
431
431
  city?: string;
432
- region?: string;
432
+ region
433
+ /**
434
+ * Claude can interact with computer environments through the computer use tool, which
435
+ * provides screenshot capabilities and mouse/keyboard control for autonomous desktop interaction.
436
+ *
437
+ * Image results are supported.
438
+ *
439
+ * @param displayWidthPx - The width of the display being controlled by the model in pixels.
440
+ * @param displayHeightPx - The height of the display being controlled by the model in pixels.
441
+ * @param displayNumber - The display number to control (only relevant for X11 environments). If specified, the tool will be provided a display number in the tool definition.
442
+ */
443
+ ? /**
444
+ * Claude can interact with computer environments through the computer use tool, which
445
+ * provides screenshot capabilities and mouse/keyboard control for autonomous desktop interaction.
446
+ *
447
+ * Image results are supported.
448
+ *
449
+ * @param displayWidthPx - The width of the display being controlled by the model in pixels.
450
+ * @param displayHeightPx - The height of the display being controlled by the model in pixels.
451
+ * @param displayNumber - The display number to control (only relevant for X11 environments). If specified, the tool will be provided a display number in the tool definition.
452
+ */: string;
433
453
  country?: string;
434
454
  timezone?: string;
435
455
  };
@@ -438,7 +458,7 @@ declare const anthropicTools: {
438
458
  }, {
439
459
  type: "web_search_result";
440
460
  url: string;
441
- title: string;
461
+ title: string | null;
442
462
  pageAge: string | null;
443
463
  encryptedContent: string;
444
464
  }[]>;
@@ -360,7 +360,7 @@ declare const anthropicTools: {
360
360
  url: string;
361
361
  content: {
362
362
  type: "document";
363
- title: string;
363
+ title: string | null;
364
364
  citations?: {
365
365
  enabled: boolean;
366
366
  };
@@ -390,7 +390,7 @@ declare const anthropicTools: {
390
390
  url: string;
391
391
  content: {
392
392
  type: "document";
393
- title: string;
393
+ title: string | null;
394
394
  citations?: {
395
395
  enabled: boolean;
396
396
  };
@@ -419,7 +419,7 @@ declare const anthropicTools: {
419
419
  }, {
420
420
  type: "web_search_result";
421
421
  url: string;
422
- title: string;
422
+ title: string | null;
423
423
  pageAge: string | null;
424
424
  encryptedContent: string;
425
425
  }[], {
@@ -429,7 +429,27 @@ declare const anthropicTools: {
429
429
  userLocation?: {
430
430
  type: "approximate";
431
431
  city?: string;
432
- region?: string;
432
+ region
433
+ /**
434
+ * Claude can interact with computer environments through the computer use tool, which
435
+ * provides screenshot capabilities and mouse/keyboard control for autonomous desktop interaction.
436
+ *
437
+ * Image results are supported.
438
+ *
439
+ * @param displayWidthPx - The width of the display being controlled by the model in pixels.
440
+ * @param displayHeightPx - The height of the display being controlled by the model in pixels.
441
+ * @param displayNumber - The display number to control (only relevant for X11 environments). If specified, the tool will be provided a display number in the tool definition.
442
+ */
443
+ ? /**
444
+ * Claude can interact with computer environments through the computer use tool, which
445
+ * provides screenshot capabilities and mouse/keyboard control for autonomous desktop interaction.
446
+ *
447
+ * Image results are supported.
448
+ *
449
+ * @param displayWidthPx - The width of the display being controlled by the model in pixels.
450
+ * @param displayHeightPx - The height of the display being controlled by the model in pixels.
451
+ * @param displayNumber - The display number to control (only relevant for X11 environments). If specified, the tool will be provided a display number in the tool definition.
452
+ */: string;
433
453
  country?: string;
434
454
  timezone?: string;
435
455
  };
@@ -438,7 +458,7 @@ declare const anthropicTools: {
438
458
  }, {
439
459
  type: "web_search_result";
440
460
  url: string;
441
- title: string;
461
+ title: string | null;
442
462
  pageAge: string | null;
443
463
  encryptedContent: string;
444
464
  }[]>;
@@ -897,7 +897,7 @@ var webSearch_20250305OutputSchema = (0, import_provider_utils5.lazySchema)(
897
897
  import_v45.z.array(
898
898
  import_v45.z.object({
899
899
  url: import_v45.z.string(),
900
- title: import_v45.z.string(),
900
+ title: import_v45.z.string().nullable(),
901
901
  pageAge: import_v45.z.string().nullable(),
902
902
  encryptedContent: import_v45.z.string(),
903
903
  type: import_v45.z.literal("web_search_result")
@@ -942,7 +942,7 @@ var webFetch_20250910OutputSchema = (0, import_provider_utils6.lazySchema)(
942
942
  url: import_v46.z.string(),
943
943
  content: import_v46.z.object({
944
944
  type: import_v46.z.literal("document"),
945
- title: import_v46.z.string(),
945
+ title: import_v46.z.string().nullable(),
946
946
  citations: import_v46.z.object({ enabled: import_v46.z.boolean() }).optional(),
947
947
  source: import_v46.z.union([
948
948
  import_v46.z.object({