@ai-sdk/anthropic 3.0.0-beta.72 → 3.0.0-beta.74

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.
@@ -870,8 +870,16 @@ async function prepareTools({
870
870
  description: tool.description,
871
871
  input_schema: tool.inputSchema,
872
872
  cache_control: cacheControl,
873
- ...supportsStructuredOutput === true && tool.strict != null ? { strict: tool.strict } : {}
873
+ ...supportsStructuredOutput === true && tool.strict != null ? { strict: tool.strict } : {},
874
+ ...tool.inputExamples != null ? {
875
+ input_examples: tool.inputExamples.map(
876
+ (example) => example.input
877
+ )
878
+ } : {}
874
879
  });
880
+ if (tool.inputExamples != null) {
881
+ betas.add("advanced-tool-use-2025-11-20");
882
+ }
875
883
  break;
876
884
  }
877
885
  case "provider": {