Skip to content

Slot: method

The JSON-RPC method name.

URI: mcp:method Alias: method

Applicable Classes

Name Description Modifies Slot
CancelledNotification Notification to indicate that a previously-issued request is being cancelled yes
ReadResourceRequest Sent from the client to the server, to read a specific resource URI yes
JSONRPCRequest A request that expects a response yes
LoggingMessageNotification Notification of a log message passed from server to client yes
TaskStatusNotification Notification that a task's status has changed yes
RootsListChangedNotification Notification from the client that the list of roots has changed yes
ListResourceTemplatesRequest Sent from the client to request a list of resource templates the server has yes
CallToolRequest Used by the client to invoke a tool provided by the server yes
ToolListChangedNotification Notification that the list of tools the server offers has changed yes
CompleteRequest A request from the client to the server, to ask for completion options yes
PromptListChangedNotification Notification that the list of prompts the server offers has changed yes
SetLevelRequest A request from the client to the server, to enable or adjust logging yes
GetTaskPayloadRequest A request to retrieve the result of a completed task yes
GetTaskRequest A request to retrieve the state of a task yes
ProgressNotification Out-of-band notification to inform the receiver of a progress update yes
SubscribeRequest Sent from the client to request resource update notifications yes
ResourceListChangedNotification Notification that the list of resources the server can read from has changed yes
ElicitRequest A request from the server to elicit additional information from the user via ... yes
ListPromptsRequest Sent from the client to request a list of prompts and prompt templates yes
ElicitationCompleteNotification Notification from the server that an out-of-band elicitation request complete... yes
CreateMessageRequest A request from the server to sample an LLM via the client yes
GetPromptRequest Used by the client to get a prompt provided by the server yes
ListRootsRequest Sent from the server to request a list of root URIs from the client yes
InitializedNotification Notification sent from the client to the server after initialization has fini... yes
InitializeRequest Request sent from the client to the server when it first connects, asking it ... yes
ListToolsRequest Sent from the client to request a list of tools the server has yes
CancelTaskRequest A request to cancel a task yes
PingRequest A ping, issued by either the server or the client, to check that the other pa... yes
UnsubscribeRequest Sent from the client to cancel resource update notifications yes
ResourceUpdatedNotification Notification that a resource has changed and may need to be read again yes
ListResourcesRequest Sent from the client to request a list of resources the server has yes
ListTasksRequest A request to retrieve a list of tasks yes
JSONRPCNotification A notification which does not expect a response yes

Properties

Type and Range

Property Value
Range String
Domain Of JSONRPCRequest, JSONRPCNotification

Cardinality and Requirements

Property Value

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

name: method
description: The JSON-RPC method name.
from_schema: https://w3id.org/lmodel/mcp
rank: 1000
alias: method
domain_of:
- JSONRPCRequest
- JSONRPCNotification
range: string