Skip to content

Class: ListPromptsRequest

Sent from the client to request a list of prompts and prompt templates.

URI: mcp:ListPromptsRequest

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

      ListPromptsRequest : id

      ListPromptsRequest : jsonrpc

      ListPromptsRequest : 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:ListPromptsRequest
native mcp:ListPromptsRequest

LinkML Source

Direct

name: ListPromptsRequest
description: Sent from the client to request a list of prompts and prompt templates.
from_schema: https://w3id.org/lmodel/mcp
is_a: JSONRPCRequest
slot_usage:
  method:
    name: method
    equals_string: prompts/list

Induced

name: ListPromptsRequest
description: Sent from the client to request a list of prompts and prompt templates.
from_schema: https://w3id.org/lmodel/mcp
is_a: JSONRPCRequest
slot_usage:
  method:
    name: method
    equals_string: prompts/list
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: ListPromptsRequest
    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: ListPromptsRequest
    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: ListPromptsRequest
    domain_of:
    - JSONRPCRequest
    - JSONRPCNotification
    range: string
    required: true
    equals_string: prompts/list