Class CompleteRequestParams
- Namespace
- ModelContextProtocol.Protocol
- Assembly
- ModelContextProtocol.Core.dll
Represents the parameters used with a CompletionComplete request from a client to ask a server for auto-completion suggestions.
public class CompleteRequestParams : RequestParams
- Inheritance
-
CompleteRequestParams
- Inherited Members
Remarks
CompletionComplete is used in the Model Context Protocol completion workflow to provide intelligent suggestions for partial inputs related to resources, prompts, or other referenceable entities. The completion mechanism in MCP allows clients to request suggestions based on partial inputs. The server will respond with a CompleteResult containing matching values.
See the schema for details.
Properties
Argument
Gets or sets the argument information for the completion request, specifying what is being completed and the current partial input.
[JsonPropertyName("argument")]
public required Argument Argument { get; init; }
Property Value
Ref
Gets or sets the reference's information.
[JsonPropertyName("ref")]
public required Reference Ref { get; init; }