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 799eb27 commit 096ec07Copy full SHA for 096ec07
tests/server/fastmcp/test_integration.py
@@ -97,7 +97,7 @@ class AnswerSchema(BaseModel):
97
answer: str = Field(description="The user's answer to the question")
98
99
result = await ctx.elicit(message=f"Tool wants to ask: {prompt}", schema=AnswerSchema)
100
-
+
101
if result.action == "accept" and result.data:
102
return f"User answered: {result.data.answer}"
103
else:
0 commit comments