@ai-sdk/anthropic 2.0.51 → 2.0.52

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.
@@ -2651,7 +2651,7 @@ var AnthropicMessagesLanguageModel = class {
2651
2651
  type: "tool-call",
2652
2652
  toolCallId: contentBlock.toolCallId,
2653
2653
  toolName,
2654
- input: contentBlock.input,
2654
+ input: contentBlock.input === "" ? "{}" : contentBlock.input,
2655
2655
  providerExecuted: contentBlock.providerExecuted
2656
2656
  });
2657
2657
  }