We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a750053 commit 1fee0d9Copy full SHA for 1fee0d9
1 file changed
src/agents/mcp/util.py
@@ -362,7 +362,7 @@ async def invoke_mcp_tool(
362
*,
363
meta: dict[str, Any] | None = None,
364
) -> ToolOutput:
365
- """Invoke an MCP tool and return the result as a string."""
+ """Invoke an MCP tool and return the result as ToolOutput."""
366
try:
367
json_data: dict[str, Any] = json.loads(input_json) if input_json else {}
368
except Exception as e:
0 commit comments