csharp-sdk/src/ModelContextProtocol.Extensions.Tasks/Server/InputResponseReceivedEventArgs.cs
Jeff Handley 2ca96f548b
Extract Tasks into the ModelContextProtocol.Extensions.Tasks extension package (#1693)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Tarek Mahmoud Sayed <tarekms@ntdev.microsoft.com>
2026-07-14 18:53:58 -04:00

24 lines
651 B
C#

using ModelContextProtocol.Protocol;
namespace ModelContextProtocol.Extensions.Tasks;
/// <summary>
/// Provides data for the <see cref="IMcpTaskStore.InputResponseReceived"/> event.
/// </summary>
public sealed class InputResponseReceivedEventArgs
{
/// <summary>
/// Gets the task identifier.
/// </summary>
public required string TaskId { get; init; }
/// <summary>
/// Gets the request identifier that was resolved.
/// </summary>
public required string RequestId { get; init; }
/// <summary>
/// Gets the response payload.
/// </summary>
public required InputResponse Response { get; init; }
}