Class: SetLevelRequest
A request from the client to the server, to enable or adjust logging.
URI: mcp:SetLevelRequest
classDiagram
class SetLevelRequest
click SetLevelRequest href "../SetLevelRequest/"
JSONRPCRequest <|-- SetLevelRequest
click JSONRPCRequest href "../JSONRPCRequest/"
SetLevelRequest : id
SetLevelRequest : jsonrpc
SetLevelRequest : method
SetLevelRequest : params
SetLevelRequest --> "1" SetLevelRequestParams : params
click SetLevelRequestParams href "../SetLevelRequestParams/"
Inheritance
- JSONRPCRequest
- SetLevelRequest
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| params | 1 SetLevelRequestParams |
JSON-RPC parameters payload | direct |
| 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:SetLevelRequest |
| native | mcp:SetLevelRequest |
LinkML Source
Direct
name: SetLevelRequest
description: A request from the client to the server, to enable or adjust logging.
from_schema: https://w3id.org/lmodel/mcp
is_a: JSONRPCRequest
slots:
- params
slot_usage:
params:
name: params
range: SetLevelRequestParams
required: true
inlined: true
method:
name: method
equals_string: logging/setLevel
Induced
name: SetLevelRequest
description: A request from the client to the server, to enable or adjust logging.
from_schema: https://w3id.org/lmodel/mcp
is_a: JSONRPCRequest
slot_usage:
params:
name: params
range: SetLevelRequestParams
required: true
inlined: true
method:
name: method
equals_string: logging/setLevel
attributes:
params:
name: params
description: JSON-RPC parameters payload.
from_schema: https://w3id.org/lmodel/mcp
rank: 1000
alias: params
owner: SetLevelRequest
domain_of:
- CancelledNotification
- ProgressNotification
- ResourceUpdatedNotification
- LoggingMessageNotification
- ElicitationCompleteNotification
- TaskStatusNotification
- InitializeRequest
- ReadResourceRequest
- SubscribeRequest
- UnsubscribeRequest
- GetPromptRequest
- CallToolRequest
- CompleteRequest
- SetLevelRequest
- CreateMessageRequest
- ElicitRequest
range: SetLevelRequestParams
required: true
inlined: true
id:
name: id
description: Uniquely identifying ID for a JSON-RPC request.
from_schema: https://w3id.org/lmodel/mcp
rank: 1000
alias: id
owner: SetLevelRequest
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: SetLevelRequest
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: SetLevelRequest
domain_of:
- JSONRPCRequest
- JSONRPCNotification
range: string
required: true
equals_string: logging/setLevel