Skip to content

Commit 1fee0d9

Browse files
committed
docs: fix an incorrect docstring
1 parent a750053 commit 1fee0d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/agents/mcp/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ async def invoke_mcp_tool(
362362
*,
363363
meta: dict[str, Any] | None = None,
364364
) -> ToolOutput:
365-
"""Invoke an MCP tool and return the result as a string."""
365+
"""Invoke an MCP tool and return the result as ToolOutput."""
366366
try:
367367
json_data: dict[str, Any] = json.loads(input_json) if input_json else {}
368368
except Exception as e:

0 commit comments

Comments
 (0)