We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81ebc18 commit f973b54Copy full SHA for f973b54
.changeset/ready-dolls-give.md
@@ -0,0 +1,5 @@
1
+---
2
+"agents": patch
3
4
+
5
+mcp client: fix tool name generation
packages/agents/src/mcp/client.ts
@@ -184,7 +184,7 @@ export class MCPClientManager {
184
return Object.fromEntries(
185
getNamespacedData(this.mcpConnections, "tools").map((tool) => {
186
return [
187
- `${tool.serverId}.${tool.name}`,
+ `${tool.serverId}_${tool.name}`,
188
{
189
parameters: jsonSchema(tool.inputSchema),
190
description: tool.description,
0 commit comments