@ai-sdk/mcp 1.0.40 → 1.0.41
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 +8 -0
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/tool/mcp-client.ts +4 -4
package/dist/index.mjs
CHANGED
|
@@ -1978,8 +1978,8 @@ var DefaultMCPClient = class {
|
|
|
1978
1978
|
const toolWithExecute = schemas === "automatic" ? dynamicTool({
|
|
1979
1979
|
description,
|
|
1980
1980
|
title: resolvedTitle,
|
|
1981
|
-
|
|
1982
|
-
|
|
1981
|
+
metadata: {
|
|
1982
|
+
clientName: this.clientInfo.name
|
|
1983
1983
|
},
|
|
1984
1984
|
inputSchema: jsonSchema({
|
|
1985
1985
|
...inputSchema,
|
|
@@ -1991,8 +1991,8 @@ var DefaultMCPClient = class {
|
|
|
1991
1991
|
}) : tool({
|
|
1992
1992
|
description,
|
|
1993
1993
|
title: resolvedTitle,
|
|
1994
|
-
|
|
1995
|
-
|
|
1994
|
+
metadata: {
|
|
1995
|
+
clientName: this.clientInfo.name
|
|
1996
1996
|
},
|
|
1997
1997
|
inputSchema: schemas[name3].inputSchema,
|
|
1998
1998
|
...outputSchema != null ? { outputSchema } : {},
|