@ai-sdk/provider 3.0.0-beta.23 → 3.0.0-beta.24

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ai-sdk/provider
2
2
 
3
+ ## 3.0.0-beta.24
4
+
5
+ ### Patch Changes
6
+
7
+ - dce03c4: feat: tool input examples
8
+
3
9
  ## 3.0.0-beta.23
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -914,6 +914,13 @@ type LanguageModelV3FunctionTool = {
914
914
  understand the tool's input requirements and to provide matching suggestions.
915
915
  */
916
916
  inputSchema: JSONSchema7;
917
+ /**
918
+ * An optional list of input examples that show the language
919
+ * model what the input should look like.
920
+ */
921
+ inputExamples?: Array<{
922
+ input: JSONObject;
923
+ }>;
917
924
  /**
918
925
  * Strict mode setting for the tool.
919
926
  *
package/dist/index.d.ts CHANGED
@@ -914,6 +914,13 @@ type LanguageModelV3FunctionTool = {
914
914
  understand the tool's input requirements and to provide matching suggestions.
915
915
  */
916
916
  inputSchema: JSONSchema7;
917
+ /**
918
+ * An optional list of input examples that show the language
919
+ * model what the input should look like.
920
+ */
921
+ inputExamples?: Array<{
922
+ input: JSONObject;
923
+ }>;
917
924
  /**
918
925
  * Strict mode setting for the tool.
919
926
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/provider",
3
- "version": "3.0.0-beta.23",
3
+ "version": "3.0.0-beta.24",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",