Skip to main content

Type Alias: GatewayInferenceInputComputerTool

type GatewayInferenceInputComputerTool = {
type: "computer_use_preview";
display_width: number;
display_height: number;
environment: "mac" | "windows" | "ubuntu" | "browser";
};

Defined in: src/models/ai-gateway-inference.ts:2564

Portkey ComputerTool; strict modeled input with explicit JSON extension maps.

Example​

`GatewayInferenceInputComputerToolSchema.parse(value);`

Properties​

type​

type: "computer_use_preview";

Defined in: src/models/ai-gateway-inference.ts:2565


display_width​

display_width: number;

Defined in: src/models/ai-gateway-inference.ts:2566


display_height​

display_height: number;

Defined in: src/models/ai-gateway-inference.ts:2567


environment​

environment: "mac" | "windows" | "ubuntu" | "browser";

Defined in: src/models/ai-gateway-inference.ts:2568