Table of Contents

Class ListToolsResult

Namespace
ModelContextProtocol.Protocol
Assembly
ModelContextProtocol.Core.dll

Represents a server's response to a ToolsList request from the client, containing available tools.

public class ListToolsResult : PaginatedResult
Inheritance
ListToolsResult
Inherited Members

Remarks

This result is returned when a client sends a ToolsList request to discover available tools on the server.

It inherits from PaginatedResult, allowing for paginated responses when there are many tools. The server can provide the NextCursor property to indicate there are more tools available beyond what was returned in the current response.

See the schema for details.

Properties

Tools

The server's response to a tools/list request from the client.

[JsonPropertyName("tools")]
public List<Tool> Tools { get; set; }

Property Value

List<Tool>