ClientCapabilities
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
Types
Properties
Present if the client supports elicitation from the server.
Experimental, non-standard capabilities that the client supports. Keys are capability names, values are capability-specific configuration objects.
Optional extensions that the client supports. Keys are extension identifiers (e.g., "io.modelcontextprotocol/ui"), values are extension-specific settings objects.
Present if the client supports listing roots.
Present if the client supports sampling from an LLM. Use ClientCapabilities.Sampling to configure SEP-1577 sub-capabilities (tools, context).