Class LiveSendToolResponseParameters
Parameters for sending tool responses to the live API.
public record LiveSendToolResponseParameters : IEquatable<LiveSendToolResponseParameters>
- Inheritance
-
LiveSendToolResponseParameters
- Implements
- Inherited Members
Properties
FunctionResponses
Tool responses to send to the session.
[JsonPropertyName("functionResponses")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<FunctionResponse>? FunctionResponses { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a LiveSendToolResponseParameters object.
public static LiveSendToolResponseParameters? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- LiveSendToolResponseParameters
The deserialized LiveSendToolResponseParameters object, or null if deserialization fails.