Share via


ServerEventResponseFunctionCallArgumentsDone interface

Returned when the model-generated function call arguments are done streaming. Also emitted when a Response is interrupted, incomplete, or cancelled.

Extends

Properties

arguments

The final arguments as a JSON string.

callId

The ID of the function call.

itemId

The ID of the function call item.

name

The name of the function call.

outputIndex

The index of the output item in the response.

responseId

The ID of the response.

type

The event type, must be response.function_call_arguments.done.

Inherited Properties

eventId

Property Details

arguments

The final arguments as a JSON string.

arguments: string

Property Value

string

callId

The ID of the function call.

callId: string

Property Value

string

itemId

The ID of the function call item.

itemId: string

Property Value

string

name

The name of the function call.

name: string

Property Value

string

outputIndex

The index of the output item in the response.

outputIndex: number

Property Value

number

responseId

The ID of the response.

responseId: string

Property Value

string

type

The event type, must be response.function_call_arguments.done.

type: "response.function_call_arguments.done"

Property Value

"response.function_call_arguments.done"

Inherited Property Details

eventId

eventId?: string

Property Value

string

Inherited From ServerEvent.eventId