Table of Contents

Class ResponseFunctionCallArgumentsResponse

Namespace
OpenAI.Realtime
Assembly
OpenAI-DotNet.dll
public sealed class ResponseFunctionCallArgumentsResponse : BaseRealtimeEvent, IServerEvent, IRealtimeEvent
Inheritance
ResponseFunctionCallArgumentsResponse
Implements
Inherited Members

Properties

Arguments

The final arguments as a JSON string.

[JsonInclude]
[JsonPropertyName("arguments")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public JsonNode Arguments { get; }

Property Value

JsonNode

CallId

The ID of the function call.

[JsonInclude]
[JsonPropertyName("call_id")]
public string CallId { get; }

Property Value

string

Delta

The arguments delta as a JSON string.

[JsonInclude]
[JsonPropertyName("delta")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string Delta { get; }

Property Value

string

EventId

The unique ID of the server event.

[JsonInclude]
[JsonPropertyName("event_id")]
public override string EventId { get; }

Property Value

string

IsDelta

[JsonIgnore]
public bool IsDelta { get; }

Property Value

bool

IsDone

[JsonIgnore]
public bool IsDone { get; }

Property Value

bool

ItemId

The ID of the item.

[JsonInclude]
[JsonPropertyName("item_id")]
public string ItemId { get; }

Property Value

string

Name

[JsonInclude]
[JsonPropertyName("name")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string Name { get; }

Property Value

string

OutputIndex

The index of the output item in the response.

[JsonInclude]
[JsonPropertyName("output_index")]
public int OutputIndex { get; }

Property Value

int

ResponseId

The ID of the response.

[JsonInclude]
[JsonPropertyName("response_id")]
public string ResponseId { get; }

Property Value

string

Type

[JsonInclude]
[JsonPropertyName("type")]
public override string Type { get; protected set; }

Property Value

string

Operators

implicit operator ToolCall(ResponseFunctionCallArgumentsResponse)

public static implicit operator ToolCall(ResponseFunctionCallArgumentsResponse response)

Parameters

response ResponseFunctionCallArgumentsResponse

Returns

ToolCall