pub struct ComputerCallOutputItemParam {
pub acknowledged_safety_checks: Option<Vec<ComputerCallSafetyCheckParam>>,
pub call_id: String,
pub id: Option<String>,
pub output: ComputerScreenshotImage,
pub status: Option<String>,
pub _type: String,
}
Expand description
§on openapi.yaml
ComputerCallOutputItemParam:
properties:
id:
anyOf:
- type: string
description: The ID of the computer tool call output.
- type: "null"
call_id:
type: string
maxLength: 64
minLength: 1
description: The ID of the computer tool call that produced the output.
type:
type: string
enum:
- computer_call_output
description: The type of the computer tool call output. Always
`computer_call_output`.
default: computer_call_output
x-stainless-const: true
output:
$ref: "#/components/schemas/ComputerScreenshotImage"
acknowledged_safety_checks:
anyOf:
- items:
$ref: "#/components/schemas/ComputerCallSafetyCheckParam"
type: array
description:
The safety checks reported by the API that have been acknowledged
by the developer.
- type: "null"
status:
anyOf:
- type: string
enum:
- in_progress
- completed
- incomplete
description:
The status of the message input. One of `in_progress`, `completed`,
or `incomplete`. Populated when input items are returned via
API.
- type: "null"
type: object
required:
- call_id
- type
- output
title: Computer tool call output
description: The output of a computer tool call.
Fields§
§acknowledged_safety_checks: Option<Vec<ComputerCallSafetyCheckParam>>
§call_id: String
The ID of the computer tool call that produced the output.
id: Option<String>
type: “null” or type: string of The ID of the computer tool call output.
output: ComputerScreenshotImage
§status: Option<String>
anyOf: stringin_progress
、stringcompleted
、stringincomplete
or Optionnull
_type: String
The type of the computer tool call output. Always computer_call_output
.
Trait Implementations§
Source§impl Debug for ComputerCallOutputItemParam
impl Debug for ComputerCallOutputItemParam
Source§impl<'de> Deserialize<'de> for ComputerCallOutputItemParam
impl<'de> Deserialize<'de> for ComputerCallOutputItemParam
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 ComputerCallOutputItemParam
impl RefUnwindSafe for ComputerCallOutputItemParam
impl Send for ComputerCallOutputItemParam
impl Sync for ComputerCallOutputItemParam
impl Unpin for ComputerCallOutputItemParam
impl UnwindSafe for ComputerCallOutputItemParam
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