Completion support (#15)
This commit is contained in:
parent
3e35efe79c
commit
107c7acc8f
1 changed files with 270 additions and 1 deletions
15
src/mcpdotnet/Protocol/Types/Argument.cs
Normal file
15
src/mcpdotnet/Protocol/Types/Argument.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace McpDotNet.Protocol.Types;
|
||||
|
||||
/// <summary>
|
||||
/// Used for completion requests to provide additional context for the completion options.
|
||||
/// </summary>
|
||||
public class Argument
|
||||
{
|
||||
[JsonPropertyName("name")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("value")]
|
||||
public string Value { get; set; } = string.Empty;
|
||||
}
|
||||
Loading…
Reference in a new issue