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