Class: ListRootsRequest
Sent from the server to request a list of root URIs from the client.
URI: mcp:ListRootsRequest
classDiagram
class ListRootsRequest
click ListRootsRequest href "../ListRootsRequest/"
JSONRPCRequest <|-- ListRootsRequest
click JSONRPCRequest href "../JSONRPCRequest/"
ListRootsRequest : id
ListRootsRequest : jsonrpc
ListRootsRequest : method
Inheritance
- JSONRPCRequest
- ListRootsRequest
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
- from schema: https://w3id.org/lmodel/mcp
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | mcp:ListRootsRequest |
| native | mcp:ListRootsRequest |
LinkML Source
Direct
name: ListRootsRequest
description: Sent from the server to request a list of root URIs from the client.
from_schema: https://w3id.org/lmodel/mcp
is_a: JSONRPCRequest
slot_usage:
method:
name: method
equals_string: roots/list
Induced
name: ListRootsRequest
description: Sent from the server to request a list of root URIs from the client.
from_schema: https://w3id.org/lmodel/mcp
is_a: JSONRPCRequest
slot_usage:
method:
name: method
equals_string: roots/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: ListRootsRequest
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: ListRootsRequest
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: ListRootsRequest
domain_of:
- JSONRPCRequest
- JSONRPCNotification
range: string
required: true
equals_string: roots/list