Class ListResourcesResult
- Namespace
- ModelContextProtocol.Protocol
- Assembly
- ModelContextProtocol.Core.dll
Represents a server's response to a ResourcesList request from the client, containing available resources.
public class ListResourcesResult : PaginatedResult
- Inheritance
-
ListResourcesResult
- Inherited Members
Remarks
This result is returned when a client sends a ResourcesList request to discover available resources on the server.
It inherits from PaginatedResult, allowing for paginated responses when there are many resources. The server can provide the NextCursor property to indicate there are more resources available beyond what was returned in the current response.
See the schema for details.
Properties
Resources
A list of resources that the server offers.
[JsonPropertyName("resources")]
public List<Resource> Resources { get; set; }