Interface ComputerUse

Tool to support computer use.

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

Properties

disabledSafetyPolicies?: SafetyPolicy[]

Optional. Disabled safety policies for computer use. This field is not supported in Vertex AI.

enablePromptInjectionDetection?: boolean

Optional. Enables the prompt injection detection check on computer-use request.

environment?: Environment

Required. The environment being operated.

excludedPredefinedFunctions?: string[]

Optional. By default, predefined functions are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes: 1. Using a more restricted / different action space. 2. Improving the definitions / instructions of predefined functions.