Share via


ImageGenerationToolResultContent Class

Definition

Represents an image generation tool call invocation by a hosted service.

public ref class ImageGenerationToolResultContent sealed : Microsoft::Extensions::AI::ToolResultContent
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public sealed class ImageGenerationToolResultContent : Microsoft.Extensions.AI.ToolResultContent
public sealed class ImageGenerationToolResultContent : Microsoft.Extensions.AI.ToolResultContent
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type ImageGenerationToolResultContent = class
    inherit ToolResultContent
type ImageGenerationToolResultContent = class
    inherit ToolResultContent
Public NotInheritable Class ImageGenerationToolResultContent
Inherits ToolResultContent
Inheritance
ImageGenerationToolResultContent
Attributes

Remarks

This content type represents when a hosted AI service invokes an image generation tool. It is informational only and represents the call itself, not the result.

Constructors

Name Description
ImageGenerationToolResultContent(String)

Initializes a new instance of the ImageGenerationToolResultContent 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 generated content items.

RawRepresentation

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

(Inherited from AIContent)

Applies to