diff --git a/src/mcp/server/session.py b/src/mcp/server/session.py index 4380970..7a694c9 100644 --- a/src/mcp/server/session.py +++ b/src/mcp/server/session.py @@ -13,7 +13,7 @@ async def handle_tool_call(ctx: RequestContext, arguments: dict[str, Any]) -> Any: # Check client capabilities before proceeding if ctx.session.check_client_capability( - types.ClientCapabilities(experimental={"advanced_tools": True}) + types.ClientCapabilities(experimental={"advanced_tools": dict()}) ): # Perform advanced tool operations result = await perform_advanced_tool_operation(arguments)