RealtimeResponseInputFunctionCall interface

A function call supplied as input to a Realtime response.

Properties

arguments

The arguments for the function call, encoded as a JSON string.

call_id

The function call ID used to associate the call with its output.

id

An optional identifier for this function-call input item.

name

The name of the function being called.

status

The completion status of the function-call input item.

type

The item type. Always function_call.

Property Details

arguments

The arguments for the function call, encoded as a JSON string.

arguments: string

Property Value

string

call_id

The function call ID used to associate the call with its output.

call_id: string

Property Value

string

id

An optional identifier for this function-call input item.

id?: string

Property Value

string

name

The name of the function being called.

name: string

Property Value

string

status

The completion status of the function-call input item.

status?: "completed" | "incomplete"

Property Value

"completed" | "incomplete"

type

The item type. Always function_call.

type: "function_call"

Property Value

"function_call"