Table of Contents

Class RequestParams

Namespace
ModelContextProtocol.Protocol
Assembly
ModelContextProtocol.Core.dll

Provides a base class for all request parameters.

public abstract class RequestParams
Inheritance
RequestParams
Derived
Inherited Members

Remarks

See the schema for details.

Properties

Meta

Gets or sets metadata reserved by MCP for protocol-level metadata.

[JsonPropertyName("_meta")]
public JsonObject? Meta { get; set; }

Property Value

JsonObject

Remarks

Implementations must not make assumptions about its contents.

ProgressToken

Gets or sets an opaque token that will be attached to any subsequent progress notifications.

[JsonIgnore]
public ProgressToken? ProgressToken { get; set; }

Property Value

ProgressToken?