Skip to content

Commit

Permalink
Fix experimental capabilities example
Browse files Browse the repository at this point in the history
  • Loading branch information
jspahrsummers authored Nov 26, 2024
1 parent e414828 commit c6d3bdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mcp/server/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c6d3bdc

Please sign in to comment.