refactor: McpError renamed to MCPError and flatten parameters (#1956)
Co-authored-by: Max Isbey <224885523+maxisbey@users.noreply.github.com>
This commit is contained in:
parent
65c614e48e
commit
acba5478a9
2 changed files with 253 additions and 326 deletions
|
|
@ -1654,8 +1654,8 @@ class ElicitRequestURLParams(RequestParams):
|
|||
"""The URL that the user should navigate to."""
|
||||
|
||||
elicitation_id: str
|
||||
"""
|
||||
The ID of the elicitation, which must be unique within the context of the server.
|
||||
"""The ID of the elicitation, which must be unique within the context of the server.
|
||||
|
||||
The client MUST treat this ID as an opaque value.
|
||||
"""
|
||||
|
||||
|
|
|
|||
|
|
@ -59,15 +59,15 @@ class ErrorData(BaseModel):
|
|||
"""The error type that occurred."""
|
||||
|
||||
message: str
|
||||
"""
|
||||
A short description of the error. The message SHOULD be limited to a concise single
|
||||
sentence.
|
||||
"""A short description of the error.
|
||||
|
||||
The message SHOULD be limited to a concise single sentence.
|
||||
"""
|
||||
|
||||
data: Any = None
|
||||
"""
|
||||
Additional information about the error. The value of this member is defined by the
|
||||
sender (e.g. detailed error information, nested errors etc.).
|
||||
"""Additional information about the error.
|
||||
|
||||
The value of this member is defined by the sender (e.g. detailed error information, nested errors, etc.).
|
||||
"""
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue