Class SamplingCapability
- Namespace
- ModelContextProtocol.Protocol.Types
- Assembly
- ModelContextProtocol.dll
Represents the sampling capability configuration. See the schema for details
public class SamplingCapability
- Inheritance
-
SamplingCapability
- Inherited Members
Properties
SamplingHandler
Gets or sets the handler for sampling requests.
[JsonIgnore]
public Func<CreateMessageRequestParams?, IProgress<ProgressNotificationValue>, CancellationToken, Task<CreateMessageResult>>? SamplingHandler { get; set; }