Share via


ItemCustomToolCall interface

A call to a custom tool created by the model.

Extends

Properties

call_id

An identifier used to map this custom tool call to a tool call output.

id

The unique ID of the custom tool call in the OpenAI platform.

input

The input for the custom tool call generated by the model.

name

The name of the custom tool being called.

type

The type of the custom tool call. Always custom_tool_call.

Property Details

call_id

An identifier used to map this custom tool call to a tool call output.

call_id: string

Property Value

string

id

The unique ID of the custom tool call in the OpenAI platform.

id?: string

Property Value

string

input

The input for the custom tool call generated by the model.

input: string

Property Value

string

name

The name of the custom tool being called.

name: string

Property Value

string

type

The type of the custom tool call. Always custom_tool_call.

type: "custom_tool_call"

Property Value

"custom_tool_call"