Table of Contents

Class ReadResourceRequestParams

Namespace
ModelContextProtocol.Protocol
Assembly
ModelContextProtocol.Core.dll

Represents the parameters used with a ResourcesRead request from a client to get a resource provided by a server.

public class ReadResourceRequestParams : RequestParams
Inheritance
ReadResourceRequestParams
Inherited Members

Remarks

The server will respond with a ReadResourceResult containing the resulting resource data. See the schema for details.

Properties

Uri

The URI of the resource to read. The URI can use any protocol; it is up to the server how to interpret it.

[JsonPropertyName("uri")]
public required string Uri { get; init; }

Property Value

string