Skip to main content

Module method

Module method 

Source
Expand description

Method + notification names. Constants, so a typo is a compile error rather than a -32601 at runtime.

Constants§

COMPLETION_COMPLETE
INITIALIZE
INITIALIZED
LOGGING_SET_LEVEL
NOTIFY_CANCELLED
NOTIFY_MESSAGE
NOTIFY_PROGRESS
NOTIFY_RESOURCES_LIST_CHANGED
NOTIFY_RESOURCES_UPDATED
NOTIFY_SUBSCRIPTIONS_ACK
NOTIFY_TASKS
NOTIFY_TOOLS_LIST_CHANGED
PING
PROMPTS_GET
PROMPTS_LIST
RESOURCES_LIST
RESOURCES_READ
RESOURCES_SUBSCRIBE
RESOURCES_TEMPLATES_LIST
RESOURCES_UNSUBSCRIBE
SERVER_DISCOVER
Query a server’s supported versions + capabilities + identity in one call (the stateless replacement for the initialize capability exchange).
SUBSCRIPTIONS_LISTEN
Open the long-lived notification stream (its SSE response carries the change notifications the client opted in to — the stateless replacement for the removed GET SSE stream).
TASKS_CANCEL
TASKS_GET
TASKS_UPDATE
TOOLS_CALL
TOOLS_LIST