- Namespace
- ModelContextProtocol.Protocol
- Assembly
- ModelContextProtocol.Core.dll
Represents a completion object in the server's response to a CompletionComplete request.
public sealed class Completion
- Inheritance
-
Completion
- Inherited Members
Properties
HasMore
Gets or sets a value that indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown.
[JsonPropertyName("hasMore")]
public bool? HasMore { get; set; }
Property Value
- bool?
Total
Gets or sets the total number of completion options available.
[JsonPropertyName("total")]
public int? Total { get; set; }
Property Value
- int?
Values
Gets or sets an array of completion values (auto-suggestions) for the requested input.
[JsonPropertyName("values")]
public IList<string> Values { get; set; }