ComputerCallResultItem
type ComputerCallResultItem = object;
Type declaration
Section titled “Type declaration”callId
Section titled “callId”callId: string;
The ID of the computer call. Required to match up the respective computer call result.
optional id: string;
An ID to identify the item. This is optional by default. If a model provider absolutely requires this field, it will be validated on the model level.
output
Section titled “output”output: object = ComputerToolOutput;
The output of the computer call.
output.data
Section titled “output.data”data: string;
A base64 encoded image data or a URL representing the screenshot.
output.providerData?
Section titled “output.providerData?”optional providerData: Record<string, any>;
Additional optional provider specific data. Used for custom functionality or model provider specific fields.
output.type
Section titled “output.type”type: "computer_screenshot";
providerData?
Section titled “providerData?”optional providerData: Record<string, any>;
Additional optional provider specific data. Used for custom functionality or model provider specific fields.
type: "computer_call_result";