Skip to content

JSONRPCErrorResponse

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  345773618["mcp.JSONRPCErrorResponse"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 345773618
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

A response to a request that indicates an error occurred.

Source code in src/clawd_code_sdk/models/mcp.py
class JSONRPCErrorResponse(TypedDict):
    """A response to a request that indicates an error occurred."""

    jsonrpc: str
    id: NotRequired[RequestId]
    error: JSONRPCError

:fa-brands-github: Show source on GitHub