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 d1ac8d6 commit e1fa240Copy full SHA for e1fa240
src/mcp/server/elicitation.py
@@ -98,7 +98,7 @@ async def elicit_with_validation(
98
related_request_id=related_request_id,
99
)
100
101
- if result.action == "accept" and result.content:
+ if result.action == "accept" and result.content is not None:
102
# Validate and parse the content using the schema
103
validated_data = schema.model_validate(result.content)
104
return AcceptedElicitation(data=validated_data)
0 commit comments