ClientCapabilities
data class ClientCapabilities(val sampling: JsonObject? = null, val roots: ClientCapabilities.Roots? = null, val elicitation: JsonObject? = null, val experimental: JsonObject? = null)(source)
Capabilities that a client may support.
Known capabilities are defined here, but this is not a closed set: any client can define its own additional capabilities through the experimental field.
The presence of a capability object (non-null value) indicates that the client supports that capability.
Constructors
Link copied to clipboard
constructor(sampling: JsonObject? = null, roots: ClientCapabilities.Roots? = null, elicitation: JsonObject? = null, experimental: JsonObject? = null)
Types
Properties
Link copied to clipboard
Present if the client supports elicitation from the server.
Link copied to clipboard
Experimental, non-standard capabilities that the client supports. Keys are capability names, values are capability-specific configuration objects.
Link copied to clipboard
Present if the client supports listing roots.
Link copied to clipboard
Present if the client supports sampling from an LLM.