MCPcopy Index your code
hub / github.com/modelcontextprotocol/python-sdk / AcceptedElicitation

Class AcceptedElicitation

src/mcp/server/elicitation.py:20–24  ·  view source on GitHub ↗

Result when user accepts the elicitation.

Source from the content-addressed store, hash-verified

18
19
20class AcceptedElicitation(BaseModel, Generic[ElicitSchemaModelT]):
21 """Result when user accepts the elicitation."""
22
23 action: Literal["accept"] = "accept"
24 data: ElicitSchemaModelT
25
26
27class DeclinedElicitation(BaseModel):

Callers 1

elicit_with_validationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected