ServerCapabilities
data class ServerCapabilities(val tools: ServerCapabilities.Tools? = null, val resources: ServerCapabilities.Resources? = null, val prompts: ServerCapabilities.Prompts? = null, val logging: JsonObject? = null, val completions: JsonObject? = null, val experimental: JsonObject? = null)(source)
Capabilities that a server may support.
Known capabilities are defined here, but this is not a closed set: any server can define its own additional capabilities through the experimental field.
The presence of a capability object (non-null value) indicates that the server supports that capability.
Constructors
Link copied to clipboard
constructor(tools: ServerCapabilities.Tools? = null, resources: ServerCapabilities.Resources? = null, prompts: ServerCapabilities.Prompts? = null, logging: JsonObject? = null, completions: JsonObject? = null, experimental: JsonObject? = null)
Types
Properties
Link copied to clipboard
Present if the server supports argument autocompletion suggestions. Keys are capability names, values are capability-specific configuration objects.
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
Present if the server offers any prompt templates.
Link copied to clipboard
Present if the server offers any resources to read.
Link copied to clipboard
Present if the server offers any tools to call.