ServerCapabilities
data class ServerCapabilities(val experimental: JsonObject? = EmptyJsonObject, val sampling: JsonObject? = EmptyJsonObject, val logging: JsonObject? = EmptyJsonObject, val prompts: ServerCapabilities.Prompts? = null, val resources: ServerCapabilities.Resources? = null, val tools: ServerCapabilities.Tools? = null)(source)
Represents the capabilities that a server can support.
Constructors
Link copied to clipboard
constructor(experimental: JsonObject? = EmptyJsonObject, sampling: JsonObject? = EmptyJsonObject, logging: JsonObject? = EmptyJsonObject, prompts: ServerCapabilities.Prompts? = null, resources: ServerCapabilities.Resources? = null, tools: ServerCapabilities.Tools? = null)
Types
Properties
Link copied to clipboard
Experimental, non-standard capabilities that the server supports.
Link copied to clipboard
Present if the server supports sending log messages to the client.
Link copied to clipboard
Capabilities related to prompt templates offered by the server.
Link copied to clipboard
Capabilities related to resources available on the server.
Link copied to clipboard
Present if the client supports sampling from an LLM.
Link copied to clipboard
Capabilities related to tools that can be called on the server.