Skip to content

Class: PingRequest

A ping, issued by either the server or the client, to check that the other party is still alive.

URI: mcp:PingRequest

 classDiagram
    class PingRequest
    click PingRequest href "../PingRequest/"
      JSONRPCRequest <|-- PingRequest
        click JSONRPCRequest href "../JSONRPCRequest/"

      PingRequest : id

      PingRequest : jsonrpc

      PingRequest : method

Inheritance

Slots

Name Cardinality and Range Description Inheritance
id 1
RequestId
Uniquely identifying ID for a JSON-RPC request JSONRPCRequest
jsonrpc 1
String
JSON-RPC version string JSONRPCRequest
method 1
String
The JSON-RPC method name JSONRPCRequest

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

Direct

name: PingRequest
description: A ping, issued by either the server or the client, to check that the
  other party is still alive.
from_schema: https://w3id.org/lmodel/mcp
is_a: JSONRPCRequest
slot_usage:
  method:
    name: method
    equals_string: ping

Induced

name: PingRequest
description: A ping, issued by either the server or the client, to check that the
  other party is still alive.
from_schema: https://w3id.org/lmodel/mcp
is_a: JSONRPCRequest
slot_usage:
  method:
    name: method
    equals_string: ping
attributes:
  id:
    name: id
    description: Uniquely identifying ID for a JSON-RPC request.
    from_schema: https://w3id.org/lmodel/mcp
    rank: 1000
    alias: id
    owner: PingRequest
    domain_of:
    - ToolUseContent
    - JSONRPCRequest
    - JSONRPCResultResponse
    - JSONRPCErrorResponse
    range: RequestId
    required: true
  jsonrpc:
    name: jsonrpc
    description: JSON-RPC version string.
    from_schema: https://w3id.org/lmodel/mcp
    rank: 1000
    alias: jsonrpc
    owner: PingRequest
    domain_of:
    - JSONRPCRequest
    - JSONRPCNotification
    - JSONRPCResultResponse
    - JSONRPCErrorResponse
    range: string
    required: true
  method:
    name: method
    description: The JSON-RPC method name.
    from_schema: https://w3id.org/lmodel/mcp
    rank: 1000
    alias: method
    owner: PingRequest
    domain_of:
    - JSONRPCRequest
    - JSONRPCNotification
    range: string
    required: true
    equals_string: ping