McpServerElicitationResponse
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| CodexBaseModel codexed.models.base Base model for all Codex API models. |
⋔ Inheritance diagram¶
graph TD
1378921702["responses.McpServerElicitationResponse"]
3116041069["base.CodexBaseModel"]
3879467795["main.BaseModel"]
2751680898["builtins.object"]
3116041069 --> 1378921702
3879467795 --> 3116041069
2751680898 --> 3879467795
🛈 DocStrings¶
Bases: CodexBaseModel
Response for mcpServer/elicitation/request server request.
Source code in src/codexed/models/responses.py
meta
class-attribute
instance-attribute
¶
Optional metadata to include in the response.
For MCP tool approval responses, this can contain:
persist(str):"session"to remember the approval for the current session, or"always"to remember permanently. Must be one of the options listed in the request'smeta.persist.
from_mcp
classmethod
¶
from_mcp(result: ElicitResult) -> McpServerElicitationResponse