語言

McpServerToolCallContent(String, String, String) 建構函式

定義

初始化 McpServerToolCallContent 類別的新執行個體。

public:
 McpServerToolCallContent(System::String ^ callId, System::String ^ name, System::String ^ serverName);
public McpServerToolCallContent(string callId, string name, string? serverName);
new Microsoft.Extensions.AI.McpServerToolCallContent : string * string * string -> Microsoft.Extensions.AI.McpServerToolCallContent
Public Sub New (callId As String, name As String, serverName As String)

參數

callId
String

工具呼叫ID。

name
String

工具名稱。

serverName
String

是承載該工具的 MCP 伺服器名稱。

例外狀況

callId 或 name 為 null。

callId 或 name 是空白或完全由空白組成。

備註

此內容僅供參考,可能作為核准請求的一部分,以傳達核准內容,或作為所調用 MCP 伺服器工具的紀錄。

適用於