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
Slots
| Name |
Cardinality and Range |
Description |
Inheritance |
|
|
|
|
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