ClientConnection
Represents a connection interface between a server and a client, enabling communication through notifications, requests, and other operations. This interface defines various methods to facilitate the interaction.
Properties
Functions
Sends a message to the client requesting elicitation. This typically results in a form being displayed to the user.
Sends a message to the client requesting elicitation. This typically results in a form being displayed to the end user.
Sends a URL mode elicitation request to the client, directing the user to an external URL for out-of-band interactions.
Creates a message using the server's sampling capability.
Lists the available "roots" from the client's perspective (if supported).
Sends a server-side notification to the client.
Sends a ping request to the client to check connectivity.
Sends a notification to the client indicating that an out-of-band elicitation has completed.
Sends a logging message notification to the client. Messages are filtered based on the current logging level set by the client. If no logging level is set, all messages are sent.
Sends a notification to the client indicating that the list of prompts has changed.
Sends a notification to the client indicating that the list of resources has changed.
Sends a resource-updated notification to the client, indicating that a specific resource has changed.
Sends a notification to the client indicating that the list of tools has changed.