McpServerToolResultContent 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表 MCP 伺服器工具呼叫的結果。
public ref class McpServerToolResultContent sealed : Microsoft::Extensions::AI::ToolResultContent
public sealed class McpServerToolResultContent : Microsoft.Extensions.AI.ToolResultContent
type McpServerToolResultContent = class
inherit ToolResultContent
Public NotInheritable Class McpServerToolResultContent
Inherits ToolResultContent
- 繼承
備註
此內容類型用來表示託管服務呼叫 MCP 伺服器工具的結果。 僅提供資訊。
建構函式
| 名稱 | Description |
|---|---|
| McpServerToolResultContent(String) |
初始化 McpServerToolResultContent 類別的新執行個體。 |
屬性
| 名稱 | Description |
|---|---|
| AdditionalProperties |
為內容取得或設定額外的屬性。 (繼承來源 AIContent) |
| Annotations |
取得或設定這些內容的註解清單。 (繼承來源 AIContent) |
| CallId |
取得該工具呼叫的 ID,該呼叫的結果。 (繼承來源 ToolResultContent) |
| Outputs |
取得或設定工具呼叫的輸出內容。 |
| RawRepresentation |
從底層實作中取得或設定內容的原始表示。 (繼承來源 AIContent) |