Språk

ToolCallContent Klass

Definition

Representerar en begäran om verktygsanrop.

public ref class ToolCallContent : Microsoft::Extensions::AI::AIContent
[System.Text.Json.Serialization.JsonDerivedType(typeof(Microsoft.Extensions.AI.FunctionCallContent), "functionCall")]
[System.Text.Json.Serialization.JsonDerivedType(typeof(Microsoft.Extensions.AI.McpServerToolCallContent), "mcpServerToolCall")]
[System.Text.Json.Serialization.JsonDerivedType(typeof(Microsoft.Extensions.AI.ImageGenerationToolCallContent), "imageGenerationToolCall")]
[System.Text.Json.Serialization.JsonDerivedType(typeof(Microsoft.Extensions.AI.CodeInterpreterToolCallContent), "codeInterpreterToolCall")]
[System.Text.Json.Serialization.JsonDerivedType(typeof(Microsoft.Extensions.AI.WebSearchToolCallContent), "webSearchToolCall")]
public class ToolCallContent : Microsoft.Extensions.AI.AIContent
[<System.Text.Json.Serialization.JsonDerivedType(typeof(Microsoft.Extensions.AI.FunctionCallContent), "functionCall")>]
[<System.Text.Json.Serialization.JsonDerivedType(typeof(Microsoft.Extensions.AI.McpServerToolCallContent), "mcpServerToolCall")>]
[<System.Text.Json.Serialization.JsonDerivedType(typeof(Microsoft.Extensions.AI.ImageGenerationToolCallContent), "imageGenerationToolCall")>]
[<System.Text.Json.Serialization.JsonDerivedType(typeof(Microsoft.Extensions.AI.CodeInterpreterToolCallContent), "codeInterpreterToolCall")>]
[<System.Text.Json.Serialization.JsonDerivedType(typeof(Microsoft.Extensions.AI.WebSearchToolCallContent), "webSearchToolCall")>]
type ToolCallContent = class
    inherit AIContent
Public Class ToolCallContent
Inherits AIContent
Arv
ToolCallContent
Härledda
Attribut

Konstruktorer

Name Description
ToolCallContent(String)

Initierar en ny instans av ToolCallContent klassen.

Egenskaper

Name Description
AdditionalProperties

Hämtar eller anger ytterligare egenskaper för innehållet.

(Ärvd från AIContent)
Annotations

Hämtar eller anger en lista över anteckningar i det här innehållet.

(Ärvd från AIContent)
CallId

Hämtar verktygets anrops-ID.

RawRepresentation

Hämtar eller anger den råa representationen av innehållet från en underliggande implementering.

(Ärvd från AIContent)

Gäller för