pub struct ComputerToolCallOutput {
pub acknowledged_safety_checks: Option<Vec<ComputerToolCallSafetyCheck>>,
pub call_id: String,
pub id: Option<String>,
pub output: ComputerScreenshotImage,
pub status: Option<String>,
pub _type: String,
}
Expand description
§on openapi.yaml
ComputerToolCallOutput:
type: object
title: Computer tool call output
description: |
The output of a computer tool call.
properties:
type:
type: string
description: >
The type of the computer tool call output. Always
`computer_call_output`.
enum:
- computer_call_output
default: computer_call_output
x-stainless-const: true
id:
type: string
description: |
The ID of the computer tool call output.
call_id:
type: string
description: |
The ID of the computer tool call that produced the output.
acknowledged_safety_checks:
type: array
description: >
The safety checks reported by the API that have been acknowledged by
the
developer.
items:
$ref: "#/components/schemas/ComputerToolCallSafetyCheck"
output:
$ref: "#/components/schemas/ComputerScreenshotImage"
status:
type: string
description: >
The status of the message input. One of `in_progress`, `completed`,
or
`incomplete`. Populated when input items are returned via API.
enum:
- in_progress
- completed
- incomplete
required:
- type
- call_id
- output
Fields§
§acknowledged_safety_checks: Option<Vec<ComputerToolCallSafetyCheck>>
The safety checks reported by the API that have been acknowledged by the developer.
call_id: String
The ID of the computer tool call that produced the output.
id: Option<String>
The ID of the computer tool call output.
output: ComputerScreenshotImage
§status: Option<String>
The status of the message input. One of in_progress
, completed
, or incomplete
. Populated when input items are returned via API.
_type: String
The type of the computer tool call output. Always computer_call_output
.
Trait Implementations§
Source§impl Debug for ComputerToolCallOutput
impl Debug for ComputerToolCallOutput
Source§impl<'de> Deserialize<'de> for ComputerToolCallOutput
impl<'de> Deserialize<'de> for ComputerToolCallOutput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ComputerToolCallOutput
impl RefUnwindSafe for ComputerToolCallOutput
impl Send for ComputerToolCallOutput
impl Sync for ComputerToolCallOutput
impl Unpin for ComputerToolCallOutput
impl UnwindSafe for ComputerToolCallOutput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more