Dela via


FunctionResultContent Class

Definition

Represents the result of a function call.

public ref class FunctionResultContent : Microsoft::Extensions::AI::ToolResultContent
public class FunctionResultContent : Microsoft.Extensions.AI.ToolResultContent
type FunctionResultContent = class
    inherit ToolResultContent
Public Class FunctionResultContent
Inherits ToolResultContent
Inheritance
FunctionResultContent

Constructors

Name Description
FunctionResultContent(String, Object)

Initializes a new instance of the FunctionResultContent 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)
Exception

Gets or sets an exception that occurred if the function call failed.

RawRepresentation

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

(Inherited from AIContent)
Result

Gets or sets the result of the function call, or a generic error message if the function call failed.

Applies to