Computer Use
@Serializable
Tool to support computer use.
Constructors
Link copied to clipboard
constructor(environment: Environment? = null, excludedPredefinedFunctions: List<String>? = null, enablePromptInjectionDetection: Boolean? = null, disabledSafetyPolicies: List<SafetyPolicy>? = null)
Properties
Link copied to clipboard
Optional. Disabled safety policies for computer use. This field is not supported in Vertex AI.
Link copied to clipboard
Optional. Enables the prompt injection detection check on computer-use request.
Link copied to clipboard
Required. The environment being operated.
Link copied to clipboard
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.