A tool call to a computer use tool. See the computer use guide for more information.

interface ResponseComputerToolCall {
    action:
        | Click
        | DoubleClick
        | Drag
        | Keypress
        | Move
        | Screenshot
        | Scroll
        | Type
        | Wait;
    call_id: string;
    id: string;
    pending_safety_checks: PendingSafetyCheck[];
    status: "in_progress" | "completed" | "incomplete";
    type: "computer_call";
}

Properties

action:
    | Click
    | DoubleClick
    | Drag
    | Keypress
    | Move
    | Screenshot
    | Scroll
    | Type
    | Wait

A click action.

call_id: string

An identifier used when responding to the tool call with output.

id: string

The unique ID of the computer call.

pending_safety_checks: PendingSafetyCheck[]

The pending safety checks for the computer call.

status: "in_progress" | "completed" | "incomplete"

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

type: "computer_call"

The type of the computer call. Always computer_call.