Table of Contents

Class ListRootsRequestParams

Namespace
ModelContextProtocol.Protocol
Assembly
ModelContextProtocol.Core.dll

Represents the parameters used with a RootsList request from a server to request a list of roots available from the client.

[Obsolete("The Roots feature is deprecated as of specification version 2026-07-28 and may be removed in a future version. See SEP-2577 for more information.", DiagnosticId = "MCP9005", UrlFormat = "https://github.com/modelcontextprotocol/csharp-sdk/blob/main/docs/list-of-diagnostics.md#obsolete-apis")]
public sealed class ListRootsRequestParams : RequestParams
Inheritance
ListRootsRequestParams
Inherited Members

Remarks

The client responds with a ListRootsResult containing the client's roots. See the schema for details.