ServerSession
Represents a server session.
Properties
The client's reported capabilities after initialization.
The client's version information after initialization.
Functions
Asserts that the server can handle the specified request method.
Sends a message to the client requesting an 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).
Registers a callback to be invoked when the server has completed initialization.
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.