We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93213b4 commit fa409cfCopy full SHA for fa409cf
src/mcp/server/session.py
@@ -260,7 +260,7 @@ async def create_message(
260
"""
261
262
if tools is not None or tool_choice is not None:
263
- has_tools_cap = self.check_client_capability( \
+ has_tools_cap = self.check_client_capability(
264
types.ClientCapabilities(sampling=types.SamplingCapability(tools=types.SamplingToolsCapability()))
265
)
266
if not has_tools_cap:
0 commit comments