McpServerToolResultContent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the result of a MCP server tool call.
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
- Inheritance
Remarks
This content type is used to represent the result of an invocation of an MCP server tool by a hosted service. It is informational only.
Constructors
| Name | Description |
|---|---|
| McpServerToolResultContent(String) |
Initializes a new instance of the McpServerToolResultContent class. |
Properties
| Name | Description |
|---|---|
| AdditionalProperties |
Gets or sets additional properties for the content. (Inherited from AIContent) |
| Annotations |
Gets or sets a list of annotations on this content. (Inherited from AIContent) |
| CallId |
Gets the ID of the tool call for which this is the result. (Inherited from ToolResultContent) |
| Outputs |
Gets or sets the output contents of the tool call. |
| RawRepresentation |
Gets or sets the raw representation of the content from an underlying implementation. (Inherited from AIContent) |