Table of Contents

Class McpSamplingResponse

Namespace
LMKit.Mcp.Abstractions
Assembly
LM-Kit.NET.dll

Represents the response to a sampling request.

public sealed class McpSamplingResponse
Inheritance
McpSamplingResponse
Inherited Members

Properties

Content

Gets or sets the content of the response.

Model

Gets or sets the model that generated the response.

Role

Gets or sets the role of the response (typically "assistant").

StopReason

Gets or sets the reason generation stopped.

Methods

FromText(string, string, McpStopReason)

Creates a text response.