Share via


McpServerToolResultContent Class

Definition

Represents the result of a MCP server tool call.

public ref class McpServerToolResultContent sealed : Microsoft::Extensions::AI::AIContent
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001")]
public sealed class McpServerToolResultContent : Microsoft.Extensions.AI.AIContent
public sealed class McpServerToolResultContent : Microsoft.Extensions.AI.AIContent
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001")>]
type McpServerToolResultContent = class
    inherit AIContent
type McpServerToolResultContent = class
    inherit AIContent
Public NotInheritable Class McpServerToolResultContent
Inherits AIContent
Inheritance
McpServerToolResultContent
Attributes

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

McpServerToolResultContent(String)

Initializes a new instance of the McpServerToolResultContent class.

Properties

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 tool call ID.

Output

Gets or sets the output of the tool call.

RawRepresentation

Gets or sets the raw representation of the content from an underlying implementation.

(Inherited from AIContent)

Applies to