methods

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Initialization methods
	Initialize  = "initialize"
	Initialized = "notifications/initialized"

	// Utility methods
	Ping      = "ping"
	Cancelled = "notifications/cancelled"
	Progress  = "notifications/progress"
	Message   = "notifications/message" // For logging

	// Client methods
	ListRoots    = "roots/list"
	RootsChanged = "notifications/roots/list_changed"
	SampleCreate = "sampling/createMessage"

	// Server methods - Resources
	ListResources         = "resources/list"
	ReadResource          = "resources/read"
	ListResourceTemplates = "resources/templates/list"
	SubscribeResource     = "resources/subscribe"
	UnsubscribeResource   = "resources/unsubscribe"
	ResourceUpdated       = "notifications/resources/updated"
	ResourceListChanged   = "notifications/resources/list_changed"

	// Server methods - Prompts
	ListPrompts    = "prompts/list"
	GetPrompt      = "prompts/get"
	PromptsChanged = "notifications/prompts/list_changed"

	// Server methods - Tools
	ListTools    = "tools/list"
	CallTool     = "tools/call"
	ToolsChanged = "notifications/tools/list_changed"

	// Server methods - Logging
	SetLogLevel = "logging/setLevel"

	// Server methods - Completion
	Complete = "completion/complete"
)

Method constants for basic protocol operations

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL