@opentabs-dev/opentabs-plugin-google-cloud 0.0.81 → 0.0.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapter.iife.js +15560 -0
- package/dist/adapter.iife.js.map +7 -0
- package/dist/gcloud-api.d.ts.map +1 -1
- package/dist/gcloud-api.js +2 -0
- package/dist/gcloud-api.js.map +1 -1
- package/dist/tools.json +2153 -0
- package/package.json +3 -3
package/dist/tools.json
ADDED
|
@@ -0,0 +1,2153 @@
|
|
|
1
|
+
{
|
|
2
|
+
"sdkVersion": "0.0.82",
|
|
3
|
+
"iconSvg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 64 64\"><path d=\"M40.728 20.488l2.05.035 5.57-5.57.27-2.36C44.2 8.657 38.367 6.26 31.993 6.26c-11.54 0-21.28 7.852-24.163 18.488.608-.424 1.908-.106 1.908-.106l11.13-1.83s.572-.947.862-.9A13.88 13.88 0 0 1 32 17.375c3.3.007 6.34 1.173 8.728 3.102z\" fill=\"#ea4335\"/><path d=\"M56.17 24.77c-1.293-4.77-3.958-8.982-7.555-12.177l-7.887 7.887c3.16 2.55 5.187 6.452 5.187 10.82v1.392c3.837 0 6.954 3.124 6.954 6.954 0 3.837-3.124 6.954-6.954 6.954H32.007L30.615 48v8.346l1.392 1.385h13.908A18.11 18.11 0 0 0 64 39.647c-.007-6.155-3.1-11.6-7.83-14.876z\" fill=\"#4285f4\"/><path d=\"M18.085 57.74h13.9V46.6h-13.9a6.89 6.89 0 0 1-2.862-.622l-2.007.615-5.57 5.57-.488 1.88a18 18 0 0 0 10.926 3.689z\" fill=\"#34a853\"/><path d=\"M18.085 21.57A18.11 18.11 0 0 0 0 39.654c0 5.873 2.813 11.095 7.166 14.403l8.064-8.064a6.96 6.96 0 0 1-4.099-6.339c0-3.837 3.124-6.954 6.954-6.954 2.82 0 5.244 1.7 6.34 4.1l8.064-8.064c-3.307-4.353-8.53-7.166-14.403-7.166z\" fill=\"#fbbc05\"/></svg>",
|
|
4
|
+
"iconInactiveSvg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 64 64\"><path d=\"M40.728 20.488l2.05.035 5.57-5.57.27-2.36C44.2 8.657 38.367 6.26 31.993 6.26c-11.54 0-21.28 7.852-24.163 18.488.608-.424 1.908-.106 1.908-.106l11.13-1.83s.572-.947.862-.9A13.88 13.88 0 0 1 32 17.375c3.3.007 6.34 1.173 8.728 3.102z\" fill=\"#999999\"/><path d=\"M56.17 24.77c-1.293-4.77-3.958-8.982-7.555-12.177l-7.887 7.887c3.16 2.55 5.187 6.452 5.187 10.82v1.392c3.837 0 6.954 3.124 6.954 6.954 0 3.837-3.124 6.954-6.954 6.954H32.007L30.615 48v8.346l1.392 1.385h13.908A18.11 18.11 0 0 0 64 39.647c-.007-6.155-3.1-11.6-7.83-14.876z\" fill=\"#999999\"/><path d=\"M18.085 57.74h13.9V46.6h-13.9a6.89 6.89 0 0 1-2.862-.622l-2.007.615-5.57 5.57-.488 1.88a18 18 0 0 0 10.926 3.689z\" fill=\"#999999\"/><path d=\"M18.085 21.57A18.11 18.11 0 0 0 0 39.654c0 5.873 2.813 11.095 7.166 14.403l8.064-8.064a6.96 6.96 0 0 1-4.099-6.339c0-3.837 3.124-6.954 6.954-6.954 2.82 0 5.244 1.7 6.34 4.1l8.064-8.064c-3.307-4.353-8.53-7.166-14.403-7.166z\" fill=\"#bcbcbc\"/></svg>",
|
|
5
|
+
"iconDarkSvg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 64 64\"><path d=\"M40.728 20.488l2.05.035 5.57-5.57.27-2.36C44.2 8.657 38.367 6.26 31.993 6.26c-11.54 0-21.28 7.852-24.163 18.488.608-.424 1.908-.106 1.908-.106l11.13-1.83s.572-.947.862-.9A13.88 13.88 0 0 1 32 17.375c3.3.007 6.34 1.173 8.728 3.102z\" fill=\"#ea4335\"/><path d=\"M56.17 24.77c-1.293-4.77-3.958-8.982-7.555-12.177l-7.887 7.887c3.16 2.55 5.187 6.452 5.187 10.82v1.392c3.837 0 6.954 3.124 6.954 6.954 0 3.837-3.124 6.954-6.954 6.954H32.007L30.615 48v8.346l1.392 1.385h13.908A18.11 18.11 0 0 0 64 39.647c-.007-6.155-3.1-11.6-7.83-14.876z\" fill=\"#4285f4\"/><path d=\"M18.085 57.74h13.9V46.6h-13.9a6.89 6.89 0 0 1-2.862-.622l-2.007.615-5.57 5.57-.488 1.88a18 18 0 0 0 10.926 3.689z\" fill=\"#34a853\"/><path d=\"M18.085 21.57A18.11 18.11 0 0 0 0 39.654c0 5.873 2.813 11.095 7.166 14.403l8.064-8.064a6.96 6.96 0 0 1-4.099-6.339c0-3.837 3.124-6.954 6.954-6.954 2.82 0 5.244 1.7 6.34 4.1l8.064-8.064c-3.307-4.353-8.53-7.166-14.403-7.166z\" fill=\"#fbbc05\"/></svg>",
|
|
6
|
+
"iconDarkInactiveSvg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 64 64\"><path d=\"M40.728 20.488l2.05.035 5.57-5.57.27-2.36C44.2 8.657 38.367 6.26 31.993 6.26c-11.54 0-21.28 7.852-24.163 18.488.608-.424 1.908-.106 1.908-.106l11.13-1.83s.572-.947.862-.9A13.88 13.88 0 0 1 32 17.375c3.3.007 6.34 1.173 8.728 3.102z\" fill=\"#999999\"/><path d=\"M56.17 24.77c-1.293-4.77-3.958-8.982-7.555-12.177l-7.887 7.887c3.16 2.55 5.187 6.452 5.187 10.82v1.392c3.837 0 6.954 3.124 6.954 6.954 0 3.837-3.124 6.954-6.954 6.954H32.007L30.615 48v8.346l1.392 1.385h13.908A18.11 18.11 0 0 0 64 39.647c-.007-6.155-3.1-11.6-7.83-14.876z\" fill=\"#999999\"/><path d=\"M18.085 57.74h13.9V46.6h-13.9a6.89 6.89 0 0 1-2.862-.622l-2.007.615-5.57 5.57-.488 1.88a18 18 0 0 0 10.926 3.689z\" fill=\"#999999\"/><path d=\"M18.085 21.57A18.11 18.11 0 0 0 0 39.654c0 5.873 2.813 11.095 7.166 14.403l8.064-8.064a6.96 6.96 0 0 1-4.099-6.339c0-3.837 3.124-6.954 6.954-6.954 2.82 0 5.244 1.7 6.34 4.1l8.064-8.064c-3.307-4.353-8.53-7.166-14.403-7.166z\" fill=\"#bcbcbc\"/></svg>",
|
|
7
|
+
"tools": [
|
|
8
|
+
{
|
|
9
|
+
"name": "get_current_project",
|
|
10
|
+
"displayName": "Get Current Project",
|
|
11
|
+
"description": "Get the currently active GCP project from the console URL. Returns the project ID the user is currently viewing.",
|
|
12
|
+
"summary": "Get the active project from the console URL",
|
|
13
|
+
"icon": "folder-open",
|
|
14
|
+
"group": "Projects",
|
|
15
|
+
"input_schema": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {},
|
|
18
|
+
"additionalProperties": false
|
|
19
|
+
},
|
|
20
|
+
"output_schema": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {
|
|
23
|
+
"project_id": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "Currently active project ID"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"required": [
|
|
29
|
+
"project_id"
|
|
30
|
+
],
|
|
31
|
+
"additionalProperties": false
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "list_projects",
|
|
36
|
+
"displayName": "List Projects",
|
|
37
|
+
"description": "List all GCP projects accessible to the current user. Returns project IDs, names, and lifecycle states.",
|
|
38
|
+
"summary": "List accessible GCP projects",
|
|
39
|
+
"icon": "folder",
|
|
40
|
+
"group": "Projects",
|
|
41
|
+
"input_schema": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"properties": {
|
|
44
|
+
"page_size": {
|
|
45
|
+
"description": "Max results per page (default 50, max 100)",
|
|
46
|
+
"type": "integer",
|
|
47
|
+
"minimum": 1,
|
|
48
|
+
"maximum": 100
|
|
49
|
+
},
|
|
50
|
+
"page_token": {
|
|
51
|
+
"description": "Page token from a previous response for pagination",
|
|
52
|
+
"type": "string"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"additionalProperties": false
|
|
56
|
+
},
|
|
57
|
+
"output_schema": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"projects": {
|
|
61
|
+
"type": "array",
|
|
62
|
+
"items": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"properties": {
|
|
65
|
+
"project_id": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"description": "Project ID (e.g., \"my-project\")"
|
|
68
|
+
},
|
|
69
|
+
"project_number": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"description": "Numeric project number"
|
|
72
|
+
},
|
|
73
|
+
"name": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"description": "Project display name"
|
|
76
|
+
},
|
|
77
|
+
"state": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"description": "Lifecycle state (e.g., ACTIVE, DELETE_REQUESTED)"
|
|
80
|
+
},
|
|
81
|
+
"create_time": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"description": "ISO 8601 creation timestamp"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"required": [
|
|
87
|
+
"project_id",
|
|
88
|
+
"project_number",
|
|
89
|
+
"name",
|
|
90
|
+
"state",
|
|
91
|
+
"create_time"
|
|
92
|
+
],
|
|
93
|
+
"additionalProperties": false
|
|
94
|
+
},
|
|
95
|
+
"description": "List of projects"
|
|
96
|
+
},
|
|
97
|
+
"next_page_token": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"description": "Token for next page, empty if no more results"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"required": [
|
|
103
|
+
"projects",
|
|
104
|
+
"next_page_token"
|
|
105
|
+
],
|
|
106
|
+
"additionalProperties": false
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "get_project",
|
|
111
|
+
"displayName": "Get Project",
|
|
112
|
+
"description": "Get detailed information about a GCP project by its project ID. Defaults to the currently active project if no ID is provided.",
|
|
113
|
+
"summary": "Get details about a GCP project",
|
|
114
|
+
"icon": "folder-open",
|
|
115
|
+
"group": "Projects",
|
|
116
|
+
"input_schema": {
|
|
117
|
+
"type": "object",
|
|
118
|
+
"properties": {
|
|
119
|
+
"project_id": {
|
|
120
|
+
"description": "Project ID (defaults to currently active project)",
|
|
121
|
+
"type": "string"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"additionalProperties": false
|
|
125
|
+
},
|
|
126
|
+
"output_schema": {
|
|
127
|
+
"type": "object",
|
|
128
|
+
"properties": {
|
|
129
|
+
"project": {
|
|
130
|
+
"type": "object",
|
|
131
|
+
"properties": {
|
|
132
|
+
"project_id": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"description": "Project ID (e.g., \"my-project\")"
|
|
135
|
+
},
|
|
136
|
+
"project_number": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"description": "Numeric project number"
|
|
139
|
+
},
|
|
140
|
+
"name": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"description": "Project display name"
|
|
143
|
+
},
|
|
144
|
+
"state": {
|
|
145
|
+
"type": "string",
|
|
146
|
+
"description": "Lifecycle state (e.g., ACTIVE, DELETE_REQUESTED)"
|
|
147
|
+
},
|
|
148
|
+
"create_time": {
|
|
149
|
+
"type": "string",
|
|
150
|
+
"description": "ISO 8601 creation timestamp"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"required": [
|
|
154
|
+
"project_id",
|
|
155
|
+
"project_number",
|
|
156
|
+
"name",
|
|
157
|
+
"state",
|
|
158
|
+
"create_time"
|
|
159
|
+
],
|
|
160
|
+
"additionalProperties": false
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"required": [
|
|
164
|
+
"project"
|
|
165
|
+
],
|
|
166
|
+
"additionalProperties": false
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "list_instances",
|
|
171
|
+
"displayName": "List Instances",
|
|
172
|
+
"description": "List Compute Engine VM instances in a zone. If no zone is specified, lists instances across all zones using aggregated list.",
|
|
173
|
+
"summary": "List Compute Engine VM instances",
|
|
174
|
+
"icon": "server",
|
|
175
|
+
"group": "Compute",
|
|
176
|
+
"input_schema": {
|
|
177
|
+
"type": "object",
|
|
178
|
+
"properties": {
|
|
179
|
+
"project_id": {
|
|
180
|
+
"description": "Project ID (defaults to currently active project)",
|
|
181
|
+
"type": "string"
|
|
182
|
+
},
|
|
183
|
+
"zone": {
|
|
184
|
+
"description": "Zone (e.g., \"us-central1-a\"). If omitted, lists across all zones.",
|
|
185
|
+
"type": "string"
|
|
186
|
+
},
|
|
187
|
+
"max_results": {
|
|
188
|
+
"description": "Max results (default 50)",
|
|
189
|
+
"type": "integer",
|
|
190
|
+
"minimum": 1,
|
|
191
|
+
"maximum": 500
|
|
192
|
+
},
|
|
193
|
+
"page_token": {
|
|
194
|
+
"description": "Page token from a previous response",
|
|
195
|
+
"type": "string"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"additionalProperties": false
|
|
199
|
+
},
|
|
200
|
+
"output_schema": {
|
|
201
|
+
"type": "object",
|
|
202
|
+
"properties": {
|
|
203
|
+
"instances": {
|
|
204
|
+
"type": "array",
|
|
205
|
+
"items": {
|
|
206
|
+
"type": "object",
|
|
207
|
+
"properties": {
|
|
208
|
+
"id": {
|
|
209
|
+
"type": "string",
|
|
210
|
+
"description": "Instance numeric ID"
|
|
211
|
+
},
|
|
212
|
+
"name": {
|
|
213
|
+
"type": "string",
|
|
214
|
+
"description": "Instance name"
|
|
215
|
+
},
|
|
216
|
+
"zone": {
|
|
217
|
+
"type": "string",
|
|
218
|
+
"description": "Zone (e.g., \"us-central1-a\")"
|
|
219
|
+
},
|
|
220
|
+
"machine_type": {
|
|
221
|
+
"type": "string",
|
|
222
|
+
"description": "Machine type (e.g., \"e2-medium\")"
|
|
223
|
+
},
|
|
224
|
+
"status": {
|
|
225
|
+
"type": "string",
|
|
226
|
+
"description": "Instance status (e.g., RUNNING, TERMINATED, STOPPED)"
|
|
227
|
+
},
|
|
228
|
+
"internal_ip": {
|
|
229
|
+
"type": "string",
|
|
230
|
+
"description": "Primary internal IP address"
|
|
231
|
+
},
|
|
232
|
+
"external_ip": {
|
|
233
|
+
"type": "string",
|
|
234
|
+
"description": "Primary external IP address (empty if none)"
|
|
235
|
+
},
|
|
236
|
+
"creation_timestamp": {
|
|
237
|
+
"type": "string",
|
|
238
|
+
"description": "ISO 8601 creation timestamp"
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
"required": [
|
|
242
|
+
"id",
|
|
243
|
+
"name",
|
|
244
|
+
"zone",
|
|
245
|
+
"machine_type",
|
|
246
|
+
"status",
|
|
247
|
+
"internal_ip",
|
|
248
|
+
"external_ip",
|
|
249
|
+
"creation_timestamp"
|
|
250
|
+
],
|
|
251
|
+
"additionalProperties": false
|
|
252
|
+
},
|
|
253
|
+
"description": "List of VM instances"
|
|
254
|
+
},
|
|
255
|
+
"next_page_token": {
|
|
256
|
+
"type": "string",
|
|
257
|
+
"description": "Token for next page, empty if no more results"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"required": [
|
|
261
|
+
"instances",
|
|
262
|
+
"next_page_token"
|
|
263
|
+
],
|
|
264
|
+
"additionalProperties": false
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "get_instance",
|
|
269
|
+
"displayName": "Get Instance",
|
|
270
|
+
"description": "Get detailed information about a specific Compute Engine VM instance.",
|
|
271
|
+
"summary": "Get a Compute Engine VM instance",
|
|
272
|
+
"icon": "server",
|
|
273
|
+
"group": "Compute",
|
|
274
|
+
"input_schema": {
|
|
275
|
+
"type": "object",
|
|
276
|
+
"properties": {
|
|
277
|
+
"zone": {
|
|
278
|
+
"type": "string",
|
|
279
|
+
"description": "Zone (e.g., \"us-central1-a\")"
|
|
280
|
+
},
|
|
281
|
+
"instance_name": {
|
|
282
|
+
"type": "string",
|
|
283
|
+
"description": "Instance name"
|
|
284
|
+
},
|
|
285
|
+
"project_id": {
|
|
286
|
+
"description": "Project ID (defaults to currently active project)",
|
|
287
|
+
"type": "string"
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
"required": [
|
|
291
|
+
"zone",
|
|
292
|
+
"instance_name"
|
|
293
|
+
],
|
|
294
|
+
"additionalProperties": false
|
|
295
|
+
},
|
|
296
|
+
"output_schema": {
|
|
297
|
+
"type": "object",
|
|
298
|
+
"properties": {
|
|
299
|
+
"instance": {
|
|
300
|
+
"type": "object",
|
|
301
|
+
"properties": {
|
|
302
|
+
"id": {
|
|
303
|
+
"type": "string",
|
|
304
|
+
"description": "Instance numeric ID"
|
|
305
|
+
},
|
|
306
|
+
"name": {
|
|
307
|
+
"type": "string",
|
|
308
|
+
"description": "Instance name"
|
|
309
|
+
},
|
|
310
|
+
"zone": {
|
|
311
|
+
"type": "string",
|
|
312
|
+
"description": "Zone (e.g., \"us-central1-a\")"
|
|
313
|
+
},
|
|
314
|
+
"machine_type": {
|
|
315
|
+
"type": "string",
|
|
316
|
+
"description": "Machine type (e.g., \"e2-medium\")"
|
|
317
|
+
},
|
|
318
|
+
"status": {
|
|
319
|
+
"type": "string",
|
|
320
|
+
"description": "Instance status (e.g., RUNNING, TERMINATED, STOPPED)"
|
|
321
|
+
},
|
|
322
|
+
"internal_ip": {
|
|
323
|
+
"type": "string",
|
|
324
|
+
"description": "Primary internal IP address"
|
|
325
|
+
},
|
|
326
|
+
"external_ip": {
|
|
327
|
+
"type": "string",
|
|
328
|
+
"description": "Primary external IP address (empty if none)"
|
|
329
|
+
},
|
|
330
|
+
"creation_timestamp": {
|
|
331
|
+
"type": "string",
|
|
332
|
+
"description": "ISO 8601 creation timestamp"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"required": [
|
|
336
|
+
"id",
|
|
337
|
+
"name",
|
|
338
|
+
"zone",
|
|
339
|
+
"machine_type",
|
|
340
|
+
"status",
|
|
341
|
+
"internal_ip",
|
|
342
|
+
"external_ip",
|
|
343
|
+
"creation_timestamp"
|
|
344
|
+
],
|
|
345
|
+
"additionalProperties": false
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"required": [
|
|
349
|
+
"instance"
|
|
350
|
+
],
|
|
351
|
+
"additionalProperties": false
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"name": "start_instance",
|
|
356
|
+
"displayName": "Start Instance",
|
|
357
|
+
"description": "Start a stopped Compute Engine VM instance. The instance must be in TERMINATED or STOPPED state.",
|
|
358
|
+
"summary": "Start a stopped VM instance",
|
|
359
|
+
"icon": "play",
|
|
360
|
+
"group": "Compute",
|
|
361
|
+
"input_schema": {
|
|
362
|
+
"type": "object",
|
|
363
|
+
"properties": {
|
|
364
|
+
"zone": {
|
|
365
|
+
"type": "string",
|
|
366
|
+
"description": "Zone (e.g., \"us-central1-a\")"
|
|
367
|
+
},
|
|
368
|
+
"instance_name": {
|
|
369
|
+
"type": "string",
|
|
370
|
+
"description": "Instance name"
|
|
371
|
+
},
|
|
372
|
+
"project_id": {
|
|
373
|
+
"description": "Project ID (defaults to currently active project)",
|
|
374
|
+
"type": "string"
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
"required": [
|
|
378
|
+
"zone",
|
|
379
|
+
"instance_name"
|
|
380
|
+
],
|
|
381
|
+
"additionalProperties": false
|
|
382
|
+
},
|
|
383
|
+
"output_schema": {
|
|
384
|
+
"type": "object",
|
|
385
|
+
"properties": {
|
|
386
|
+
"success": {
|
|
387
|
+
"type": "boolean",
|
|
388
|
+
"description": "Whether the operation was initiated"
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
"required": [
|
|
392
|
+
"success"
|
|
393
|
+
],
|
|
394
|
+
"additionalProperties": false
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"name": "stop_instance",
|
|
399
|
+
"displayName": "Stop Instance",
|
|
400
|
+
"description": "Stop a running Compute Engine VM instance. The instance must be in RUNNING state.",
|
|
401
|
+
"summary": "Stop a running VM instance",
|
|
402
|
+
"icon": "square",
|
|
403
|
+
"group": "Compute",
|
|
404
|
+
"input_schema": {
|
|
405
|
+
"type": "object",
|
|
406
|
+
"properties": {
|
|
407
|
+
"zone": {
|
|
408
|
+
"type": "string",
|
|
409
|
+
"description": "Zone (e.g., \"us-central1-a\")"
|
|
410
|
+
},
|
|
411
|
+
"instance_name": {
|
|
412
|
+
"type": "string",
|
|
413
|
+
"description": "Instance name"
|
|
414
|
+
},
|
|
415
|
+
"project_id": {
|
|
416
|
+
"description": "Project ID (defaults to currently active project)",
|
|
417
|
+
"type": "string"
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
"required": [
|
|
421
|
+
"zone",
|
|
422
|
+
"instance_name"
|
|
423
|
+
],
|
|
424
|
+
"additionalProperties": false
|
|
425
|
+
},
|
|
426
|
+
"output_schema": {
|
|
427
|
+
"type": "object",
|
|
428
|
+
"properties": {
|
|
429
|
+
"success": {
|
|
430
|
+
"type": "boolean",
|
|
431
|
+
"description": "Whether the operation was initiated"
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
"required": [
|
|
435
|
+
"success"
|
|
436
|
+
],
|
|
437
|
+
"additionalProperties": false
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"name": "list_disks",
|
|
442
|
+
"displayName": "List Disks",
|
|
443
|
+
"description": "List Compute Engine persistent disks. If no zone is specified, lists across all zones.",
|
|
444
|
+
"summary": "List persistent disks",
|
|
445
|
+
"icon": "hard-drive",
|
|
446
|
+
"group": "Compute",
|
|
447
|
+
"input_schema": {
|
|
448
|
+
"type": "object",
|
|
449
|
+
"properties": {
|
|
450
|
+
"project_id": {
|
|
451
|
+
"description": "Project ID (defaults to currently active project)",
|
|
452
|
+
"type": "string"
|
|
453
|
+
},
|
|
454
|
+
"zone": {
|
|
455
|
+
"description": "Zone (e.g., \"us-central1-a\"). If omitted, lists across all zones.",
|
|
456
|
+
"type": "string"
|
|
457
|
+
},
|
|
458
|
+
"max_results": {
|
|
459
|
+
"description": "Max results (default 50)",
|
|
460
|
+
"type": "integer",
|
|
461
|
+
"minimum": 1,
|
|
462
|
+
"maximum": 500
|
|
463
|
+
},
|
|
464
|
+
"page_token": {
|
|
465
|
+
"description": "Page token from a previous response",
|
|
466
|
+
"type": "string"
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
"additionalProperties": false
|
|
470
|
+
},
|
|
471
|
+
"output_schema": {
|
|
472
|
+
"type": "object",
|
|
473
|
+
"properties": {
|
|
474
|
+
"disks": {
|
|
475
|
+
"type": "array",
|
|
476
|
+
"items": {
|
|
477
|
+
"type": "object",
|
|
478
|
+
"properties": {
|
|
479
|
+
"id": {
|
|
480
|
+
"type": "string",
|
|
481
|
+
"description": "Disk numeric ID"
|
|
482
|
+
},
|
|
483
|
+
"name": {
|
|
484
|
+
"type": "string",
|
|
485
|
+
"description": "Disk name"
|
|
486
|
+
},
|
|
487
|
+
"zone": {
|
|
488
|
+
"type": "string",
|
|
489
|
+
"description": "Zone"
|
|
490
|
+
},
|
|
491
|
+
"size_gb": {
|
|
492
|
+
"type": "string",
|
|
493
|
+
"description": "Disk size in GB"
|
|
494
|
+
},
|
|
495
|
+
"type": {
|
|
496
|
+
"type": "string",
|
|
497
|
+
"description": "Disk type (e.g., pd-standard, pd-ssd)"
|
|
498
|
+
},
|
|
499
|
+
"status": {
|
|
500
|
+
"type": "string",
|
|
501
|
+
"description": "Disk status (e.g., READY)"
|
|
502
|
+
},
|
|
503
|
+
"creation_timestamp": {
|
|
504
|
+
"type": "string",
|
|
505
|
+
"description": "ISO 8601 creation timestamp"
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
"required": [
|
|
509
|
+
"id",
|
|
510
|
+
"name",
|
|
511
|
+
"zone",
|
|
512
|
+
"size_gb",
|
|
513
|
+
"type",
|
|
514
|
+
"status",
|
|
515
|
+
"creation_timestamp"
|
|
516
|
+
],
|
|
517
|
+
"additionalProperties": false
|
|
518
|
+
},
|
|
519
|
+
"description": "List of persistent disks"
|
|
520
|
+
},
|
|
521
|
+
"next_page_token": {
|
|
522
|
+
"type": "string",
|
|
523
|
+
"description": "Token for next page, empty if no more results"
|
|
524
|
+
}
|
|
525
|
+
},
|
|
526
|
+
"required": [
|
|
527
|
+
"disks",
|
|
528
|
+
"next_page_token"
|
|
529
|
+
],
|
|
530
|
+
"additionalProperties": false
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"name": "list_networks",
|
|
535
|
+
"displayName": "List Networks",
|
|
536
|
+
"description": "List VPC networks in the project.",
|
|
537
|
+
"summary": "List VPC networks",
|
|
538
|
+
"icon": "network",
|
|
539
|
+
"group": "Compute",
|
|
540
|
+
"input_schema": {
|
|
541
|
+
"type": "object",
|
|
542
|
+
"properties": {
|
|
543
|
+
"project_id": {
|
|
544
|
+
"description": "Project ID (defaults to currently active project)",
|
|
545
|
+
"type": "string"
|
|
546
|
+
},
|
|
547
|
+
"max_results": {
|
|
548
|
+
"description": "Max results (default 50)",
|
|
549
|
+
"type": "integer",
|
|
550
|
+
"minimum": 1,
|
|
551
|
+
"maximum": 500
|
|
552
|
+
},
|
|
553
|
+
"page_token": {
|
|
554
|
+
"description": "Page token from a previous response",
|
|
555
|
+
"type": "string"
|
|
556
|
+
}
|
|
557
|
+
},
|
|
558
|
+
"additionalProperties": false
|
|
559
|
+
},
|
|
560
|
+
"output_schema": {
|
|
561
|
+
"type": "object",
|
|
562
|
+
"properties": {
|
|
563
|
+
"networks": {
|
|
564
|
+
"type": "array",
|
|
565
|
+
"items": {
|
|
566
|
+
"type": "object",
|
|
567
|
+
"properties": {
|
|
568
|
+
"id": {
|
|
569
|
+
"type": "string",
|
|
570
|
+
"description": "Network numeric ID"
|
|
571
|
+
},
|
|
572
|
+
"name": {
|
|
573
|
+
"type": "string",
|
|
574
|
+
"description": "Network name"
|
|
575
|
+
},
|
|
576
|
+
"auto_create_subnetworks": {
|
|
577
|
+
"type": "boolean",
|
|
578
|
+
"description": "Whether subnets are auto-created"
|
|
579
|
+
},
|
|
580
|
+
"routing_mode": {
|
|
581
|
+
"type": "string",
|
|
582
|
+
"description": "Routing mode (REGIONAL or GLOBAL)"
|
|
583
|
+
},
|
|
584
|
+
"creation_timestamp": {
|
|
585
|
+
"type": "string",
|
|
586
|
+
"description": "ISO 8601 creation timestamp"
|
|
587
|
+
}
|
|
588
|
+
},
|
|
589
|
+
"required": [
|
|
590
|
+
"id",
|
|
591
|
+
"name",
|
|
592
|
+
"auto_create_subnetworks",
|
|
593
|
+
"routing_mode",
|
|
594
|
+
"creation_timestamp"
|
|
595
|
+
],
|
|
596
|
+
"additionalProperties": false
|
|
597
|
+
},
|
|
598
|
+
"description": "List of VPC networks"
|
|
599
|
+
},
|
|
600
|
+
"next_page_token": {
|
|
601
|
+
"type": "string",
|
|
602
|
+
"description": "Token for next page, empty if no more results"
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
"required": [
|
|
606
|
+
"networks",
|
|
607
|
+
"next_page_token"
|
|
608
|
+
],
|
|
609
|
+
"additionalProperties": false
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"name": "list_firewalls",
|
|
614
|
+
"displayName": "List Firewalls",
|
|
615
|
+
"description": "List firewall rules in the project.",
|
|
616
|
+
"summary": "List firewall rules",
|
|
617
|
+
"icon": "shield",
|
|
618
|
+
"group": "Compute",
|
|
619
|
+
"input_schema": {
|
|
620
|
+
"type": "object",
|
|
621
|
+
"properties": {
|
|
622
|
+
"project_id": {
|
|
623
|
+
"description": "Project ID (defaults to currently active project)",
|
|
624
|
+
"type": "string"
|
|
625
|
+
},
|
|
626
|
+
"max_results": {
|
|
627
|
+
"description": "Max results (default 50)",
|
|
628
|
+
"type": "integer",
|
|
629
|
+
"minimum": 1,
|
|
630
|
+
"maximum": 500
|
|
631
|
+
},
|
|
632
|
+
"page_token": {
|
|
633
|
+
"description": "Page token from a previous response",
|
|
634
|
+
"type": "string"
|
|
635
|
+
}
|
|
636
|
+
},
|
|
637
|
+
"additionalProperties": false
|
|
638
|
+
},
|
|
639
|
+
"output_schema": {
|
|
640
|
+
"type": "object",
|
|
641
|
+
"properties": {
|
|
642
|
+
"firewalls": {
|
|
643
|
+
"type": "array",
|
|
644
|
+
"items": {
|
|
645
|
+
"type": "object",
|
|
646
|
+
"properties": {
|
|
647
|
+
"id": {
|
|
648
|
+
"type": "string",
|
|
649
|
+
"description": "Firewall numeric ID"
|
|
650
|
+
},
|
|
651
|
+
"name": {
|
|
652
|
+
"type": "string",
|
|
653
|
+
"description": "Firewall rule name"
|
|
654
|
+
},
|
|
655
|
+
"network": {
|
|
656
|
+
"type": "string",
|
|
657
|
+
"description": "Network name the rule applies to"
|
|
658
|
+
},
|
|
659
|
+
"direction": {
|
|
660
|
+
"type": "string",
|
|
661
|
+
"description": "Direction (INGRESS or EGRESS)"
|
|
662
|
+
},
|
|
663
|
+
"priority": {
|
|
664
|
+
"type": "number",
|
|
665
|
+
"description": "Rule priority (0-65535, lower = higher priority)"
|
|
666
|
+
},
|
|
667
|
+
"disabled": {
|
|
668
|
+
"type": "boolean",
|
|
669
|
+
"description": "Whether the rule is disabled"
|
|
670
|
+
},
|
|
671
|
+
"creation_timestamp": {
|
|
672
|
+
"type": "string",
|
|
673
|
+
"description": "ISO 8601 creation timestamp"
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
"required": [
|
|
677
|
+
"id",
|
|
678
|
+
"name",
|
|
679
|
+
"network",
|
|
680
|
+
"direction",
|
|
681
|
+
"priority",
|
|
682
|
+
"disabled",
|
|
683
|
+
"creation_timestamp"
|
|
684
|
+
],
|
|
685
|
+
"additionalProperties": false
|
|
686
|
+
},
|
|
687
|
+
"description": "List of firewall rules"
|
|
688
|
+
},
|
|
689
|
+
"next_page_token": {
|
|
690
|
+
"type": "string",
|
|
691
|
+
"description": "Token for next page, empty if no more results"
|
|
692
|
+
}
|
|
693
|
+
},
|
|
694
|
+
"required": [
|
|
695
|
+
"firewalls",
|
|
696
|
+
"next_page_token"
|
|
697
|
+
],
|
|
698
|
+
"additionalProperties": false
|
|
699
|
+
}
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"name": "list_buckets",
|
|
703
|
+
"displayName": "List Buckets",
|
|
704
|
+
"description": "List Cloud Storage buckets in the project.",
|
|
705
|
+
"summary": "List Cloud Storage buckets",
|
|
706
|
+
"icon": "database",
|
|
707
|
+
"group": "Storage",
|
|
708
|
+
"input_schema": {
|
|
709
|
+
"type": "object",
|
|
710
|
+
"properties": {
|
|
711
|
+
"project_id": {
|
|
712
|
+
"description": "Project ID (defaults to currently active project)",
|
|
713
|
+
"type": "string"
|
|
714
|
+
},
|
|
715
|
+
"max_results": {
|
|
716
|
+
"description": "Max results (default 50)",
|
|
717
|
+
"type": "integer",
|
|
718
|
+
"minimum": 1,
|
|
719
|
+
"maximum": 1000
|
|
720
|
+
},
|
|
721
|
+
"page_token": {
|
|
722
|
+
"description": "Page token from a previous response",
|
|
723
|
+
"type": "string"
|
|
724
|
+
}
|
|
725
|
+
},
|
|
726
|
+
"additionalProperties": false
|
|
727
|
+
},
|
|
728
|
+
"output_schema": {
|
|
729
|
+
"type": "object",
|
|
730
|
+
"properties": {
|
|
731
|
+
"buckets": {
|
|
732
|
+
"type": "array",
|
|
733
|
+
"items": {
|
|
734
|
+
"type": "object",
|
|
735
|
+
"properties": {
|
|
736
|
+
"name": {
|
|
737
|
+
"type": "string",
|
|
738
|
+
"description": "Bucket name"
|
|
739
|
+
},
|
|
740
|
+
"location": {
|
|
741
|
+
"type": "string",
|
|
742
|
+
"description": "Location (e.g., US, US-CENTRAL1)"
|
|
743
|
+
},
|
|
744
|
+
"storage_class": {
|
|
745
|
+
"type": "string",
|
|
746
|
+
"description": "Default storage class (e.g., STANDARD, NEARLINE)"
|
|
747
|
+
},
|
|
748
|
+
"creation_time": {
|
|
749
|
+
"type": "string",
|
|
750
|
+
"description": "ISO 8601 creation timestamp"
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
"required": [
|
|
754
|
+
"name",
|
|
755
|
+
"location",
|
|
756
|
+
"storage_class",
|
|
757
|
+
"creation_time"
|
|
758
|
+
],
|
|
759
|
+
"additionalProperties": false
|
|
760
|
+
},
|
|
761
|
+
"description": "List of storage buckets"
|
|
762
|
+
},
|
|
763
|
+
"next_page_token": {
|
|
764
|
+
"type": "string",
|
|
765
|
+
"description": "Token for next page, empty if no more results"
|
|
766
|
+
}
|
|
767
|
+
},
|
|
768
|
+
"required": [
|
|
769
|
+
"buckets",
|
|
770
|
+
"next_page_token"
|
|
771
|
+
],
|
|
772
|
+
"additionalProperties": false
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"name": "get_bucket",
|
|
777
|
+
"displayName": "Get Bucket",
|
|
778
|
+
"description": "Get detailed information about a specific Cloud Storage bucket.",
|
|
779
|
+
"summary": "Get a Cloud Storage bucket",
|
|
780
|
+
"icon": "database",
|
|
781
|
+
"group": "Storage",
|
|
782
|
+
"input_schema": {
|
|
783
|
+
"type": "object",
|
|
784
|
+
"properties": {
|
|
785
|
+
"bucket_name": {
|
|
786
|
+
"type": "string",
|
|
787
|
+
"description": "Bucket name"
|
|
788
|
+
}
|
|
789
|
+
},
|
|
790
|
+
"required": [
|
|
791
|
+
"bucket_name"
|
|
792
|
+
],
|
|
793
|
+
"additionalProperties": false
|
|
794
|
+
},
|
|
795
|
+
"output_schema": {
|
|
796
|
+
"type": "object",
|
|
797
|
+
"properties": {
|
|
798
|
+
"bucket": {
|
|
799
|
+
"type": "object",
|
|
800
|
+
"properties": {
|
|
801
|
+
"name": {
|
|
802
|
+
"type": "string",
|
|
803
|
+
"description": "Bucket name"
|
|
804
|
+
},
|
|
805
|
+
"location": {
|
|
806
|
+
"type": "string",
|
|
807
|
+
"description": "Location (e.g., US, US-CENTRAL1)"
|
|
808
|
+
},
|
|
809
|
+
"storage_class": {
|
|
810
|
+
"type": "string",
|
|
811
|
+
"description": "Default storage class (e.g., STANDARD, NEARLINE)"
|
|
812
|
+
},
|
|
813
|
+
"creation_time": {
|
|
814
|
+
"type": "string",
|
|
815
|
+
"description": "ISO 8601 creation timestamp"
|
|
816
|
+
}
|
|
817
|
+
},
|
|
818
|
+
"required": [
|
|
819
|
+
"name",
|
|
820
|
+
"location",
|
|
821
|
+
"storage_class",
|
|
822
|
+
"creation_time"
|
|
823
|
+
],
|
|
824
|
+
"additionalProperties": false
|
|
825
|
+
}
|
|
826
|
+
},
|
|
827
|
+
"required": [
|
|
828
|
+
"bucket"
|
|
829
|
+
],
|
|
830
|
+
"additionalProperties": false
|
|
831
|
+
}
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
"name": "list_objects",
|
|
835
|
+
"displayName": "List Objects",
|
|
836
|
+
"description": "List objects in a Cloud Storage bucket. Supports prefix filtering for directory-like browsing.",
|
|
837
|
+
"summary": "List objects in a storage bucket",
|
|
838
|
+
"icon": "file",
|
|
839
|
+
"group": "Storage",
|
|
840
|
+
"input_schema": {
|
|
841
|
+
"type": "object",
|
|
842
|
+
"properties": {
|
|
843
|
+
"bucket_name": {
|
|
844
|
+
"type": "string",
|
|
845
|
+
"description": "Bucket name"
|
|
846
|
+
},
|
|
847
|
+
"prefix": {
|
|
848
|
+
"description": "Object name prefix for filtering (e.g., \"logs/2024/\")",
|
|
849
|
+
"type": "string"
|
|
850
|
+
},
|
|
851
|
+
"delimiter": {
|
|
852
|
+
"description": "Delimiter for directory-like listing (typically \"/\")",
|
|
853
|
+
"type": "string"
|
|
854
|
+
},
|
|
855
|
+
"max_results": {
|
|
856
|
+
"description": "Max results (default 50)",
|
|
857
|
+
"type": "integer",
|
|
858
|
+
"minimum": 1,
|
|
859
|
+
"maximum": 1000
|
|
860
|
+
},
|
|
861
|
+
"page_token": {
|
|
862
|
+
"description": "Page token from a previous response",
|
|
863
|
+
"type": "string"
|
|
864
|
+
}
|
|
865
|
+
},
|
|
866
|
+
"required": [
|
|
867
|
+
"bucket_name"
|
|
868
|
+
],
|
|
869
|
+
"additionalProperties": false
|
|
870
|
+
},
|
|
871
|
+
"output_schema": {
|
|
872
|
+
"type": "object",
|
|
873
|
+
"properties": {
|
|
874
|
+
"objects": {
|
|
875
|
+
"type": "array",
|
|
876
|
+
"items": {
|
|
877
|
+
"type": "object",
|
|
878
|
+
"properties": {
|
|
879
|
+
"name": {
|
|
880
|
+
"type": "string",
|
|
881
|
+
"description": "Object name (key/path)"
|
|
882
|
+
},
|
|
883
|
+
"size": {
|
|
884
|
+
"type": "string",
|
|
885
|
+
"description": "Object size in bytes"
|
|
886
|
+
},
|
|
887
|
+
"content_type": {
|
|
888
|
+
"type": "string",
|
|
889
|
+
"description": "MIME content type"
|
|
890
|
+
},
|
|
891
|
+
"updated": {
|
|
892
|
+
"type": "string",
|
|
893
|
+
"description": "ISO 8601 last-modified timestamp"
|
|
894
|
+
}
|
|
895
|
+
},
|
|
896
|
+
"required": [
|
|
897
|
+
"name",
|
|
898
|
+
"size",
|
|
899
|
+
"content_type",
|
|
900
|
+
"updated"
|
|
901
|
+
],
|
|
902
|
+
"additionalProperties": false
|
|
903
|
+
},
|
|
904
|
+
"description": "List of objects"
|
|
905
|
+
},
|
|
906
|
+
"prefixes": {
|
|
907
|
+
"type": "array",
|
|
908
|
+
"items": {
|
|
909
|
+
"type": "string"
|
|
910
|
+
},
|
|
911
|
+
"description": "Common prefixes (subdirectories when delimiter is used)"
|
|
912
|
+
},
|
|
913
|
+
"next_page_token": {
|
|
914
|
+
"type": "string",
|
|
915
|
+
"description": "Token for next page, empty if no more results"
|
|
916
|
+
}
|
|
917
|
+
},
|
|
918
|
+
"required": [
|
|
919
|
+
"objects",
|
|
920
|
+
"prefixes",
|
|
921
|
+
"next_page_token"
|
|
922
|
+
],
|
|
923
|
+
"additionalProperties": false
|
|
924
|
+
}
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
"name": "list_service_accounts",
|
|
928
|
+
"displayName": "List Service Accounts",
|
|
929
|
+
"description": "List IAM service accounts in the project.",
|
|
930
|
+
"summary": "List IAM service accounts",
|
|
931
|
+
"icon": "bot",
|
|
932
|
+
"group": "IAM",
|
|
933
|
+
"input_schema": {
|
|
934
|
+
"type": "object",
|
|
935
|
+
"properties": {
|
|
936
|
+
"project_id": {
|
|
937
|
+
"description": "Project ID (defaults to currently active project)",
|
|
938
|
+
"type": "string"
|
|
939
|
+
},
|
|
940
|
+
"page_size": {
|
|
941
|
+
"description": "Max results per page (default 50)",
|
|
942
|
+
"type": "integer",
|
|
943
|
+
"minimum": 1,
|
|
944
|
+
"maximum": 100
|
|
945
|
+
},
|
|
946
|
+
"page_token": {
|
|
947
|
+
"description": "Page token from a previous response",
|
|
948
|
+
"type": "string"
|
|
949
|
+
}
|
|
950
|
+
},
|
|
951
|
+
"additionalProperties": false
|
|
952
|
+
},
|
|
953
|
+
"output_schema": {
|
|
954
|
+
"type": "object",
|
|
955
|
+
"properties": {
|
|
956
|
+
"service_accounts": {
|
|
957
|
+
"type": "array",
|
|
958
|
+
"items": {
|
|
959
|
+
"type": "object",
|
|
960
|
+
"properties": {
|
|
961
|
+
"email": {
|
|
962
|
+
"type": "string",
|
|
963
|
+
"description": "Service account email"
|
|
964
|
+
},
|
|
965
|
+
"name": {
|
|
966
|
+
"type": "string",
|
|
967
|
+
"description": "Resource name"
|
|
968
|
+
},
|
|
969
|
+
"display_name": {
|
|
970
|
+
"type": "string",
|
|
971
|
+
"description": "Display name"
|
|
972
|
+
},
|
|
973
|
+
"disabled": {
|
|
974
|
+
"type": "boolean",
|
|
975
|
+
"description": "Whether the service account is disabled"
|
|
976
|
+
}
|
|
977
|
+
},
|
|
978
|
+
"required": [
|
|
979
|
+
"email",
|
|
980
|
+
"name",
|
|
981
|
+
"display_name",
|
|
982
|
+
"disabled"
|
|
983
|
+
],
|
|
984
|
+
"additionalProperties": false
|
|
985
|
+
},
|
|
986
|
+
"description": "List of service accounts"
|
|
987
|
+
},
|
|
988
|
+
"next_page_token": {
|
|
989
|
+
"type": "string",
|
|
990
|
+
"description": "Token for next page, empty if no more results"
|
|
991
|
+
}
|
|
992
|
+
},
|
|
993
|
+
"required": [
|
|
994
|
+
"service_accounts",
|
|
995
|
+
"next_page_token"
|
|
996
|
+
],
|
|
997
|
+
"additionalProperties": false
|
|
998
|
+
}
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
"name": "list_iam_roles",
|
|
1002
|
+
"displayName": "List IAM Roles",
|
|
1003
|
+
"description": "List custom IAM roles defined in the project. Use \"roles\" as a prefix to list predefined roles.",
|
|
1004
|
+
"summary": "List custom IAM roles",
|
|
1005
|
+
"icon": "key",
|
|
1006
|
+
"group": "IAM",
|
|
1007
|
+
"input_schema": {
|
|
1008
|
+
"type": "object",
|
|
1009
|
+
"properties": {
|
|
1010
|
+
"project_id": {
|
|
1011
|
+
"description": "Project ID (defaults to currently active project)",
|
|
1012
|
+
"type": "string"
|
|
1013
|
+
},
|
|
1014
|
+
"page_size": {
|
|
1015
|
+
"description": "Max results per page (default 50)",
|
|
1016
|
+
"type": "integer",
|
|
1017
|
+
"minimum": 1,
|
|
1018
|
+
"maximum": 300
|
|
1019
|
+
},
|
|
1020
|
+
"page_token": {
|
|
1021
|
+
"description": "Page token from a previous response",
|
|
1022
|
+
"type": "string"
|
|
1023
|
+
}
|
|
1024
|
+
},
|
|
1025
|
+
"additionalProperties": false
|
|
1026
|
+
},
|
|
1027
|
+
"output_schema": {
|
|
1028
|
+
"type": "object",
|
|
1029
|
+
"properties": {
|
|
1030
|
+
"roles": {
|
|
1031
|
+
"type": "array",
|
|
1032
|
+
"items": {
|
|
1033
|
+
"type": "object",
|
|
1034
|
+
"properties": {
|
|
1035
|
+
"name": {
|
|
1036
|
+
"type": "string",
|
|
1037
|
+
"description": "Role resource name"
|
|
1038
|
+
},
|
|
1039
|
+
"title": {
|
|
1040
|
+
"type": "string",
|
|
1041
|
+
"description": "Role title"
|
|
1042
|
+
},
|
|
1043
|
+
"description": {
|
|
1044
|
+
"type": "string",
|
|
1045
|
+
"description": "Role description"
|
|
1046
|
+
},
|
|
1047
|
+
"stage": {
|
|
1048
|
+
"type": "string",
|
|
1049
|
+
"description": "Launch stage (e.g., GA, BETA)"
|
|
1050
|
+
}
|
|
1051
|
+
},
|
|
1052
|
+
"required": [
|
|
1053
|
+
"name",
|
|
1054
|
+
"title",
|
|
1055
|
+
"description",
|
|
1056
|
+
"stage"
|
|
1057
|
+
],
|
|
1058
|
+
"additionalProperties": false
|
|
1059
|
+
},
|
|
1060
|
+
"description": "List of IAM roles"
|
|
1061
|
+
},
|
|
1062
|
+
"next_page_token": {
|
|
1063
|
+
"type": "string",
|
|
1064
|
+
"description": "Token for next page, empty if no more results"
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
"required": [
|
|
1068
|
+
"roles",
|
|
1069
|
+
"next_page_token"
|
|
1070
|
+
],
|
|
1071
|
+
"additionalProperties": false
|
|
1072
|
+
}
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"name": "get_iam_policy",
|
|
1076
|
+
"displayName": "Get IAM Policy",
|
|
1077
|
+
"description": "Get the IAM access control policy for the project. Returns all role bindings (who has which role).",
|
|
1078
|
+
"summary": "Get the project IAM policy",
|
|
1079
|
+
"icon": "shield-check",
|
|
1080
|
+
"group": "IAM",
|
|
1081
|
+
"input_schema": {
|
|
1082
|
+
"type": "object",
|
|
1083
|
+
"properties": {
|
|
1084
|
+
"project_id": {
|
|
1085
|
+
"description": "Project ID (defaults to currently active project)",
|
|
1086
|
+
"type": "string"
|
|
1087
|
+
}
|
|
1088
|
+
},
|
|
1089
|
+
"additionalProperties": false
|
|
1090
|
+
},
|
|
1091
|
+
"output_schema": {
|
|
1092
|
+
"type": "object",
|
|
1093
|
+
"properties": {
|
|
1094
|
+
"bindings": {
|
|
1095
|
+
"type": "array",
|
|
1096
|
+
"items": {
|
|
1097
|
+
"type": "object",
|
|
1098
|
+
"properties": {
|
|
1099
|
+
"role": {
|
|
1100
|
+
"type": "string",
|
|
1101
|
+
"description": "IAM role"
|
|
1102
|
+
},
|
|
1103
|
+
"members": {
|
|
1104
|
+
"type": "array",
|
|
1105
|
+
"items": {
|
|
1106
|
+
"type": "string"
|
|
1107
|
+
},
|
|
1108
|
+
"description": "List of member identities"
|
|
1109
|
+
}
|
|
1110
|
+
},
|
|
1111
|
+
"required": [
|
|
1112
|
+
"role",
|
|
1113
|
+
"members"
|
|
1114
|
+
],
|
|
1115
|
+
"additionalProperties": false
|
|
1116
|
+
},
|
|
1117
|
+
"description": "List of role-to-members bindings"
|
|
1118
|
+
}
|
|
1119
|
+
},
|
|
1120
|
+
"required": [
|
|
1121
|
+
"bindings"
|
|
1122
|
+
],
|
|
1123
|
+
"additionalProperties": false
|
|
1124
|
+
}
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
"name": "list_enabled_services",
|
|
1128
|
+
"displayName": "List Enabled Services",
|
|
1129
|
+
"description": "List GCP API services enabled in the project. Each service represents an API that has been activated.",
|
|
1130
|
+
"summary": "List enabled API services",
|
|
1131
|
+
"icon": "puzzle",
|
|
1132
|
+
"group": "Services",
|
|
1133
|
+
"input_schema": {
|
|
1134
|
+
"type": "object",
|
|
1135
|
+
"properties": {
|
|
1136
|
+
"project_id": {
|
|
1137
|
+
"description": "Project ID (defaults to currently active project)",
|
|
1138
|
+
"type": "string"
|
|
1139
|
+
},
|
|
1140
|
+
"page_size": {
|
|
1141
|
+
"description": "Max results per page (default 50)",
|
|
1142
|
+
"type": "integer",
|
|
1143
|
+
"minimum": 1,
|
|
1144
|
+
"maximum": 200
|
|
1145
|
+
},
|
|
1146
|
+
"page_token": {
|
|
1147
|
+
"description": "Page token from a previous response",
|
|
1148
|
+
"type": "string"
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
1151
|
+
"additionalProperties": false
|
|
1152
|
+
},
|
|
1153
|
+
"output_schema": {
|
|
1154
|
+
"type": "object",
|
|
1155
|
+
"properties": {
|
|
1156
|
+
"services": {
|
|
1157
|
+
"type": "array",
|
|
1158
|
+
"items": {
|
|
1159
|
+
"type": "object",
|
|
1160
|
+
"properties": {
|
|
1161
|
+
"name": {
|
|
1162
|
+
"type": "string",
|
|
1163
|
+
"description": "Service resource name"
|
|
1164
|
+
},
|
|
1165
|
+
"service_name": {
|
|
1166
|
+
"type": "string",
|
|
1167
|
+
"description": "Service API name (e.g., compute.googleapis.com)"
|
|
1168
|
+
},
|
|
1169
|
+
"title": {
|
|
1170
|
+
"type": "string",
|
|
1171
|
+
"description": "Service display title"
|
|
1172
|
+
},
|
|
1173
|
+
"state": {
|
|
1174
|
+
"type": "string",
|
|
1175
|
+
"description": "State (ENABLED or DISABLED)"
|
|
1176
|
+
}
|
|
1177
|
+
},
|
|
1178
|
+
"required": [
|
|
1179
|
+
"name",
|
|
1180
|
+
"service_name",
|
|
1181
|
+
"title",
|
|
1182
|
+
"state"
|
|
1183
|
+
],
|
|
1184
|
+
"additionalProperties": false
|
|
1185
|
+
},
|
|
1186
|
+
"description": "List of enabled services"
|
|
1187
|
+
},
|
|
1188
|
+
"next_page_token": {
|
|
1189
|
+
"type": "string",
|
|
1190
|
+
"description": "Token for next page, empty if no more results"
|
|
1191
|
+
}
|
|
1192
|
+
},
|
|
1193
|
+
"required": [
|
|
1194
|
+
"services",
|
|
1195
|
+
"next_page_token"
|
|
1196
|
+
],
|
|
1197
|
+
"additionalProperties": false
|
|
1198
|
+
}
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
"name": "enable_service",
|
|
1202
|
+
"displayName": "Enable Service",
|
|
1203
|
+
"description": "Enable a GCP API service in the project. The service name is the API identifier (e.g., \"compute.googleapis.com\").",
|
|
1204
|
+
"summary": "Enable a GCP API service",
|
|
1205
|
+
"icon": "toggle-right",
|
|
1206
|
+
"group": "Services",
|
|
1207
|
+
"input_schema": {
|
|
1208
|
+
"type": "object",
|
|
1209
|
+
"properties": {
|
|
1210
|
+
"service_name": {
|
|
1211
|
+
"type": "string",
|
|
1212
|
+
"description": "Service API name (e.g., \"compute.googleapis.com\")"
|
|
1213
|
+
},
|
|
1214
|
+
"project_id": {
|
|
1215
|
+
"description": "Project ID (defaults to currently active project)",
|
|
1216
|
+
"type": "string"
|
|
1217
|
+
}
|
|
1218
|
+
},
|
|
1219
|
+
"required": [
|
|
1220
|
+
"service_name"
|
|
1221
|
+
],
|
|
1222
|
+
"additionalProperties": false
|
|
1223
|
+
},
|
|
1224
|
+
"output_schema": {
|
|
1225
|
+
"type": "object",
|
|
1226
|
+
"properties": {
|
|
1227
|
+
"success": {
|
|
1228
|
+
"type": "boolean",
|
|
1229
|
+
"description": "Whether the operation was initiated"
|
|
1230
|
+
}
|
|
1231
|
+
},
|
|
1232
|
+
"required": [
|
|
1233
|
+
"success"
|
|
1234
|
+
],
|
|
1235
|
+
"additionalProperties": false
|
|
1236
|
+
}
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
"name": "disable_service",
|
|
1240
|
+
"displayName": "Disable Service",
|
|
1241
|
+
"description": "Disable a GCP API service in the project. WARNING: This may break resources that depend on this service.",
|
|
1242
|
+
"summary": "Disable a GCP API service",
|
|
1243
|
+
"icon": "toggle-left",
|
|
1244
|
+
"group": "Services",
|
|
1245
|
+
"input_schema": {
|
|
1246
|
+
"type": "object",
|
|
1247
|
+
"properties": {
|
|
1248
|
+
"service_name": {
|
|
1249
|
+
"type": "string",
|
|
1250
|
+
"description": "Service API name (e.g., \"compute.googleapis.com\")"
|
|
1251
|
+
},
|
|
1252
|
+
"project_id": {
|
|
1253
|
+
"description": "Project ID (defaults to currently active project)",
|
|
1254
|
+
"type": "string"
|
|
1255
|
+
}
|
|
1256
|
+
},
|
|
1257
|
+
"required": [
|
|
1258
|
+
"service_name"
|
|
1259
|
+
],
|
|
1260
|
+
"additionalProperties": false
|
|
1261
|
+
},
|
|
1262
|
+
"output_schema": {
|
|
1263
|
+
"type": "object",
|
|
1264
|
+
"properties": {
|
|
1265
|
+
"success": {
|
|
1266
|
+
"type": "boolean",
|
|
1267
|
+
"description": "Whether the operation was initiated"
|
|
1268
|
+
}
|
|
1269
|
+
},
|
|
1270
|
+
"required": [
|
|
1271
|
+
"success"
|
|
1272
|
+
],
|
|
1273
|
+
"additionalProperties": false
|
|
1274
|
+
}
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
"name": "list_functions",
|
|
1278
|
+
"displayName": "List Functions",
|
|
1279
|
+
"description": "List Cloud Functions in the project across all locations.",
|
|
1280
|
+
"summary": "List Cloud Functions",
|
|
1281
|
+
"icon": "zap",
|
|
1282
|
+
"group": "Cloud Functions",
|
|
1283
|
+
"input_schema": {
|
|
1284
|
+
"type": "object",
|
|
1285
|
+
"properties": {
|
|
1286
|
+
"project_id": {
|
|
1287
|
+
"description": "Project ID (defaults to currently active project)",
|
|
1288
|
+
"type": "string"
|
|
1289
|
+
},
|
|
1290
|
+
"page_size": {
|
|
1291
|
+
"description": "Max results per page (default 50)",
|
|
1292
|
+
"type": "integer",
|
|
1293
|
+
"minimum": 1,
|
|
1294
|
+
"maximum": 100
|
|
1295
|
+
},
|
|
1296
|
+
"page_token": {
|
|
1297
|
+
"description": "Page token from a previous response",
|
|
1298
|
+
"type": "string"
|
|
1299
|
+
}
|
|
1300
|
+
},
|
|
1301
|
+
"additionalProperties": false
|
|
1302
|
+
},
|
|
1303
|
+
"output_schema": {
|
|
1304
|
+
"type": "object",
|
|
1305
|
+
"properties": {
|
|
1306
|
+
"functions": {
|
|
1307
|
+
"type": "array",
|
|
1308
|
+
"items": {
|
|
1309
|
+
"type": "object",
|
|
1310
|
+
"properties": {
|
|
1311
|
+
"name": {
|
|
1312
|
+
"type": "string",
|
|
1313
|
+
"description": "Function resource name"
|
|
1314
|
+
},
|
|
1315
|
+
"state": {
|
|
1316
|
+
"type": "string",
|
|
1317
|
+
"description": "State (e.g., ACTIVE, DEPLOYING)"
|
|
1318
|
+
},
|
|
1319
|
+
"environment": {
|
|
1320
|
+
"type": "string",
|
|
1321
|
+
"description": "Environment (GEN_1 or GEN_2)"
|
|
1322
|
+
},
|
|
1323
|
+
"runtime": {
|
|
1324
|
+
"type": "string",
|
|
1325
|
+
"description": "Runtime (e.g., nodejs20, python312)"
|
|
1326
|
+
},
|
|
1327
|
+
"entry_point": {
|
|
1328
|
+
"type": "string",
|
|
1329
|
+
"description": "Function entry point"
|
|
1330
|
+
},
|
|
1331
|
+
"url": {
|
|
1332
|
+
"type": "string",
|
|
1333
|
+
"description": "HTTPS trigger URL (empty if not HTTP-triggered)"
|
|
1334
|
+
},
|
|
1335
|
+
"update_time": {
|
|
1336
|
+
"type": "string",
|
|
1337
|
+
"description": "ISO 8601 last-update timestamp"
|
|
1338
|
+
}
|
|
1339
|
+
},
|
|
1340
|
+
"required": [
|
|
1341
|
+
"name",
|
|
1342
|
+
"state",
|
|
1343
|
+
"environment",
|
|
1344
|
+
"runtime",
|
|
1345
|
+
"entry_point",
|
|
1346
|
+
"url",
|
|
1347
|
+
"update_time"
|
|
1348
|
+
],
|
|
1349
|
+
"additionalProperties": false
|
|
1350
|
+
},
|
|
1351
|
+
"description": "List of Cloud Functions"
|
|
1352
|
+
},
|
|
1353
|
+
"next_page_token": {
|
|
1354
|
+
"type": "string",
|
|
1355
|
+
"description": "Token for next page, empty if no more results"
|
|
1356
|
+
}
|
|
1357
|
+
},
|
|
1358
|
+
"required": [
|
|
1359
|
+
"functions",
|
|
1360
|
+
"next_page_token"
|
|
1361
|
+
],
|
|
1362
|
+
"additionalProperties": false
|
|
1363
|
+
}
|
|
1364
|
+
},
|
|
1365
|
+
{
|
|
1366
|
+
"name": "get_function",
|
|
1367
|
+
"displayName": "Get Function",
|
|
1368
|
+
"description": "Get detailed information about a specific Cloud Function.",
|
|
1369
|
+
"summary": "Get a Cloud Function",
|
|
1370
|
+
"icon": "zap",
|
|
1371
|
+
"group": "Cloud Functions",
|
|
1372
|
+
"input_schema": {
|
|
1373
|
+
"type": "object",
|
|
1374
|
+
"properties": {
|
|
1375
|
+
"location": {
|
|
1376
|
+
"type": "string",
|
|
1377
|
+
"description": "Location (e.g., \"us-central1\")"
|
|
1378
|
+
},
|
|
1379
|
+
"function_name": {
|
|
1380
|
+
"type": "string",
|
|
1381
|
+
"description": "Function name"
|
|
1382
|
+
},
|
|
1383
|
+
"project_id": {
|
|
1384
|
+
"description": "Project ID (defaults to currently active project)",
|
|
1385
|
+
"type": "string"
|
|
1386
|
+
}
|
|
1387
|
+
},
|
|
1388
|
+
"required": [
|
|
1389
|
+
"location",
|
|
1390
|
+
"function_name"
|
|
1391
|
+
],
|
|
1392
|
+
"additionalProperties": false
|
|
1393
|
+
},
|
|
1394
|
+
"output_schema": {
|
|
1395
|
+
"type": "object",
|
|
1396
|
+
"properties": {
|
|
1397
|
+
"function": {
|
|
1398
|
+
"type": "object",
|
|
1399
|
+
"properties": {
|
|
1400
|
+
"name": {
|
|
1401
|
+
"type": "string",
|
|
1402
|
+
"description": "Function resource name"
|
|
1403
|
+
},
|
|
1404
|
+
"state": {
|
|
1405
|
+
"type": "string",
|
|
1406
|
+
"description": "State (e.g., ACTIVE, DEPLOYING)"
|
|
1407
|
+
},
|
|
1408
|
+
"environment": {
|
|
1409
|
+
"type": "string",
|
|
1410
|
+
"description": "Environment (GEN_1 or GEN_2)"
|
|
1411
|
+
},
|
|
1412
|
+
"runtime": {
|
|
1413
|
+
"type": "string",
|
|
1414
|
+
"description": "Runtime (e.g., nodejs20, python312)"
|
|
1415
|
+
},
|
|
1416
|
+
"entry_point": {
|
|
1417
|
+
"type": "string",
|
|
1418
|
+
"description": "Function entry point"
|
|
1419
|
+
},
|
|
1420
|
+
"url": {
|
|
1421
|
+
"type": "string",
|
|
1422
|
+
"description": "HTTPS trigger URL (empty if not HTTP-triggered)"
|
|
1423
|
+
},
|
|
1424
|
+
"update_time": {
|
|
1425
|
+
"type": "string",
|
|
1426
|
+
"description": "ISO 8601 last-update timestamp"
|
|
1427
|
+
}
|
|
1428
|
+
},
|
|
1429
|
+
"required": [
|
|
1430
|
+
"name",
|
|
1431
|
+
"state",
|
|
1432
|
+
"environment",
|
|
1433
|
+
"runtime",
|
|
1434
|
+
"entry_point",
|
|
1435
|
+
"url",
|
|
1436
|
+
"update_time"
|
|
1437
|
+
],
|
|
1438
|
+
"additionalProperties": false
|
|
1439
|
+
}
|
|
1440
|
+
},
|
|
1441
|
+
"required": [
|
|
1442
|
+
"function"
|
|
1443
|
+
],
|
|
1444
|
+
"additionalProperties": false
|
|
1445
|
+
}
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
"name": "list_cloud_run_services",
|
|
1449
|
+
"displayName": "List Cloud Run Services",
|
|
1450
|
+
"description": "List Cloud Run services in the project across all locations.",
|
|
1451
|
+
"summary": "List Cloud Run services",
|
|
1452
|
+
"icon": "rocket",
|
|
1453
|
+
"group": "Cloud Run",
|
|
1454
|
+
"input_schema": {
|
|
1455
|
+
"type": "object",
|
|
1456
|
+
"properties": {
|
|
1457
|
+
"project_id": {
|
|
1458
|
+
"description": "Project ID (defaults to currently active project)",
|
|
1459
|
+
"type": "string"
|
|
1460
|
+
},
|
|
1461
|
+
"page_size": {
|
|
1462
|
+
"description": "Max results per page (default 50)",
|
|
1463
|
+
"type": "integer",
|
|
1464
|
+
"minimum": 1,
|
|
1465
|
+
"maximum": 100
|
|
1466
|
+
},
|
|
1467
|
+
"page_token": {
|
|
1468
|
+
"description": "Page token from a previous response",
|
|
1469
|
+
"type": "string"
|
|
1470
|
+
}
|
|
1471
|
+
},
|
|
1472
|
+
"additionalProperties": false
|
|
1473
|
+
},
|
|
1474
|
+
"output_schema": {
|
|
1475
|
+
"type": "object",
|
|
1476
|
+
"properties": {
|
|
1477
|
+
"services": {
|
|
1478
|
+
"type": "array",
|
|
1479
|
+
"items": {
|
|
1480
|
+
"type": "object",
|
|
1481
|
+
"properties": {
|
|
1482
|
+
"name": {
|
|
1483
|
+
"type": "string",
|
|
1484
|
+
"description": "Service resource name"
|
|
1485
|
+
},
|
|
1486
|
+
"uri": {
|
|
1487
|
+
"type": "string",
|
|
1488
|
+
"description": "Service URL"
|
|
1489
|
+
},
|
|
1490
|
+
"creator": {
|
|
1491
|
+
"type": "string",
|
|
1492
|
+
"description": "Creator email"
|
|
1493
|
+
},
|
|
1494
|
+
"last_modifier": {
|
|
1495
|
+
"type": "string",
|
|
1496
|
+
"description": "Last modifier email"
|
|
1497
|
+
},
|
|
1498
|
+
"ingress": {
|
|
1499
|
+
"type": "string",
|
|
1500
|
+
"description": "Ingress setting (e.g., INGRESS_TRAFFIC_ALL)"
|
|
1501
|
+
},
|
|
1502
|
+
"launch_stage": {
|
|
1503
|
+
"type": "string",
|
|
1504
|
+
"description": "Launch stage (e.g., GA, BETA)"
|
|
1505
|
+
},
|
|
1506
|
+
"create_time": {
|
|
1507
|
+
"type": "string",
|
|
1508
|
+
"description": "ISO 8601 creation timestamp"
|
|
1509
|
+
},
|
|
1510
|
+
"update_time": {
|
|
1511
|
+
"type": "string",
|
|
1512
|
+
"description": "ISO 8601 last-update timestamp"
|
|
1513
|
+
}
|
|
1514
|
+
},
|
|
1515
|
+
"required": [
|
|
1516
|
+
"name",
|
|
1517
|
+
"uri",
|
|
1518
|
+
"creator",
|
|
1519
|
+
"last_modifier",
|
|
1520
|
+
"ingress",
|
|
1521
|
+
"launch_stage",
|
|
1522
|
+
"create_time",
|
|
1523
|
+
"update_time"
|
|
1524
|
+
],
|
|
1525
|
+
"additionalProperties": false
|
|
1526
|
+
},
|
|
1527
|
+
"description": "List of Cloud Run services"
|
|
1528
|
+
},
|
|
1529
|
+
"next_page_token": {
|
|
1530
|
+
"type": "string",
|
|
1531
|
+
"description": "Token for next page, empty if no more results"
|
|
1532
|
+
}
|
|
1533
|
+
},
|
|
1534
|
+
"required": [
|
|
1535
|
+
"services",
|
|
1536
|
+
"next_page_token"
|
|
1537
|
+
],
|
|
1538
|
+
"additionalProperties": false
|
|
1539
|
+
}
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
"name": "get_cloud_run_service",
|
|
1543
|
+
"displayName": "Get Cloud Run Service",
|
|
1544
|
+
"description": "Get detailed information about a specific Cloud Run service.",
|
|
1545
|
+
"summary": "Get a Cloud Run service",
|
|
1546
|
+
"icon": "rocket",
|
|
1547
|
+
"group": "Cloud Run",
|
|
1548
|
+
"input_schema": {
|
|
1549
|
+
"type": "object",
|
|
1550
|
+
"properties": {
|
|
1551
|
+
"location": {
|
|
1552
|
+
"type": "string",
|
|
1553
|
+
"description": "Location (e.g., \"us-central1\")"
|
|
1554
|
+
},
|
|
1555
|
+
"service_name": {
|
|
1556
|
+
"type": "string",
|
|
1557
|
+
"description": "Service name"
|
|
1558
|
+
},
|
|
1559
|
+
"project_id": {
|
|
1560
|
+
"description": "Project ID (defaults to currently active project)",
|
|
1561
|
+
"type": "string"
|
|
1562
|
+
}
|
|
1563
|
+
},
|
|
1564
|
+
"required": [
|
|
1565
|
+
"location",
|
|
1566
|
+
"service_name"
|
|
1567
|
+
],
|
|
1568
|
+
"additionalProperties": false
|
|
1569
|
+
},
|
|
1570
|
+
"output_schema": {
|
|
1571
|
+
"type": "object",
|
|
1572
|
+
"properties": {
|
|
1573
|
+
"service": {
|
|
1574
|
+
"type": "object",
|
|
1575
|
+
"properties": {
|
|
1576
|
+
"name": {
|
|
1577
|
+
"type": "string",
|
|
1578
|
+
"description": "Service resource name"
|
|
1579
|
+
},
|
|
1580
|
+
"uri": {
|
|
1581
|
+
"type": "string",
|
|
1582
|
+
"description": "Service URL"
|
|
1583
|
+
},
|
|
1584
|
+
"creator": {
|
|
1585
|
+
"type": "string",
|
|
1586
|
+
"description": "Creator email"
|
|
1587
|
+
},
|
|
1588
|
+
"last_modifier": {
|
|
1589
|
+
"type": "string",
|
|
1590
|
+
"description": "Last modifier email"
|
|
1591
|
+
},
|
|
1592
|
+
"ingress": {
|
|
1593
|
+
"type": "string",
|
|
1594
|
+
"description": "Ingress setting (e.g., INGRESS_TRAFFIC_ALL)"
|
|
1595
|
+
},
|
|
1596
|
+
"launch_stage": {
|
|
1597
|
+
"type": "string",
|
|
1598
|
+
"description": "Launch stage (e.g., GA, BETA)"
|
|
1599
|
+
},
|
|
1600
|
+
"create_time": {
|
|
1601
|
+
"type": "string",
|
|
1602
|
+
"description": "ISO 8601 creation timestamp"
|
|
1603
|
+
},
|
|
1604
|
+
"update_time": {
|
|
1605
|
+
"type": "string",
|
|
1606
|
+
"description": "ISO 8601 last-update timestamp"
|
|
1607
|
+
}
|
|
1608
|
+
},
|
|
1609
|
+
"required": [
|
|
1610
|
+
"name",
|
|
1611
|
+
"uri",
|
|
1612
|
+
"creator",
|
|
1613
|
+
"last_modifier",
|
|
1614
|
+
"ingress",
|
|
1615
|
+
"launch_stage",
|
|
1616
|
+
"create_time",
|
|
1617
|
+
"update_time"
|
|
1618
|
+
],
|
|
1619
|
+
"additionalProperties": false
|
|
1620
|
+
}
|
|
1621
|
+
},
|
|
1622
|
+
"required": [
|
|
1623
|
+
"service"
|
|
1624
|
+
],
|
|
1625
|
+
"additionalProperties": false
|
|
1626
|
+
}
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
"name": "list_log_entries",
|
|
1630
|
+
"displayName": "List Log Entries",
|
|
1631
|
+
"description": "List log entries from Cloud Logging. Supports advanced log filters (e.g., 'severity>=ERROR', 'resource.type=\"gce_instance\"').",
|
|
1632
|
+
"summary": "List Cloud Logging entries",
|
|
1633
|
+
"icon": "scroll-text",
|
|
1634
|
+
"group": "Logging",
|
|
1635
|
+
"input_schema": {
|
|
1636
|
+
"type": "object",
|
|
1637
|
+
"properties": {
|
|
1638
|
+
"project_id": {
|
|
1639
|
+
"description": "Project ID (defaults to currently active project)",
|
|
1640
|
+
"type": "string"
|
|
1641
|
+
},
|
|
1642
|
+
"filter": {
|
|
1643
|
+
"description": "Cloud Logging filter expression (e.g., 'severity>=ERROR')",
|
|
1644
|
+
"type": "string"
|
|
1645
|
+
},
|
|
1646
|
+
"page_size": {
|
|
1647
|
+
"description": "Max results per page (default 50)",
|
|
1648
|
+
"type": "integer",
|
|
1649
|
+
"minimum": 1,
|
|
1650
|
+
"maximum": 1000
|
|
1651
|
+
},
|
|
1652
|
+
"page_token": {
|
|
1653
|
+
"description": "Page token from a previous response",
|
|
1654
|
+
"type": "string"
|
|
1655
|
+
},
|
|
1656
|
+
"order_by": {
|
|
1657
|
+
"description": "Sort order: \"timestamp desc\" (default) or \"timestamp asc\"",
|
|
1658
|
+
"type": "string"
|
|
1659
|
+
}
|
|
1660
|
+
},
|
|
1661
|
+
"additionalProperties": false
|
|
1662
|
+
},
|
|
1663
|
+
"output_schema": {
|
|
1664
|
+
"type": "object",
|
|
1665
|
+
"properties": {
|
|
1666
|
+
"entries": {
|
|
1667
|
+
"type": "array",
|
|
1668
|
+
"items": {
|
|
1669
|
+
"type": "object",
|
|
1670
|
+
"properties": {
|
|
1671
|
+
"log_name": {
|
|
1672
|
+
"type": "string",
|
|
1673
|
+
"description": "Log resource name"
|
|
1674
|
+
},
|
|
1675
|
+
"severity": {
|
|
1676
|
+
"type": "string",
|
|
1677
|
+
"description": "Severity (e.g., INFO, WARNING, ERROR)"
|
|
1678
|
+
},
|
|
1679
|
+
"timestamp": {
|
|
1680
|
+
"type": "string",
|
|
1681
|
+
"description": "ISO 8601 timestamp"
|
|
1682
|
+
},
|
|
1683
|
+
"text": {
|
|
1684
|
+
"type": "string",
|
|
1685
|
+
"description": "Log message text"
|
|
1686
|
+
},
|
|
1687
|
+
"resource_type": {
|
|
1688
|
+
"type": "string",
|
|
1689
|
+
"description": "Monitored resource type"
|
|
1690
|
+
}
|
|
1691
|
+
},
|
|
1692
|
+
"required": [
|
|
1693
|
+
"log_name",
|
|
1694
|
+
"severity",
|
|
1695
|
+
"timestamp",
|
|
1696
|
+
"text",
|
|
1697
|
+
"resource_type"
|
|
1698
|
+
],
|
|
1699
|
+
"additionalProperties": false
|
|
1700
|
+
},
|
|
1701
|
+
"description": "List of log entries"
|
|
1702
|
+
},
|
|
1703
|
+
"next_page_token": {
|
|
1704
|
+
"type": "string",
|
|
1705
|
+
"description": "Token for next page, empty if no more results"
|
|
1706
|
+
}
|
|
1707
|
+
},
|
|
1708
|
+
"required": [
|
|
1709
|
+
"entries",
|
|
1710
|
+
"next_page_token"
|
|
1711
|
+
],
|
|
1712
|
+
"additionalProperties": false
|
|
1713
|
+
}
|
|
1714
|
+
},
|
|
1715
|
+
{
|
|
1716
|
+
"name": "list_billing_accounts",
|
|
1717
|
+
"displayName": "List Billing Accounts",
|
|
1718
|
+
"description": "List billing accounts accessible to the current user.",
|
|
1719
|
+
"summary": "List billing accounts",
|
|
1720
|
+
"icon": "credit-card",
|
|
1721
|
+
"group": "Billing",
|
|
1722
|
+
"input_schema": {
|
|
1723
|
+
"type": "object",
|
|
1724
|
+
"properties": {
|
|
1725
|
+
"page_size": {
|
|
1726
|
+
"description": "Max results per page (default 50)",
|
|
1727
|
+
"type": "integer",
|
|
1728
|
+
"minimum": 1,
|
|
1729
|
+
"maximum": 100
|
|
1730
|
+
},
|
|
1731
|
+
"page_token": {
|
|
1732
|
+
"description": "Page token from a previous response",
|
|
1733
|
+
"type": "string"
|
|
1734
|
+
}
|
|
1735
|
+
},
|
|
1736
|
+
"additionalProperties": false
|
|
1737
|
+
},
|
|
1738
|
+
"output_schema": {
|
|
1739
|
+
"type": "object",
|
|
1740
|
+
"properties": {
|
|
1741
|
+
"billing_accounts": {
|
|
1742
|
+
"type": "array",
|
|
1743
|
+
"items": {
|
|
1744
|
+
"type": "object",
|
|
1745
|
+
"properties": {
|
|
1746
|
+
"name": {
|
|
1747
|
+
"type": "string",
|
|
1748
|
+
"description": "Billing account resource name"
|
|
1749
|
+
},
|
|
1750
|
+
"display_name": {
|
|
1751
|
+
"type": "string",
|
|
1752
|
+
"description": "Display name"
|
|
1753
|
+
},
|
|
1754
|
+
"open": {
|
|
1755
|
+
"type": "boolean",
|
|
1756
|
+
"description": "Whether the account is open"
|
|
1757
|
+
}
|
|
1758
|
+
},
|
|
1759
|
+
"required": [
|
|
1760
|
+
"name",
|
|
1761
|
+
"display_name",
|
|
1762
|
+
"open"
|
|
1763
|
+
],
|
|
1764
|
+
"additionalProperties": false
|
|
1765
|
+
},
|
|
1766
|
+
"description": "List of billing accounts"
|
|
1767
|
+
},
|
|
1768
|
+
"next_page_token": {
|
|
1769
|
+
"type": "string",
|
|
1770
|
+
"description": "Token for next page, empty if no more results"
|
|
1771
|
+
}
|
|
1772
|
+
},
|
|
1773
|
+
"required": [
|
|
1774
|
+
"billing_accounts",
|
|
1775
|
+
"next_page_token"
|
|
1776
|
+
],
|
|
1777
|
+
"additionalProperties": false
|
|
1778
|
+
}
|
|
1779
|
+
},
|
|
1780
|
+
{
|
|
1781
|
+
"name": "get_billing_info",
|
|
1782
|
+
"displayName": "Get Billing Info",
|
|
1783
|
+
"description": "Get billing information for a project, including whether billing is enabled and which billing account is linked.",
|
|
1784
|
+
"summary": "Get project billing info",
|
|
1785
|
+
"icon": "receipt",
|
|
1786
|
+
"group": "Billing",
|
|
1787
|
+
"input_schema": {
|
|
1788
|
+
"type": "object",
|
|
1789
|
+
"properties": {
|
|
1790
|
+
"project_id": {
|
|
1791
|
+
"description": "Project ID (defaults to currently active project)",
|
|
1792
|
+
"type": "string"
|
|
1793
|
+
}
|
|
1794
|
+
},
|
|
1795
|
+
"additionalProperties": false
|
|
1796
|
+
},
|
|
1797
|
+
"output_schema": {
|
|
1798
|
+
"type": "object",
|
|
1799
|
+
"properties": {
|
|
1800
|
+
"billing_info": {
|
|
1801
|
+
"type": "object",
|
|
1802
|
+
"properties": {
|
|
1803
|
+
"project_id": {
|
|
1804
|
+
"type": "string",
|
|
1805
|
+
"description": "Project ID"
|
|
1806
|
+
},
|
|
1807
|
+
"billing_account_name": {
|
|
1808
|
+
"type": "string",
|
|
1809
|
+
"description": "Associated billing account resource name"
|
|
1810
|
+
},
|
|
1811
|
+
"billing_enabled": {
|
|
1812
|
+
"type": "boolean",
|
|
1813
|
+
"description": "Whether billing is enabled"
|
|
1814
|
+
}
|
|
1815
|
+
},
|
|
1816
|
+
"required": [
|
|
1817
|
+
"project_id",
|
|
1818
|
+
"billing_account_name",
|
|
1819
|
+
"billing_enabled"
|
|
1820
|
+
],
|
|
1821
|
+
"additionalProperties": false
|
|
1822
|
+
}
|
|
1823
|
+
},
|
|
1824
|
+
"required": [
|
|
1825
|
+
"billing_info"
|
|
1826
|
+
],
|
|
1827
|
+
"additionalProperties": false
|
|
1828
|
+
}
|
|
1829
|
+
},
|
|
1830
|
+
{
|
|
1831
|
+
"name": "list_clusters",
|
|
1832
|
+
"displayName": "List GKE Clusters",
|
|
1833
|
+
"description": "List Google Kubernetes Engine (GKE) clusters in the project across all locations.",
|
|
1834
|
+
"summary": "List GKE clusters",
|
|
1835
|
+
"icon": "container",
|
|
1836
|
+
"group": "Kubernetes",
|
|
1837
|
+
"input_schema": {
|
|
1838
|
+
"type": "object",
|
|
1839
|
+
"properties": {
|
|
1840
|
+
"project_id": {
|
|
1841
|
+
"description": "Project ID (defaults to currently active project)",
|
|
1842
|
+
"type": "string"
|
|
1843
|
+
}
|
|
1844
|
+
},
|
|
1845
|
+
"additionalProperties": false
|
|
1846
|
+
},
|
|
1847
|
+
"output_schema": {
|
|
1848
|
+
"type": "object",
|
|
1849
|
+
"properties": {
|
|
1850
|
+
"clusters": {
|
|
1851
|
+
"type": "array",
|
|
1852
|
+
"items": {
|
|
1853
|
+
"type": "object",
|
|
1854
|
+
"properties": {
|
|
1855
|
+
"name": {
|
|
1856
|
+
"type": "string",
|
|
1857
|
+
"description": "Cluster name"
|
|
1858
|
+
},
|
|
1859
|
+
"location": {
|
|
1860
|
+
"type": "string",
|
|
1861
|
+
"description": "Cluster location (zone or region)"
|
|
1862
|
+
},
|
|
1863
|
+
"status": {
|
|
1864
|
+
"type": "string",
|
|
1865
|
+
"description": "Cluster status (e.g., RUNNING, PROVISIONING)"
|
|
1866
|
+
},
|
|
1867
|
+
"node_count": {
|
|
1868
|
+
"type": "number",
|
|
1869
|
+
"description": "Total node count"
|
|
1870
|
+
},
|
|
1871
|
+
"cluster_version": {
|
|
1872
|
+
"type": "string",
|
|
1873
|
+
"description": "Kubernetes master version"
|
|
1874
|
+
},
|
|
1875
|
+
"endpoint": {
|
|
1876
|
+
"type": "string",
|
|
1877
|
+
"description": "Cluster API server endpoint"
|
|
1878
|
+
},
|
|
1879
|
+
"create_time": {
|
|
1880
|
+
"type": "string",
|
|
1881
|
+
"description": "ISO 8601 creation timestamp"
|
|
1882
|
+
}
|
|
1883
|
+
},
|
|
1884
|
+
"required": [
|
|
1885
|
+
"name",
|
|
1886
|
+
"location",
|
|
1887
|
+
"status",
|
|
1888
|
+
"node_count",
|
|
1889
|
+
"cluster_version",
|
|
1890
|
+
"endpoint",
|
|
1891
|
+
"create_time"
|
|
1892
|
+
],
|
|
1893
|
+
"additionalProperties": false
|
|
1894
|
+
},
|
|
1895
|
+
"description": "List of GKE clusters"
|
|
1896
|
+
}
|
|
1897
|
+
},
|
|
1898
|
+
"required": [
|
|
1899
|
+
"clusters"
|
|
1900
|
+
],
|
|
1901
|
+
"additionalProperties": false
|
|
1902
|
+
}
|
|
1903
|
+
},
|
|
1904
|
+
{
|
|
1905
|
+
"name": "get_cluster",
|
|
1906
|
+
"displayName": "Get GKE Cluster",
|
|
1907
|
+
"description": "Get detailed information about a specific GKE cluster.",
|
|
1908
|
+
"summary": "Get a GKE cluster",
|
|
1909
|
+
"icon": "container",
|
|
1910
|
+
"group": "Kubernetes",
|
|
1911
|
+
"input_schema": {
|
|
1912
|
+
"type": "object",
|
|
1913
|
+
"properties": {
|
|
1914
|
+
"location": {
|
|
1915
|
+
"type": "string",
|
|
1916
|
+
"description": "Location (zone or region, e.g., \"us-central1-a\")"
|
|
1917
|
+
},
|
|
1918
|
+
"cluster_name": {
|
|
1919
|
+
"type": "string",
|
|
1920
|
+
"description": "Cluster name"
|
|
1921
|
+
},
|
|
1922
|
+
"project_id": {
|
|
1923
|
+
"description": "Project ID (defaults to currently active project)",
|
|
1924
|
+
"type": "string"
|
|
1925
|
+
}
|
|
1926
|
+
},
|
|
1927
|
+
"required": [
|
|
1928
|
+
"location",
|
|
1929
|
+
"cluster_name"
|
|
1930
|
+
],
|
|
1931
|
+
"additionalProperties": false
|
|
1932
|
+
},
|
|
1933
|
+
"output_schema": {
|
|
1934
|
+
"type": "object",
|
|
1935
|
+
"properties": {
|
|
1936
|
+
"cluster": {
|
|
1937
|
+
"type": "object",
|
|
1938
|
+
"properties": {
|
|
1939
|
+
"name": {
|
|
1940
|
+
"type": "string",
|
|
1941
|
+
"description": "Cluster name"
|
|
1942
|
+
},
|
|
1943
|
+
"location": {
|
|
1944
|
+
"type": "string",
|
|
1945
|
+
"description": "Cluster location (zone or region)"
|
|
1946
|
+
},
|
|
1947
|
+
"status": {
|
|
1948
|
+
"type": "string",
|
|
1949
|
+
"description": "Cluster status (e.g., RUNNING, PROVISIONING)"
|
|
1950
|
+
},
|
|
1951
|
+
"node_count": {
|
|
1952
|
+
"type": "number",
|
|
1953
|
+
"description": "Total node count"
|
|
1954
|
+
},
|
|
1955
|
+
"cluster_version": {
|
|
1956
|
+
"type": "string",
|
|
1957
|
+
"description": "Kubernetes master version"
|
|
1958
|
+
},
|
|
1959
|
+
"endpoint": {
|
|
1960
|
+
"type": "string",
|
|
1961
|
+
"description": "Cluster API server endpoint"
|
|
1962
|
+
},
|
|
1963
|
+
"create_time": {
|
|
1964
|
+
"type": "string",
|
|
1965
|
+
"description": "ISO 8601 creation timestamp"
|
|
1966
|
+
}
|
|
1967
|
+
},
|
|
1968
|
+
"required": [
|
|
1969
|
+
"name",
|
|
1970
|
+
"location",
|
|
1971
|
+
"status",
|
|
1972
|
+
"node_count",
|
|
1973
|
+
"cluster_version",
|
|
1974
|
+
"endpoint",
|
|
1975
|
+
"create_time"
|
|
1976
|
+
],
|
|
1977
|
+
"additionalProperties": false
|
|
1978
|
+
}
|
|
1979
|
+
},
|
|
1980
|
+
"required": [
|
|
1981
|
+
"cluster"
|
|
1982
|
+
],
|
|
1983
|
+
"additionalProperties": false
|
|
1984
|
+
}
|
|
1985
|
+
},
|
|
1986
|
+
{
|
|
1987
|
+
"name": "list_sql_instances",
|
|
1988
|
+
"displayName": "List Cloud SQL Instances",
|
|
1989
|
+
"description": "List Cloud SQL database instances in the project.",
|
|
1990
|
+
"summary": "List Cloud SQL instances",
|
|
1991
|
+
"icon": "database",
|
|
1992
|
+
"group": "Cloud SQL",
|
|
1993
|
+
"input_schema": {
|
|
1994
|
+
"type": "object",
|
|
1995
|
+
"properties": {
|
|
1996
|
+
"project_id": {
|
|
1997
|
+
"description": "Project ID (defaults to currently active project)",
|
|
1998
|
+
"type": "string"
|
|
1999
|
+
},
|
|
2000
|
+
"max_results": {
|
|
2001
|
+
"description": "Max results (default 50)",
|
|
2002
|
+
"type": "integer",
|
|
2003
|
+
"minimum": 1,
|
|
2004
|
+
"maximum": 500
|
|
2005
|
+
},
|
|
2006
|
+
"page_token": {
|
|
2007
|
+
"description": "Page token from a previous response",
|
|
2008
|
+
"type": "string"
|
|
2009
|
+
}
|
|
2010
|
+
},
|
|
2011
|
+
"additionalProperties": false
|
|
2012
|
+
},
|
|
2013
|
+
"output_schema": {
|
|
2014
|
+
"type": "object",
|
|
2015
|
+
"properties": {
|
|
2016
|
+
"instances": {
|
|
2017
|
+
"type": "array",
|
|
2018
|
+
"items": {
|
|
2019
|
+
"type": "object",
|
|
2020
|
+
"properties": {
|
|
2021
|
+
"name": {
|
|
2022
|
+
"type": "string",
|
|
2023
|
+
"description": "Instance name"
|
|
2024
|
+
},
|
|
2025
|
+
"database_version": {
|
|
2026
|
+
"type": "string",
|
|
2027
|
+
"description": "Database version (e.g., POSTGRES_15, MYSQL_8_0)"
|
|
2028
|
+
},
|
|
2029
|
+
"state": {
|
|
2030
|
+
"type": "string",
|
|
2031
|
+
"description": "Instance state (e.g., RUNNABLE, SUSPENDED)"
|
|
2032
|
+
},
|
|
2033
|
+
"region": {
|
|
2034
|
+
"type": "string",
|
|
2035
|
+
"description": "Region (e.g., us-central1)"
|
|
2036
|
+
},
|
|
2037
|
+
"tier": {
|
|
2038
|
+
"type": "string",
|
|
2039
|
+
"description": "Machine tier (e.g., db-f1-micro)"
|
|
2040
|
+
},
|
|
2041
|
+
"ip_address": {
|
|
2042
|
+
"type": "string",
|
|
2043
|
+
"description": "Primary IP address"
|
|
2044
|
+
},
|
|
2045
|
+
"create_time": {
|
|
2046
|
+
"type": "string",
|
|
2047
|
+
"description": "ISO 8601 creation timestamp"
|
|
2048
|
+
}
|
|
2049
|
+
},
|
|
2050
|
+
"required": [
|
|
2051
|
+
"name",
|
|
2052
|
+
"database_version",
|
|
2053
|
+
"state",
|
|
2054
|
+
"region",
|
|
2055
|
+
"tier",
|
|
2056
|
+
"ip_address",
|
|
2057
|
+
"create_time"
|
|
2058
|
+
],
|
|
2059
|
+
"additionalProperties": false
|
|
2060
|
+
},
|
|
2061
|
+
"description": "List of Cloud SQL instances"
|
|
2062
|
+
},
|
|
2063
|
+
"next_page_token": {
|
|
2064
|
+
"type": "string",
|
|
2065
|
+
"description": "Token for next page, empty if no more results"
|
|
2066
|
+
}
|
|
2067
|
+
},
|
|
2068
|
+
"required": [
|
|
2069
|
+
"instances",
|
|
2070
|
+
"next_page_token"
|
|
2071
|
+
],
|
|
2072
|
+
"additionalProperties": false
|
|
2073
|
+
}
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
"name": "get_sql_instance",
|
|
2077
|
+
"displayName": "Get Cloud SQL Instance",
|
|
2078
|
+
"description": "Get detailed information about a specific Cloud SQL database instance.",
|
|
2079
|
+
"summary": "Get a Cloud SQL instance",
|
|
2080
|
+
"icon": "database",
|
|
2081
|
+
"group": "Cloud SQL",
|
|
2082
|
+
"input_schema": {
|
|
2083
|
+
"type": "object",
|
|
2084
|
+
"properties": {
|
|
2085
|
+
"instance_name": {
|
|
2086
|
+
"type": "string",
|
|
2087
|
+
"description": "Cloud SQL instance name"
|
|
2088
|
+
},
|
|
2089
|
+
"project_id": {
|
|
2090
|
+
"description": "Project ID (defaults to currently active project)",
|
|
2091
|
+
"type": "string"
|
|
2092
|
+
}
|
|
2093
|
+
},
|
|
2094
|
+
"required": [
|
|
2095
|
+
"instance_name"
|
|
2096
|
+
],
|
|
2097
|
+
"additionalProperties": false
|
|
2098
|
+
},
|
|
2099
|
+
"output_schema": {
|
|
2100
|
+
"type": "object",
|
|
2101
|
+
"properties": {
|
|
2102
|
+
"instance": {
|
|
2103
|
+
"type": "object",
|
|
2104
|
+
"properties": {
|
|
2105
|
+
"name": {
|
|
2106
|
+
"type": "string",
|
|
2107
|
+
"description": "Instance name"
|
|
2108
|
+
},
|
|
2109
|
+
"database_version": {
|
|
2110
|
+
"type": "string",
|
|
2111
|
+
"description": "Database version (e.g., POSTGRES_15, MYSQL_8_0)"
|
|
2112
|
+
},
|
|
2113
|
+
"state": {
|
|
2114
|
+
"type": "string",
|
|
2115
|
+
"description": "Instance state (e.g., RUNNABLE, SUSPENDED)"
|
|
2116
|
+
},
|
|
2117
|
+
"region": {
|
|
2118
|
+
"type": "string",
|
|
2119
|
+
"description": "Region (e.g., us-central1)"
|
|
2120
|
+
},
|
|
2121
|
+
"tier": {
|
|
2122
|
+
"type": "string",
|
|
2123
|
+
"description": "Machine tier (e.g., db-f1-micro)"
|
|
2124
|
+
},
|
|
2125
|
+
"ip_address": {
|
|
2126
|
+
"type": "string",
|
|
2127
|
+
"description": "Primary IP address"
|
|
2128
|
+
},
|
|
2129
|
+
"create_time": {
|
|
2130
|
+
"type": "string",
|
|
2131
|
+
"description": "ISO 8601 creation timestamp"
|
|
2132
|
+
}
|
|
2133
|
+
},
|
|
2134
|
+
"required": [
|
|
2135
|
+
"name",
|
|
2136
|
+
"database_version",
|
|
2137
|
+
"state",
|
|
2138
|
+
"region",
|
|
2139
|
+
"tier",
|
|
2140
|
+
"ip_address",
|
|
2141
|
+
"create_time"
|
|
2142
|
+
],
|
|
2143
|
+
"additionalProperties": false
|
|
2144
|
+
}
|
|
2145
|
+
},
|
|
2146
|
+
"required": [
|
|
2147
|
+
"instance"
|
|
2148
|
+
],
|
|
2149
|
+
"additionalProperties": false
|
|
2150
|
+
}
|
|
2151
|
+
}
|
|
2152
|
+
]
|
|
2153
|
+
}
|