Skip to content

Class: GetTaskRequest

A request to retrieve the state of a task.

URI: mcp:GetTaskRequest

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

      GetTaskRequest : id

      GetTaskRequest : jsonrpc

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

LinkML Source

Direct

name: GetTaskRequest
description: A request to retrieve the state of a task.
from_schema: https://w3id.org/lmodel/mcp
is_a: JSONRPCRequest
slot_usage:
  method:
    name: method
    equals_string: tasks/get

Induced

name: GetTaskRequest
description: A request to retrieve the state of a task.
from_schema: https://w3id.org/lmodel/mcp
is_a: JSONRPCRequest
slot_usage:
  method:
    name: method
    equals_string: tasks/get
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: GetTaskRequest
    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: GetTaskRequest
    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: GetTaskRequest
    domain_of:
    - JSONRPCRequest
    - JSONRPCNotification
    range: string
    required: true
    equals_string: tasks/get