A call to a custom tool created by the model.

interface ResponseCustomToolCall {
    call_id: string;
    id?: string;
    input: string;
    name: string;
    type: "custom_tool_call";
}

Properties

call_id: string

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

id?: string

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

input: string

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

name: string

The name of the custom tool being called.

type: "custom_tool_call"

The type of the custom tool call. Always custom_tool_call.