RealtimeResponseInputFunctionCallOutput interface

The result of a function call supplied as input to a Realtime response.

Properties

call_id

The ID of the function call for which this item supplies output.

id

An optional identifier for this function-call output item.

output

The result returned by the function, encoded as a string.

status

The completion status of the function-call output item.

type

The item type. Always function_call_output.

Property Details

call_id

The ID of the function call for which this item supplies output.

call_id: string

Property Value

string

id

An optional identifier for this function-call output item.

id?: string

Property Value

string

output

The result returned by the function, encoded as a string.

output: string

Property Value

string

status

The completion status of the function-call output item.

status?: "completed" | "incomplete"

Property Value

"completed" | "incomplete"

type

The item type. Always function_call_output.

type: "function_call_output"

Property Value

"function_call_output"