Table of Contents

Class Argument

Namespace
ModelContextProtocol.Protocol
Assembly
ModelContextProtocol.Core.dll

Represents an argument used in completion requests to provide context for auto-completion functionality.

public class Argument
Inheritance
Argument
Inherited Members

Remarks

This class is used when requesting completion suggestions for a particular field or parameter. See the schema for details.

Properties

Name

Gets or sets the name of the argument being completed.

[JsonPropertyName("name")]
public string Name { get; set; }

Property Value

string

Value

Gets or sets the current partial text value for which completion suggestions are requested.

[JsonPropertyName("value")]
public string Value { get; set; }

Property Value

string

Remarks

This represents the text that has been entered so far and for which completion options should be generated.