Class CompletionsCapability
- Namespace
- ModelContextProtocol.Protocol
- Assembly
- ModelContextProtocol.Core.dll
Represents the completions capability for providing auto-completion suggestions for prompt arguments and resource references.
public sealed class CompletionsCapability
- Inheritance
-
CompletionsCapability
- Inherited Members
Remarks
When enabled, this capability allows a Model Context Protocol server to provide auto-completion suggestions. This capability is advertised to clients during the initialize handshake.
The primary function of this capability is to improve the user experience by offering contextual suggestions for argument values or resource identifiers based on partial input.
See the schema for details.
This class is intentionally empty as the Model Context Protocol specification does not currently define additional properties for sampling capabilities. Future versions of the specification may extend this capability with additional configuration options.