Interface ComputerUse

A tool that enables the model to interact directly with a computer environment.

interface ComputerUse {
    disabledSafetyPolicies?: SafetyPolicy[];
    enablePromptInjectionDetection?: boolean;
    environment?: Environment;
    excludedPredefinedFunctions?: string[];
}

Properties

disabledSafetyPolicies?: SafetyPolicy[]

Optional. A list of safety policies to disable for the computer use tool.

enablePromptInjectionDetection?: boolean

Optional. Whether to enable the prompt injection detection check on the computer use request.

environment?: Environment

Required. The target environment where the computer use tool operates.

excludedPredefinedFunctions?: string[]

Optional. A list of predefined functions to explicitly exclude from the model call. By default, predefined functions are included. Excluding functions allows for a more restricted action space or custom definitions for predefined functions.