Table of Contents

Class InteractionFunctionResultDelta

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

A function result delta (function_result).

public sealed class InteractionFunctionResultDelta : InteractionStepDeltaData
Inheritance
InteractionFunctionResultDelta
Inherited Members
Extension Methods

Constructors

InteractionFunctionResultDelta()

Initializes a new instance of the InteractionFunctionResultDelta class.

public InteractionFunctionResultDelta()

Properties

IsError

Whether the call resulted in an error.

[JsonPropertyName("is_error")]
public bool? IsError { get; set; }

Property Value

bool?

Name

The tool name.

[JsonPropertyName("name")]
public string? Name { get; set; }

Property Value

string

Result

The result: a JSON object, a string, or an array of content blocks.

[JsonPropertyName("result")]
public JsonNode? Result { get; set; }

Property Value

JsonNode