@ai-sdk/mcp 1.0.38 → 1.0.39

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/dist/index.mjs CHANGED
@@ -1964,6 +1964,9 @@ var DefaultMCPClient = class {
1964
1964
  const toolWithExecute = schemas === "automatic" ? dynamicTool({
1965
1965
  description,
1966
1966
  title: resolvedTitle,
1967
+ providerMetadata: {
1968
+ mcp: { name: this.clientInfo.name }
1969
+ },
1967
1970
  inputSchema: jsonSchema({
1968
1971
  ...inputSchema,
1969
1972
  properties: (_b3 = inputSchema.properties) != null ? _b3 : {},
@@ -1974,6 +1977,9 @@ var DefaultMCPClient = class {
1974
1977
  }) : tool({
1975
1978
  description,
1976
1979
  title: resolvedTitle,
1980
+ providerMetadata: {
1981
+ mcp: { name: this.clientInfo.name }
1982
+ },
1977
1983
  inputSchema: schemas[name3].inputSchema,
1978
1984
  ...outputSchema != null ? { outputSchema } : {},
1979
1985
  execute,