View Source ExOpenAI.Components.ComputerToolCall (ex_openai.ex v2.0.0-beta2)

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

Fields

  • :action - optional - ExOpenAI.Components.ComputerAction.t()

  • :actions - optional - ExOpenAI.Components.ComputerActionList.t()

  • :call_id - required - String.t()
    An identifier used when responding to the tool call with output.

  • :id - required - String.t()
    The unique ID of the computer call.

  • :pending_safety_checks - required - [ExOpenAI.Components.ComputerCallSafetyCheckParam.t()]
    The pending safety checks for the computer call.

  • :status - required - :in_progress | :completed | :incomplete
    The status of the item. One of in_progress, completed, or incomplete. Populated when items are returned via API.
    Allowed values: "in_progress", "completed", "incomplete"

  • :type - required - :computer_call
    The type of the computer call. Always computer_call.
    Allowed values: "computer_call"
    Default: "computer_call"

Summary

Types

@type t() :: %ExOpenAI.Components.ComputerToolCall{
  action: ExOpenAI.Components.ComputerAction.t() | nil,
  actions: ExOpenAI.Components.ComputerActionList.t() | nil,
  call_id: String.t(),
  id: String.t(),
  pending_safety_checks: [ExOpenAI.Components.ComputerCallSafetyCheckParam.t()],
  status: (:in_progress | :completed) | :incomplete,
  type: :computer_call
}