We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5d00f0 commit 7ec5eeeCopy full SHA for 7ec5eee
common/src/mcp/client.ts
@@ -126,7 +126,7 @@ export async function callMCPTool(
126
}
127
const content = ((await client.callTool(...args)) as CallToolResult).content
128
129
- return content.map((c) => {
+ return content.map((c: (typeof content)[number]) => {
130
if (c.type === 'text') {
131
return {
132
type: 'json',
0 commit comments