Skip to content

Class: JSONRPCMessage

A union of all JSON-RPC message types (requests, notifications, and responses).

URI: mcp:JSONRPCMessage

 classDiagram
    class JSONRPCMessage
    click JSONRPCMessage href "../JSONRPCMessage/"

Class Properties

Property Value
Union Of JSONRPCErrorResponse, JSONRPCNotification, JSONRPCRequest, JSONRPCResultResponse

Slots

Name Cardinality and Range Description Inheritance

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self mcp:JSONRPCMessage
native mcp:JSONRPCMessage

LinkML Source

Direct

name: JSONRPCMessage
description: A union of all JSON-RPC message types (requests, notifications, and responses).
from_schema: https://w3id.org/lmodel/mcp
union_of:
- JSONRPCErrorResponse
- JSONRPCNotification
- JSONRPCRequest
- JSONRPCResultResponse

Induced

name: JSONRPCMessage
description: A union of all JSON-RPC message types (requests, notifications, and responses).
from_schema: https://w3id.org/lmodel/mcp
union_of:
- JSONRPCErrorResponse
- JSONRPCNotification
- JSONRPCRequest
- JSONRPCResultResponse