Share via


McpServerToolCallContent Class

Definition

Represents a tool call request to a MCP server.

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

Remarks

This content type is used to represent an invocation of an MCP server tool by a hosted service. It is informational only.

Constructors

McpServerToolCallContent(String, String, String)

Initializes a new instance of the McpServerToolCallContent 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)
Arguments

Gets or sets the arguments used for the tool call.

CallId

Gets the tool call ID.

RawRepresentation

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

(Inherited from AIContent)
ServerName

Gets the name of the MCP server.

ToolName

Gets the name of the tool called.

Applies to