Share via


McpServerToolResultContent(String) Constructor

Definition

Initializes a new instance of the McpServerToolResultContent class.

public:
 McpServerToolResultContent(System::String ^ callId);
public McpServerToolResultContent(string callId);
new Microsoft.Extensions.AI.McpServerToolResultContent : string -> Microsoft.Extensions.AI.McpServerToolResultContent
Public Sub New (callId As String)

Parameters

callId
String

The tool call ID.

Exceptions

callId is null.

callId is empty or composed entirely of whitespace.

Applies to