ServerCapabilities extension type
Capabilities that a server may support.
Known capabilities are defined here, in this schema, but this is not a closed set: any server can define its own, additional capabilities.
Constructors
-
ServerCapabilities.new({Map<
String, Object?> ? experimental, Completions? completions, Logging? logging, Prompts? prompts, Resources? resources, Tools? tools}) -
factory
-
ServerCapabilities.fromMap(Map<
String, Object?> _value)
Properties
- completions ↔ Completions?
-
Present if the server supports sending completion requests to the client.
getter/setter pair
-
experimental
↔ Map<
String, Object?> ? -
Experimental, non-standard capabilities that the server supports.
getter/setter pair
- logging ↔ Logging?
-
Present if the server supports sending log messages to the client.
getter/setter pair
- prompts ↔ Prompts?
-
Present if the server offers any prompt templates.
getter/setter pair
- resources ↔ Resources?
-
Whether this server supports subscribing to resource updates.
getter/setter pair
- tools ↔ Tools?
-
Present if the server offers any tools to call.
getter/setter pair