The output of a custom tool call from your code, being sent back to the model.

interface ResponseCustomToolCallOutput {
    call_id: string;
    id?: string;
    output: string;
    type: "custom_tool_call_output";
}

Properties

Properties

call_id: string

The call ID, used to map this custom tool call output to a custom tool call.

id?: string

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

output: string

The output from the custom tool call generated by your code.

type: "custom_tool_call_output"

The type of the custom tool call output. Always custom_tool_call_output.