mcp-google-multi 5.2.2 → 5.3.0-alpha.1
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/accounts.js +5 -2
- package/dist/auth.js +10 -0
- package/dist/tools/generated/admin.js +26 -26
- package/dist/tools/generated/appsmarket.js +2 -2
- package/dist/tools/generated/calendar.js +6 -6
- package/dist/tools/generated/chat.js +18 -3
- package/dist/tools/generated/classroom.js +46 -46
- package/dist/tools/generated/cloudsearch.js +2 -1
- package/dist/tools/generated/drive.js +4 -4
- package/dist/tools/generated/forms.js +1 -1
- package/dist/tools/generated/gmail.js +13 -12
- package/dist/tools/generated/licensing.js +6 -6
- package/dist/tools/generated/reseller.js +5 -5
- package/dist/tools/generated/script.js +2 -2
- package/dist/tools/generated/sheets.js +2 -2
- package/dist/tools/generated/vault.js +3 -3
- package/package.json +1 -1
|
@@ -185,7 +185,7 @@ export function registerGmailGeneratedTools(registry) {
|
|
|
185
185
|
name: "gmail_users_settings_cse_identities_patch",
|
|
186
186
|
cud: "update",
|
|
187
187
|
description: "Associates a different key pair with an existing client-side encryption identity. The updated key pair must validate against Google's [S/MIME certificate profil",
|
|
188
|
-
method: { id: "gmail.users.settings.cse.identities.patch", httpMethod: "PATCH", path: "gmail/v1/users/{userId}/settings/cse/identities/{emailAddress}", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["
|
|
188
|
+
method: { id: "gmail.users.settings.cse.identities.patch", httpMethod: "PATCH", path: "gmail/v1/users/{userId}/settings/cse/identities/{emailAddress}", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["userId", "emailAddress"] },
|
|
189
189
|
params: [{ "field": "emailAddress", "api": "emailAddress", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
190
190
|
hasBody: true,
|
|
191
191
|
shape: {
|
|
@@ -201,11 +201,12 @@ export function registerGmailGeneratedTools(registry) {
|
|
|
201
201
|
cud: "create",
|
|
202
202
|
description: "Creates and uploads a client-side encryption S/MIME public key certificate chain and private key metadata for the authenticated user. For administrators managin",
|
|
203
203
|
method: { id: "gmail.users.settings.cse.keypairs.create", httpMethod: "POST", path: "gmail/v1/users/{userId}/settings/cse/keypairs", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["userId"] },
|
|
204
|
-
params: [{ "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
204
|
+
params: [{ "field": "userId", "api": "userId", "location": "path" }, { "field": "chainValidation", "api": "chainValidation", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
205
205
|
hasBody: true,
|
|
206
206
|
shape: {
|
|
207
207
|
account: accountField(),
|
|
208
208
|
userId: z.string().describe("The requester's primary email address. To indicate the authenticated user, you can use the special value `me`."),
|
|
209
|
+
chainValidation: z.enum(["all", "none"]).describe("The type of certificate chain validation to perform at creation. The request will be rejected if the uploaded chain fails to satisfy the requested validation checks. When unspecified, this parameter d").optional(),
|
|
209
210
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("CseKeyPair JSON request body. Top-level fields: disableTime, enablementState, keyPairId, pem, pkcs7, privateKeyMetadata, subjectEmailAddresses."),
|
|
210
211
|
fields: z.string().optional().describe('Response field mask.'),
|
|
211
212
|
},
|
|
@@ -214,7 +215,7 @@ export function registerGmailGeneratedTools(registry) {
|
|
|
214
215
|
name: "gmail_users_settings_cse_keypairs_disable",
|
|
215
216
|
cud: "create",
|
|
216
217
|
description: "Turns off a client-side encryption key pair. The authenticated user can no longer use the key pair to decrypt incoming CSE message texts or sign outgoing CSE ma",
|
|
217
|
-
method: { id: "gmail.users.settings.cse.keypairs.disable", httpMethod: "POST", path: "gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:disable", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["
|
|
218
|
+
method: { id: "gmail.users.settings.cse.keypairs.disable", httpMethod: "POST", path: "gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:disable", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["userId", "keyPairId"] },
|
|
218
219
|
params: [{ "field": "keyPairId", "api": "keyPairId", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
219
220
|
hasBody: true,
|
|
220
221
|
shape: {
|
|
@@ -244,7 +245,7 @@ export function registerGmailGeneratedTools(registry) {
|
|
|
244
245
|
name: "gmail_users_settings_cse_keypairs_get",
|
|
245
246
|
cud: "read",
|
|
246
247
|
description: "Retrieves an existing client-side encryption key pair. For administrators managing identities and keypairs for users in their organization, requests require aut",
|
|
247
|
-
method: { id: "gmail.users.settings.cse.keypairs.get", httpMethod: "GET", path: "gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["
|
|
248
|
+
method: { id: "gmail.users.settings.cse.keypairs.get", httpMethod: "GET", path: "gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["userId", "keyPairId"] },
|
|
248
249
|
params: [{ "field": "keyPairId", "api": "keyPairId", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
249
250
|
hasBody: false,
|
|
250
251
|
shape: {
|
|
@@ -302,7 +303,7 @@ export function registerGmailGeneratedTools(registry) {
|
|
|
302
303
|
name: "gmail_users_settings_delegates_delete",
|
|
303
304
|
cud: "delete",
|
|
304
305
|
description: "Removes the specified delegate (which can be of any verification status), and revokes any verification that may have been required for using it. For more inform",
|
|
305
|
-
method: { id: "gmail.users.settings.delegates.delete", httpMethod: "DELETE", path: "gmail/v1/users/{userId}/settings/delegates/{delegateEmail}", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["
|
|
306
|
+
method: { id: "gmail.users.settings.delegates.delete", httpMethod: "DELETE", path: "gmail/v1/users/{userId}/settings/delegates/{delegateEmail}", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["delegateEmail", "userId"] },
|
|
306
307
|
params: [{ "field": "delegateEmail", "api": "delegateEmail", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
307
308
|
hasBody: false,
|
|
308
309
|
shape: {
|
|
@@ -519,7 +520,7 @@ export function registerGmailGeneratedTools(registry) {
|
|
|
519
520
|
name: "gmail_users_settings_send_as_delete",
|
|
520
521
|
cud: "delete",
|
|
521
522
|
description: "Deletes the specified send-as alias. Revokes any verification that may have been required for using it. For more information, see [Manage aliases and signatures",
|
|
522
|
-
method: { id: "gmail.users.settings.sendAs.delete", httpMethod: "DELETE", path: "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["
|
|
523
|
+
method: { id: "gmail.users.settings.sendAs.delete", httpMethod: "DELETE", path: "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["userId", "sendAsEmail"] },
|
|
523
524
|
params: [{ "field": "sendAsEmail", "api": "sendAsEmail", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
524
525
|
hasBody: false,
|
|
525
526
|
shape: {
|
|
@@ -575,7 +576,7 @@ export function registerGmailGeneratedTools(registry) {
|
|
|
575
576
|
name: "gmail_users_settings_send_as_smime_info_delete",
|
|
576
577
|
cud: "delete",
|
|
577
578
|
description: "Deletes the specified S/MIME config for the specified send-as alias. For more information, see [Manage S/MIME certificates with the Gmail API](https://developer",
|
|
578
|
-
method: { id: "gmail.users.settings.sendAs.smimeInfo.delete", httpMethod: "DELETE", path: "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["
|
|
579
|
+
method: { id: "gmail.users.settings.sendAs.smimeInfo.delete", httpMethod: "DELETE", path: "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["id", "userId", "sendAsEmail"] },
|
|
579
580
|
params: [{ "field": "id", "api": "id", "location": "path" }, { "field": "sendAsEmail", "api": "sendAsEmail", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
580
581
|
hasBody: false,
|
|
581
582
|
shape: {
|
|
@@ -590,7 +591,7 @@ export function registerGmailGeneratedTools(registry) {
|
|
|
590
591
|
name: "gmail_users_settings_send_as_smime_info_get",
|
|
591
592
|
cud: "read",
|
|
592
593
|
description: "Gets the specified S/MIME config for the specified send-as alias. For more information, see [Manage S/MIME certificates with the Gmail API](https://developers.g",
|
|
593
|
-
method: { id: "gmail.users.settings.sendAs.smimeInfo.get", httpMethod: "GET", path: "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["userId", "
|
|
594
|
+
method: { id: "gmail.users.settings.sendAs.smimeInfo.get", httpMethod: "GET", path: "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["userId", "sendAsEmail", "id"] },
|
|
594
595
|
params: [{ "field": "id", "api": "id", "location": "path" }, { "field": "sendAsEmail", "api": "sendAsEmail", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
595
596
|
hasBody: false,
|
|
596
597
|
shape: {
|
|
@@ -605,7 +606,7 @@ export function registerGmailGeneratedTools(registry) {
|
|
|
605
606
|
name: "gmail_users_settings_send_as_smime_info_insert",
|
|
606
607
|
cud: "create",
|
|
607
608
|
description: "Insert (upload) the given S/MIME config for the specified send-as alias. Note that `pkcs12` format is required for the key. For more information, see [Manage S/",
|
|
608
|
-
method: { id: "gmail.users.settings.sendAs.smimeInfo.insert", httpMethod: "POST", path: "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["
|
|
609
|
+
method: { id: "gmail.users.settings.sendAs.smimeInfo.insert", httpMethod: "POST", path: "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["userId", "sendAsEmail"] },
|
|
609
610
|
params: [{ "field": "sendAsEmail", "api": "sendAsEmail", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
610
611
|
hasBody: true,
|
|
611
612
|
shape: {
|
|
@@ -620,7 +621,7 @@ export function registerGmailGeneratedTools(registry) {
|
|
|
620
621
|
name: "gmail_users_settings_send_as_smime_info_list",
|
|
621
622
|
cud: "read",
|
|
622
623
|
description: "Lists S/MIME configs for the specified send-as alias. For more information, see [Manage S/MIME certificates with the Gmail API](https://developers.google.com/wo",
|
|
623
|
-
method: { id: "gmail.users.settings.sendAs.smimeInfo.list", httpMethod: "GET", path: "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["
|
|
624
|
+
method: { id: "gmail.users.settings.sendAs.smimeInfo.list", httpMethod: "GET", path: "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["userId", "sendAsEmail"] },
|
|
624
625
|
params: [{ "field": "sendAsEmail", "api": "sendAsEmail", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
625
626
|
hasBody: false,
|
|
626
627
|
shape: {
|
|
@@ -634,7 +635,7 @@ export function registerGmailGeneratedTools(registry) {
|
|
|
634
635
|
name: "gmail_users_settings_send_as_smime_info_set_default",
|
|
635
636
|
cud: "update",
|
|
636
637
|
description: "Sets the default S/MIME config for the specified send-as alias. For more information, see [Manage S/MIME certificates with the Gmail API](https://developers.goo",
|
|
637
|
-
method: { id: "gmail.users.settings.sendAs.smimeInfo.setDefault", httpMethod: "POST", path: "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}/setDefault", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["
|
|
638
|
+
method: { id: "gmail.users.settings.sendAs.smimeInfo.setDefault", httpMethod: "POST", path: "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}/setDefault", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["id", "userId", "sendAsEmail"] },
|
|
638
639
|
params: [{ "field": "id", "api": "id", "location": "path" }, { "field": "sendAsEmail", "api": "sendAsEmail", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
639
640
|
hasBody: false,
|
|
640
641
|
shape: {
|
|
@@ -649,7 +650,7 @@ export function registerGmailGeneratedTools(registry) {
|
|
|
649
650
|
name: "gmail_users_settings_send_as_update",
|
|
650
651
|
cud: "update",
|
|
651
652
|
description: "Updates a send-as alias. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias. For more information, see [Manage aliases and",
|
|
652
|
-
method: { id: "gmail.users.settings.sendAs.update", httpMethod: "PUT", path: "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["
|
|
653
|
+
method: { id: "gmail.users.settings.sendAs.update", httpMethod: "PUT", path: "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}", baseUrl: "https://gmail.googleapis.com/", requiredParams: ["userId", "sendAsEmail"] },
|
|
653
654
|
params: [{ "field": "sendAsEmail", "api": "sendAsEmail", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
654
655
|
hasBody: true,
|
|
655
656
|
shape: {
|
|
@@ -7,7 +7,7 @@ export function registerLicensingGeneratedTools(registry) {
|
|
|
7
7
|
name: "licensing_license_assignments_delete",
|
|
8
8
|
cud: "delete",
|
|
9
9
|
description: "Revoke a license.",
|
|
10
|
-
method: { id: "licensing.licenseAssignments.delete", httpMethod: "DELETE", path: "apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}", baseUrl: "https://licensing.googleapis.com/", requiredParams: ["
|
|
10
|
+
method: { id: "licensing.licenseAssignments.delete", httpMethod: "DELETE", path: "apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}", baseUrl: "https://licensing.googleapis.com/", requiredParams: ["productId", "skuId", "userId"] },
|
|
11
11
|
params: [{ "field": "productId", "api": "productId", "location": "path" }, { "field": "skuId", "api": "skuId", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
12
12
|
hasBody: false,
|
|
13
13
|
shape: {
|
|
@@ -22,7 +22,7 @@ export function registerLicensingGeneratedTools(registry) {
|
|
|
22
22
|
name: "licensing_license_assignments_get",
|
|
23
23
|
cud: "read",
|
|
24
24
|
description: "Get a specific user's license by product SKU.",
|
|
25
|
-
method: { id: "licensing.licenseAssignments.get", httpMethod: "GET", path: "apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}", baseUrl: "https://licensing.googleapis.com/", requiredParams: ["
|
|
25
|
+
method: { id: "licensing.licenseAssignments.get", httpMethod: "GET", path: "apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}", baseUrl: "https://licensing.googleapis.com/", requiredParams: ["productId", "userId", "skuId"] },
|
|
26
26
|
params: [{ "field": "productId", "api": "productId", "location": "path" }, { "field": "skuId", "api": "skuId", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
27
27
|
hasBody: false,
|
|
28
28
|
shape: {
|
|
@@ -52,7 +52,7 @@ export function registerLicensingGeneratedTools(registry) {
|
|
|
52
52
|
name: "licensing_license_assignments_list_for_product",
|
|
53
53
|
cud: "read",
|
|
54
54
|
description: "List all users assigned licenses for a specific product SKU.",
|
|
55
|
-
method: { id: "licensing.licenseAssignments.listForProduct", httpMethod: "GET", path: "apps/licensing/v1/product/{productId}/users", baseUrl: "https://licensing.googleapis.com/", requiredParams: ["
|
|
55
|
+
method: { id: "licensing.licenseAssignments.listForProduct", httpMethod: "GET", path: "apps/licensing/v1/product/{productId}/users", baseUrl: "https://licensing.googleapis.com/", requiredParams: ["productId", "customerId"] },
|
|
56
56
|
params: [{ "field": "productId", "api": "productId", "location": "path" }, { "field": "customerId", "api": "customerId", "location": "query" }, { "field": "maxResults", "api": "maxResults", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
57
57
|
hasBody: false,
|
|
58
58
|
shape: {
|
|
@@ -68,7 +68,7 @@ export function registerLicensingGeneratedTools(registry) {
|
|
|
68
68
|
name: "licensing_license_assignments_list_for_product_and_sku",
|
|
69
69
|
cud: "read",
|
|
70
70
|
description: "List all users assigned licenses for a specific product SKU.",
|
|
71
|
-
method: { id: "licensing.licenseAssignments.listForProductAndSku", httpMethod: "GET", path: "apps/licensing/v1/product/{productId}/sku/{skuId}/users", baseUrl: "https://licensing.googleapis.com/", requiredParams: ["
|
|
71
|
+
method: { id: "licensing.licenseAssignments.listForProductAndSku", httpMethod: "GET", path: "apps/licensing/v1/product/{productId}/sku/{skuId}/users", baseUrl: "https://licensing.googleapis.com/", requiredParams: ["customerId", "productId", "skuId"] },
|
|
72
72
|
params: [{ "field": "productId", "api": "productId", "location": "path" }, { "field": "skuId", "api": "skuId", "location": "path" }, { "field": "customerId", "api": "customerId", "location": "query" }, { "field": "maxResults", "api": "maxResults", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
73
73
|
hasBody: false,
|
|
74
74
|
shape: {
|
|
@@ -85,7 +85,7 @@ export function registerLicensingGeneratedTools(registry) {
|
|
|
85
85
|
name: "licensing_license_assignments_patch",
|
|
86
86
|
cud: "update",
|
|
87
87
|
description: "Reassign a user's product SKU with a different SKU in the same product. This method supports patch semantics.",
|
|
88
|
-
method: { id: "licensing.licenseAssignments.patch", httpMethod: "PATCH", path: "apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}", baseUrl: "https://licensing.googleapis.com/", requiredParams: ["
|
|
88
|
+
method: { id: "licensing.licenseAssignments.patch", httpMethod: "PATCH", path: "apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}", baseUrl: "https://licensing.googleapis.com/", requiredParams: ["productId", "userId", "skuId"] },
|
|
89
89
|
params: [{ "field": "productId", "api": "productId", "location": "path" }, { "field": "skuId", "api": "skuId", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
90
90
|
hasBody: true,
|
|
91
91
|
shape: {
|
|
@@ -101,7 +101,7 @@ export function registerLicensingGeneratedTools(registry) {
|
|
|
101
101
|
name: "licensing_license_assignments_update",
|
|
102
102
|
cud: "update",
|
|
103
103
|
description: "Reassign a user's product SKU with a different SKU in the same product.",
|
|
104
|
-
method: { id: "licensing.licenseAssignments.update", httpMethod: "PUT", path: "apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}", baseUrl: "https://licensing.googleapis.com/", requiredParams: ["
|
|
104
|
+
method: { id: "licensing.licenseAssignments.update", httpMethod: "PUT", path: "apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}", baseUrl: "https://licensing.googleapis.com/", requiredParams: ["skuId", "userId", "productId"] },
|
|
105
105
|
params: [{ "field": "productId", "api": "productId", "location": "path" }, { "field": "skuId", "api": "skuId", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
106
106
|
hasBody: true,
|
|
107
107
|
shape: {
|
|
@@ -100,7 +100,7 @@ export function registerResellerGeneratedTools(registry) {
|
|
|
100
100
|
name: "reseller_subscriptions_activate",
|
|
101
101
|
cud: "create",
|
|
102
102
|
description: "Activates a subscription previously suspended by the reseller. If you did not suspend the customer subscription and it is suspended for any other reason, such a",
|
|
103
|
-
method: { id: "reseller.subscriptions.activate", httpMethod: "POST", path: "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/activate", baseUrl: "https://reseller.googleapis.com/", requiredParams: ["
|
|
103
|
+
method: { id: "reseller.subscriptions.activate", httpMethod: "POST", path: "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/activate", baseUrl: "https://reseller.googleapis.com/", requiredParams: ["subscriptionId", "customerId"] },
|
|
104
104
|
params: [{ "field": "customerId", "api": "customerId", "location": "path" }, { "field": "subscriptionId", "api": "subscriptionId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
105
105
|
hasBody: false,
|
|
106
106
|
shape: {
|
|
@@ -129,7 +129,7 @@ export function registerResellerGeneratedTools(registry) {
|
|
|
129
129
|
name: "reseller_subscriptions_change_renewal_settings",
|
|
130
130
|
cud: "create",
|
|
131
131
|
description: "Updates a user license's renewal settings. This is applicable for accounts with annual commitment plans only. For more information, see the description in [mana",
|
|
132
|
-
method: { id: "reseller.subscriptions.changeRenewalSettings", httpMethod: "POST", path: "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changeRenewalSettings", baseUrl: "https://reseller.googleapis.com/", requiredParams: ["
|
|
132
|
+
method: { id: "reseller.subscriptions.changeRenewalSettings", httpMethod: "POST", path: "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changeRenewalSettings", baseUrl: "https://reseller.googleapis.com/", requiredParams: ["subscriptionId", "customerId"] },
|
|
133
133
|
params: [{ "field": "customerId", "api": "customerId", "location": "path" }, { "field": "subscriptionId", "api": "subscriptionId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
134
134
|
hasBody: true,
|
|
135
135
|
shape: {
|
|
@@ -144,7 +144,7 @@ export function registerResellerGeneratedTools(registry) {
|
|
|
144
144
|
name: "reseller_subscriptions_change_seats",
|
|
145
145
|
cud: "create",
|
|
146
146
|
description: "Updates a subscription's user license settings. For more information about updating an annual commitment plan or a flexible plan subscription’s licenses, see [M",
|
|
147
|
-
method: { id: "reseller.subscriptions.changeSeats", httpMethod: "POST", path: "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changeSeats", baseUrl: "https://reseller.googleapis.com/", requiredParams: ["
|
|
147
|
+
method: { id: "reseller.subscriptions.changeSeats", httpMethod: "POST", path: "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changeSeats", baseUrl: "https://reseller.googleapis.com/", requiredParams: ["subscriptionId", "customerId"] },
|
|
148
148
|
params: [{ "field": "customerId", "api": "customerId", "location": "path" }, { "field": "subscriptionId", "api": "subscriptionId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
149
149
|
hasBody: true,
|
|
150
150
|
shape: {
|
|
@@ -159,7 +159,7 @@ export function registerResellerGeneratedTools(registry) {
|
|
|
159
159
|
name: "reseller_subscriptions_delete",
|
|
160
160
|
cud: "delete",
|
|
161
161
|
description: "Cancels, suspends, or transfers a subscription to direct.",
|
|
162
|
-
method: { id: "reseller.subscriptions.delete", httpMethod: "DELETE", path: "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}", baseUrl: "https://reseller.googleapis.com/", requiredParams: ["
|
|
162
|
+
method: { id: "reseller.subscriptions.delete", httpMethod: "DELETE", path: "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}", baseUrl: "https://reseller.googleapis.com/", requiredParams: ["subscriptionId", "customerId", "deletionType"] },
|
|
163
163
|
params: [{ "field": "customerId", "api": "customerId", "location": "path" }, { "field": "subscriptionId", "api": "subscriptionId", "location": "path" }, { "field": "deletionType", "api": "deletionType", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
164
164
|
hasBody: false,
|
|
165
165
|
shape: {
|
|
@@ -174,7 +174,7 @@ export function registerResellerGeneratedTools(registry) {
|
|
|
174
174
|
name: "reseller_subscriptions_get",
|
|
175
175
|
cud: "read",
|
|
176
176
|
description: "Gets a specific subscription. The `subscriptionId` can be found using the [Retrieve all reseller subscriptions](https://developers.google.com/workspace/admin/re",
|
|
177
|
-
method: { id: "reseller.subscriptions.get", httpMethod: "GET", path: "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}", baseUrl: "https://reseller.googleapis.com/", requiredParams: ["
|
|
177
|
+
method: { id: "reseller.subscriptions.get", httpMethod: "GET", path: "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}", baseUrl: "https://reseller.googleapis.com/", requiredParams: ["subscriptionId", "customerId"] },
|
|
178
178
|
params: [{ "field": "customerId", "api": "customerId", "location": "path" }, { "field": "subscriptionId", "api": "subscriptionId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
179
179
|
hasBody: false,
|
|
180
180
|
shape: {
|
|
@@ -122,7 +122,7 @@ export function registerScriptGeneratedTools(registry) {
|
|
|
122
122
|
name: "script_projects_deployments_update",
|
|
123
123
|
cud: "update",
|
|
124
124
|
description: "Updates a deployment of an Apps Script project.",
|
|
125
|
-
method: { id: "script.projects.deployments.update", httpMethod: "PUT", path: "v1/projects/{scriptId}/deployments/{deploymentId}", baseUrl: "https://script.googleapis.com/", requiredParams: ["
|
|
125
|
+
method: { id: "script.projects.deployments.update", httpMethod: "PUT", path: "v1/projects/{scriptId}/deployments/{deploymentId}", baseUrl: "https://script.googleapis.com/", requiredParams: ["deploymentId", "scriptId"] },
|
|
126
126
|
params: [{ "field": "deploymentId", "api": "deploymentId", "location": "path" }, { "field": "scriptId", "api": "scriptId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
127
127
|
hasBody: true,
|
|
128
128
|
shape: {
|
|
@@ -207,7 +207,7 @@ export function registerScriptGeneratedTools(registry) {
|
|
|
207
207
|
name: "script_projects_versions_get",
|
|
208
208
|
cud: "read",
|
|
209
209
|
description: "Gets a version of a script project.",
|
|
210
|
-
method: { id: "script.projects.versions.get", httpMethod: "GET", path: "v1/projects/{scriptId}/versions/{versionNumber}", baseUrl: "https://script.googleapis.com/", requiredParams: ["
|
|
210
|
+
method: { id: "script.projects.versions.get", httpMethod: "GET", path: "v1/projects/{scriptId}/versions/{versionNumber}", baseUrl: "https://script.googleapis.com/", requiredParams: ["scriptId", "versionNumber"] },
|
|
211
211
|
params: [{ "field": "scriptId", "api": "scriptId", "location": "path" }, { "field": "versionNumber", "api": "versionNumber", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
212
212
|
hasBody: false,
|
|
213
213
|
shape: {
|
|
@@ -7,7 +7,7 @@ export function registerSheetsGeneratedTools(registry) {
|
|
|
7
7
|
name: "sheets_spreadsheets_developer_metadata_get",
|
|
8
8
|
cud: "read",
|
|
9
9
|
description: "Returns the developer metadata with the specified ID. The caller must specify the spreadsheet ID and the developer metadata's unique metadataId. For more inform",
|
|
10
|
-
method: { id: "sheets.spreadsheets.developerMetadata.get", httpMethod: "GET", path: "v4/spreadsheets/{spreadsheetId}/developerMetadata/{metadataId}", baseUrl: "https://sheets.googleapis.com/", requiredParams: ["
|
|
10
|
+
method: { id: "sheets.spreadsheets.developerMetadata.get", httpMethod: "GET", path: "v4/spreadsheets/{spreadsheetId}/developerMetadata/{metadataId}", baseUrl: "https://sheets.googleapis.com/", requiredParams: ["spreadsheetId", "metadataId"] },
|
|
11
11
|
params: [{ "field": "metadataId", "api": "metadataId", "location": "path" }, { "field": "spreadsheetId", "api": "spreadsheetId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
12
12
|
hasBody: false,
|
|
13
13
|
shape: {
|
|
@@ -49,7 +49,7 @@ export function registerSheetsGeneratedTools(registry) {
|
|
|
49
49
|
name: "sheets_spreadsheets_sheets_copy_to",
|
|
50
50
|
cud: "create",
|
|
51
51
|
description: "Copies a single sheet from a spreadsheet to another spreadsheet. Returns the properties of the newly created sheet.",
|
|
52
|
-
method: { id: "sheets.spreadsheets.sheets.copyTo", httpMethod: "POST", path: "v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo", baseUrl: "https://sheets.googleapis.com/", requiredParams: ["
|
|
52
|
+
method: { id: "sheets.spreadsheets.sheets.copyTo", httpMethod: "POST", path: "v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo", baseUrl: "https://sheets.googleapis.com/", requiredParams: ["spreadsheetId", "sheetId"] },
|
|
53
53
|
params: [{ "field": "sheetId", "api": "sheetId", "location": "path" }, { "field": "spreadsheetId", "api": "spreadsheetId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
54
54
|
hasBody: true,
|
|
55
55
|
shape: {
|
|
@@ -161,7 +161,7 @@ export function registerVaultGeneratedTools(registry) {
|
|
|
161
161
|
name: "vault_matters_holds_accounts_delete",
|
|
162
162
|
cud: "delete",
|
|
163
163
|
description: "Removes an account from a hold.",
|
|
164
|
-
method: { id: "vault.matters.holds.accounts.delete", httpMethod: "DELETE", path: "v1/matters/{matterId}/holds/{holdId}/accounts/{accountId}", baseUrl: "https://vault.googleapis.com/", requiredParams: ["
|
|
164
|
+
method: { id: "vault.matters.holds.accounts.delete", httpMethod: "DELETE", path: "v1/matters/{matterId}/holds/{holdId}/accounts/{accountId}", baseUrl: "https://vault.googleapis.com/", requiredParams: ["matterId", "holdId", "accountId"] },
|
|
165
165
|
params: [{ "field": "accountId", "api": "accountId", "location": "path" }, { "field": "holdId", "api": "holdId", "location": "path" }, { "field": "matterId", "api": "matterId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
166
166
|
hasBody: false,
|
|
167
167
|
shape: {
|
|
@@ -176,7 +176,7 @@ export function registerVaultGeneratedTools(registry) {
|
|
|
176
176
|
name: "vault_matters_holds_accounts_list",
|
|
177
177
|
cud: "read",
|
|
178
178
|
description: "Lists the accounts covered by a hold. This can list only individually-specified accounts covered by the hold. If the hold covers an organizational unit, use the",
|
|
179
|
-
method: { id: "vault.matters.holds.accounts.list", httpMethod: "GET", path: "v1/matters/{matterId}/holds/{holdId}/accounts", baseUrl: "https://vault.googleapis.com/", requiredParams: ["
|
|
179
|
+
method: { id: "vault.matters.holds.accounts.list", httpMethod: "GET", path: "v1/matters/{matterId}/holds/{holdId}/accounts", baseUrl: "https://vault.googleapis.com/", requiredParams: ["matterId", "holdId"] },
|
|
180
180
|
params: [{ "field": "holdId", "api": "holdId", "location": "path" }, { "field": "matterId", "api": "matterId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
181
181
|
hasBody: false,
|
|
182
182
|
shape: {
|
|
@@ -279,7 +279,7 @@ export function registerVaultGeneratedTools(registry) {
|
|
|
279
279
|
name: "vault_matters_holds_update",
|
|
280
280
|
cud: "update",
|
|
281
281
|
description: "Updates the scope (organizational unit or accounts) and query parameters of a hold. You cannot add accounts to a hold that covers an organizational unit, nor ca",
|
|
282
|
-
method: { id: "vault.matters.holds.update", httpMethod: "PUT", path: "v1/matters/{matterId}/holds/{holdId}", baseUrl: "https://vault.googleapis.com/", requiredParams: ["
|
|
282
|
+
method: { id: "vault.matters.holds.update", httpMethod: "PUT", path: "v1/matters/{matterId}/holds/{holdId}", baseUrl: "https://vault.googleapis.com/", requiredParams: ["matterId", "holdId"] },
|
|
283
283
|
params: [{ "field": "holdId", "api": "holdId", "location": "path" }, { "field": "matterId", "api": "matterId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
284
284
|
hasBody: true,
|
|
285
285
|
shape: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-google-multi",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0-alpha.1",
|
|
4
4
|
"description": "Local MCP server for Google Workspace (Gmail, Drive, Calendar, Sheets, Docs, Contacts, Tasks, Meet, Search Console, +Forms/Chat/Admin) across multiple accounts — OAuth-only, encrypted token storage, deny-by-default writes.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|