The output of a function tool call.

interface FunctionCallOutput {
    call_id: string;
    id?: null | string;
    output: string;
    status?:
        | null
        | "in_progress"
        | "completed"
        | "incomplete";
    type: "function_call_output";
}

Properties

call_id: string

The unique ID of the function tool call generated by the model.

id?: null | string

The unique ID of the function tool call output. Populated when this item is returned via API.

output: string

A JSON string of the output of the function tool call.

status?:
    | null
    | "in_progress"
    | "completed"
    | "incomplete"

The status of the item. One of in_progress, completed, or incomplete. Populated when items are returned via API.

type: "function_call_output"

The type of the function tool call output. Always function_call_output.