File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
google/cloud/aiplatform/v1beta1 Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,21 @@ message Tool {
4949 // output to this tool.
5050 message CodeExecution {}
5151
52+ // Tool to support computer use.
53+ message ComputerUse {
54+ // Represents the environment being operated, such as a web browser.
55+ enum Environment {
56+ // Defaults to browser.
57+ ENVIRONMENT_UNSPECIFIED = 0 ;
58+
59+ // Operates in a web browser.
60+ ENVIRONMENT_BROWSER = 1 ;
61+ }
62+
63+ // Required. The environment being operated.
64+ Environment environment = 1 [(google.api.field_behavior ) = REQUIRED ];
65+ }
66+
5267 // Optional. Function tool type.
5368 // One or more function declarations to be passed to the model along with the
5469 // current user query. Model may decide to call a subset of these functions
@@ -88,6 +103,11 @@ message Tool {
88103
89104 // Optional. Tool to support URL context retrieval.
90105 UrlContext url_context = 8 [(google.api.field_behavior ) = OPTIONAL ];
106+
107+ // Optional. Tool to support the model interacting directly with the computer.
108+ // If enabled, it automatically populates computer-use specific Function
109+ // Declarations.
110+ ComputerUse computer_use = 11 [(google.api.field_behavior ) = OPTIONAL ];
91111}
92112
93113// Tool to support URL context.
You can’t perform that action at this time.
0 commit comments