Table of Contents

Class FailedTaskNotificationParams

Namespace
ModelContextProtocol.Protocol
Assembly
ModelContextProtocol.Core.dll

Task notification for a task that failed.

public sealed class FailedTaskNotificationParams : TaskStatusNotificationParams
Inheritance
FailedTaskNotificationParams
Inherited Members

Properties

Error

Gets or sets the JSON-RPC error that caused the task to fail.

[JsonPropertyName("error")]
public required JsonElement Error { get; set; }

Property Value

JsonElement

Status

Gets or sets the current task status.

public override McpTaskStatus Status { get; }

Property Value

McpTaskStatus