π The fast, Pythonic way to build MCP servers and clients.
Fix docstring
Jeremiah Lowine4fcb8edf921
diff --git a/src/fastmcp/client/client.py b/src/fastmcp/client/client.pyindex acb13c748..6c56893a0 100644--- a/src/fastmcp/client/client.py+++ b/src/fastmcp/client/client.py@@ -427,7 +427,7 @@ class Client:]:"""Call a tool on the server.- Unlike call_tool_mcp, this method raises a ClientError if the tool call results in an error.+ Unlike call_tool_mcp, this method raises a ToolError if the tool call results in an error.Args:name (str): The name of the tool to call.@@ -438,7 +438,7 @@ class Client:The content returned by the tool.Raises:- ClientError: If the tool call results in an error.+ ToolError: If the tool call results in an error.RuntimeError: If called while the client is not connected."""result = await self.call_tool_mcp(name=name, arguments=arguments or {})