mcp_protocol_sdk/protocol/
methods.rs1pub const INITIALIZE: &str = "initialize";
8pub const INITIALIZED: &str = "notifications/initialized";
9pub const PING: &str = "ping";
10
11pub const TOOLS_LIST: &str = "tools/list";
13pub const TOOLS_CALL: &str = "tools/call";
14pub const TOOLS_LIST_CHANGED: &str = "notifications/tools/list_changed";
15
16pub const RESOURCES_LIST: &str = "resources/list";
18pub const RESOURCES_TEMPLATES_LIST: &str = "resources/templates/list"; pub const RESOURCES_READ: &str = "resources/read";
20pub const RESOURCES_SUBSCRIBE: &str = "resources/subscribe";
21pub const RESOURCES_UNSUBSCRIBE: &str = "resources/unsubscribe";
22pub const RESOURCES_UPDATED: &str = "notifications/resources/updated";
23pub const RESOURCES_LIST_CHANGED: &str = "notifications/resources/list_changed";
24
25pub const PROMPTS_LIST: &str = "prompts/list";
27pub const PROMPTS_GET: &str = "prompts/get";
28pub const PROMPTS_LIST_CHANGED: &str = "notifications/prompts/list_changed";
29
30pub const SAMPLING_CREATE_MESSAGE: &str = "sampling/createMessage";
32
33pub const ROOTS_LIST: &str = "roots/list";
35pub const ROOTS_LIST_CHANGED: &str = "notifications/roots/list_changed";
36
37pub const COMPLETION_COMPLETE: &str = "completion/complete";
39
40pub const LOGGING_SET_LEVEL: &str = "logging/setLevel";
42pub const LOGGING_MESSAGE: &str = "notifications/message";
43
44pub const PROGRESS: &str = "notifications/progress";
46pub const CANCELLED: &str = "notifications/cancelled";