@ai-sdk/anthropic 3.0.98 → 3.0.99

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.
@@ -3468,6 +3468,13 @@ var AnthropicMessagesLanguageModel = class {
3468
3468
  description: "Respond with a JSON object.",
3469
3469
  inputSchema: responseFormat.schema
3470
3470
  } : void 0;
3471
+ if (jsonResponseTool != null && (anthropicOptions == null ? void 0 : anthropicOptions.disableParallelToolUse) === false) {
3472
+ warnings.push({
3473
+ type: "unsupported",
3474
+ feature: "providerOptions.anthropic.disableParallelToolUse",
3475
+ details: "`disableParallelToolUse: false` is ignored when using the JSON response tool. Parallel tool use is disabled to ensure a single coherent JSON tool call."
3476
+ });
3477
+ }
3471
3478
  const contextManagement = anthropicOptions == null ? void 0 : anthropicOptions.contextManagement;
3472
3479
  const cacheControlValidator = new CacheControlValidator();
3473
3480
  const toolNameMapping = createToolNameMapping({
@@ -5897,6 +5904,7 @@ var anthropicTools = {
5897
5904
  export {
5898
5905
  AnthropicMessagesLanguageModel,
5899
5906
  anthropicTools,
5900
- prepareTools
5907
+ prepareTools,
5908
+ sanitizeJsonSchema
5901
5909
  };
5902
5910
  //# sourceMappingURL=index.mjs.map