Class InteractionFunctionResultStep
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
The result of a function call, sent back by the client (function_result).
public sealed class InteractionFunctionResultStep : InteractionResultStep
- Inheritance
-
InteractionFunctionResultStep
- Inherited Members
- Extension Methods
Constructors
InteractionFunctionResultStep()
Initializes a new instance of the InteractionFunctionResultStep class.
public InteractionFunctionResultStep()
Properties
IsError
Whether the tool call resulted in an error.
[JsonPropertyName("is_error")]
public bool? IsError { get; set; }
Property Value
- bool?
Name
The name of the tool that was called.
[JsonPropertyName("name")]
public string? Name { get; set; }
Property Value
Result
Required. The result of the tool call: a JSON object, a string, or an array of content blocks.
[JsonPropertyName("result")]
public JsonNode? Result { get; set; }