Class ListTasksResult
- Namespace
- ModelContextProtocol.Protocol
- Assembly
- ModelContextProtocol.Core.dll
Represents the result of a tasks/list request.
[Experimental("MCPEXP001", UrlFormat = "https://github.com/modelcontextprotocol/csharp-sdk/blob/main/docs/list-of-diagnostics.md#mcpexp001")]
public sealed class ListTasksResult : PaginatedResult
- Inheritance
-
ListTasksResult
- Inherited Members
Remarks
The result contains an array of task objects and an optional cursor for pagination. If NextCursor is present, more tasks are available.
Properties
Tasks
Gets or sets the list of tasks.
[JsonPropertyName("tasks")]
public required McpTask[] Tasks { get; set; }
Property Value
- McpTask[]