@tool-bridge/server 0.21.0 → 0.22.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/admin.js +170 -0
- package/dist/airtable-ML2GIGCH.js +790 -0
- package/dist/{alt_text_generator_ai-RELFQ5FV.js → alt_text_generator_ai-FGYQAF2A.js} +12 -11
- package/dist/{amap-YSYEACKQ.js → amap-G7V65NGK.js} +221 -220
- package/dist/anthropic-6ZK24TBB.js +203 -0
- package/dist/apify-VDGYHP6W.js +248 -0
- package/dist/brave_search-TAATLZOS.js +302 -0
- package/dist/chunk-2IAI3XQM.js +302 -0
- package/dist/chunk-7ISGFRC6.js +161 -0
- package/dist/{chunk-Q74GLIDK.js → chunk-BNMLA2RC.js} +6 -5
- package/dist/chunk-HA4BGL6C.js +8429 -0
- package/dist/{chunk-MDY7K5CX.js → chunk-RMAWSG7E.js} +20135 -26920
- package/dist/{chunk-JEWFX6Z6.js → chunk-RTW5VRTK.js} +3 -3
- package/dist/chunk-U7PTOA3U.js +7320 -0
- package/dist/chunk-UY6ANCOY.js +378 -0
- package/dist/{chunk-QR4LK3HF.js → chunk-X7ZUTKHR.js} +4 -2
- package/dist/circleci-BQ2UWXL2.js +389 -0
- package/dist/clerk-2JYWQNOI.js +1019 -0
- package/dist/cohere-6MI7AQM4.js +185 -0
- package/dist/{confluence-52I37IUT.js → confluence-6Y6GDETF.js} +105 -104
- package/dist/{convertapi-3TRJ3WEO.js → convertapi-HBZCSWOX.js} +32 -31
- package/dist/{currencyapi-LWEANWVI.js → currencyapi-337U5TGI.js} +71 -71
- package/dist/deepseek-OSPASO7O.js +210 -0
- package/dist/docker_hub-3ATQOY5L.js +933 -0
- package/dist/dropbox-LSA4GM2Y.js +1305 -0
- package/dist/dub-VZPJSPI6.js +680 -0
- package/dist/e2b-6SDYQZL2.js +278 -0
- package/dist/exa-B6EUYDVP.js +332 -0
- package/dist/{fal_ai-VJPMCNRH.js → fal_ai-K4Q27IME.js} +81 -80
- package/dist/feishu-4TKXG4SU.js +11975 -0
- package/dist/{feishu_custom_bot-ADSE23KU.js → feishu_custom_bot-7CTEAKRB.js} +57 -53
- package/dist/figma-OUKSZLD5.js +777 -0
- package/dist/firehydrant-7MOYL7QH.js +563 -0
- package/dist/{fixer-OAMF4DKP.js → fixer-H2BV2NO4.js} +34 -33
- package/dist/fly-PXKY6PNH.js +469 -0
- package/dist/{front-6GTVYKUM.js → front-UZYIV5DW.js} +104 -104
- package/dist/geocodio-NSYO7TFP.js +213 -0
- package/dist/ghost-QBKKQQMF.js +338 -0
- package/dist/github-ENLSJ4CL.js +5421 -0
- package/dist/gmail-KQSDEB47.js +1887 -0
- package/dist/googlecalendar-5YCX4SZF.js +2524 -0
- package/dist/{googledocs-YNKKBM6Q.js → googledocs-SSWIVFKA.js} +343 -341
- package/dist/{grafana-353VSGXN.js → grafana-TF2LXDQA.js} +221 -220
- package/dist/graphhopper-CURBVHYK.js +325 -0
- package/dist/index.d.ts +1132 -332
- package/dist/index.js +31 -13
- package/dist/{ip2proxy-DBGRWH7S.js → ip2proxy-YNVMTZEM.js} +28 -27
- package/dist/ipgeolocation_io-NAU7VJ4J.js +315 -0
- package/dist/ipqualityscore-OT63L4TI.js +279 -0
- package/dist/{jina_ai-L5BH455V.js → jina_ai-6WBMBGWM.js} +23 -23
- package/dist/{jira-IGTILUZA.js → jira-DVDVTHNO.js} +118 -117
- package/dist/langsmith-IM5N4YAU.js +593 -0
- package/dist/lemlist-277SHUQF.js +289 -0
- package/dist/{linear-HLGOWISN.js → linear-AEPH7B5V.js} +329 -327
- package/dist/logsnag-VEWRAGBG.js +150 -0
- package/dist/main.js +57 -279
- package/dist/{mattermost-BONGXVC7.js → mattermost-Q3A2BIZA.js} +59 -58
- package/dist/mem0-AXS7GZGI.js +544 -0
- package/dist/memos-7TXG4ZTU.js +744 -0
- package/dist/{metabase-ZHXHRHZK.js → metabase-NSVACWQM.js} +90 -89
- package/dist/mistral_ai-YZ52RGD4.js +1196 -0
- package/dist/{mother_duck-TKVQM35M.js → mother_duck-XLLL6FVL.js} +94 -93
- package/dist/ngrok-4O4W3WZW.js +356 -0
- package/dist/{notes-KXRNNYDW.js → notes-YTB3TJOO.js} +11 -9
- package/dist/notion-4W4O7J7V.js +940 -0
- package/dist/open_exchange_rates-23QJXVO5.js +215 -0
- package/dist/openai-ZS7GLSLH.js +800 -0
- package/dist/opengraph_io-PMVH7OYI.js +362 -0
- package/dist/openrouter-ONRGFNB6.js +441 -0
- package/dist/outline-UCUYZZ7J.js +599 -0
- package/dist/paddle-35HTKTUL.js +454 -0
- package/dist/perplexity-NVOBYN24.js +220 -0
- package/dist/pinecone-55CJY73C.js +571 -0
- package/dist/{pipedrive-CW7HONYW.js → pipedrive-WMCAKS72.js} +99 -98
- package/dist/polar-SM4ZM53B.js +395 -0
- package/dist/posthog-NWCXVXNJ.js +3464 -0
- package/dist/postmark-QJV5PHUQ.js +427 -0
- package/dist/{prerender-5EAY7GDM.js → prerender-2W7UT4SC.js} +31 -30
- package/dist/{pubmed-GRQUBGVA.js → pubmed-VVV7XYLU.js} +241 -239
- package/dist/{railway-FTM75TMX.js → railway-KGI57S3O.js} +118 -117
- package/dist/readwise-AGHTQB42.js +470 -0
- package/dist/render-O4HBROCK.js +461 -0
- package/dist/{replicate-RJCMDB7H.js → replicate-KWBOMX7D.js} +81 -80
- package/dist/{resend-YYN22NIL.js → resend-DRH6Y6I4.js} +20 -16
- package/dist/rootly-XGCUDW6X.js +336 -0
- package/dist/{scrapfly-ZJJ6XM4Q.js → scrapfly-OIQ3OY6L.js} +62 -61
- package/dist/{scrapingbee-QNGEOD6D.js → scrapingbee-OCZO4FHX.js} +56 -56
- package/dist/{screenshot_fyi-SPZAABVD.js → screenshot_fyi-CUNGFZOC.js} +16 -16
- package/dist/semantic_scholar-3UJRLKES.js +611 -0
- package/dist/{sentry-SJ5NN4C4.js → sentry-5BWVZFJV.js} +208 -207
- package/dist/{shodan-YMGOY7KW.js → shodan-HI37CTEW.js} +62 -61
- package/dist/shopify-LJ2EV2HH.js +610 -0
- package/dist/stripe-3LHMV55K.js +585 -0
- package/dist/{supabase-GQ2OFVIL.js → supabase-H2KPX3Q2.js} +245 -244
- package/dist/tavily-FBEWGH3Z.js +326 -0
- package/dist/telegram-MYYO3JND.js +1767 -0
- package/dist/{telnyx-4JGMC3K7.js → telnyx-H4ALEGAX.js} +57 -56
- package/dist/todoist-OBWICA5Q.js +664 -0
- package/dist/trello-GUFUJRWO.js +1080 -0
- package/dist/turso-NIAK4UMS.js +416 -0
- package/dist/{twilio-VYF3HUU6.js → twilio-K6SLK2CX.js} +72 -70
- package/dist/umami-42RS2EPS.js +389 -0
- package/dist/unsplash-V7TOTETT.js +351 -0
- package/dist/{upstash_redis-IUM2HDLU.js → upstash_redis-AWQMB6Y3.js} +51 -50
- package/dist/uptimerobot-AZC2DHOT.js +483 -0
- package/dist/v2ex-4TVRNMLS.js +667 -0
- package/dist/vercel-DPHTJ3XR.js +1076 -0
- package/dist/{wolfram_alpha_api-6CRVUZOJ.js → wolfram_alpha_api-XAG7IXBW.js} +36 -35
- package/dist/wordpress-KMPKVGUX.js +812 -0
- package/dist/workos-PKB2YR7S.js +664 -0
- package/dist/zhihu-Y4H4XYPB.js +254 -0
- package/package.json +18 -9
- package/dist/airtable-DMJEEGJP.js +0 -789
- package/dist/anthropic-D5X5GSYE.js +0 -202
- package/dist/apify-5NVFU3IZ.js +0 -247
- package/dist/brave_search-X557FMGO.js +0 -301
- package/dist/chunk-MZCIPUNQ.js +0 -23424
- package/dist/chunk-ZTTN6AJG.js +0 -977
- package/dist/circleci-3P3QTUX2.js +0 -388
- package/dist/clerk-GNMZQ2MY.js +0 -1019
- package/dist/cloudflare_dns-VWZH3ZTR.js +0 -588
- package/dist/cohere-C7QVIIMG.js +0 -185
- package/dist/deepseek-5U24YG4P.js +0 -209
- package/dist/docker_hub-CMISLRSE.js +0 -932
- package/dist/dropbox-TW4QN6FT.js +0 -1304
- package/dist/dub-EFXGI5UH.js +0 -679
- package/dist/e2b-PHM63OVF.js +0 -277
- package/dist/exa-DYOQWURR.js +0 -331
- package/dist/feishu-TFIZXPIN.js +0 -231
- package/dist/figma-4AK47AYY.js +0 -773
- package/dist/firehydrant-RGPTW4EA.js +0 -562
- package/dist/fly-YB4AQD4O.js +0 -468
- package/dist/geocodio-YRT4K25M.js +0 -212
- package/dist/ghost-JCW6UIP2.js +0 -337
- package/dist/github-CEGVRMNX.js +0 -5420
- package/dist/gmail-JCMJD55P.js +0 -1886
- package/dist/googlecalendar-2EAW4MNM.js +0 -2522
- package/dist/graphhopper-H3IVJNDS.js +0 -324
- package/dist/ipgeolocation_io-5I2BDVMG.js +0 -315
- package/dist/ipqualityscore-ILV7TQCV.js +0 -277
- package/dist/langsmith-BYRX4AOF.js +0 -592
- package/dist/lemlist-ZGNYTIQO.js +0 -288
- package/dist/logsnag-5RGTMTU2.js +0 -150
- package/dist/mem0-RUVNUPTE.js +0 -543
- package/dist/memos-TED4HI54.js +0 -739
- package/dist/mistral_ai-NGP5SHU7.js +0 -1195
- package/dist/ngrok-BYCUJ7QV.js +0 -356
- package/dist/notion-2ILYKJOO.js +0 -936
- package/dist/open_exchange_rates-JU4DC6HZ.js +0 -214
- package/dist/openai-6SOT26ZK.js +0 -799
- package/dist/opengraph_io-ZEFHV2OL.js +0 -361
- package/dist/openrouter-R4P7JL5L.js +0 -437
- package/dist/outline-VCTQ5V2X.js +0 -595
- package/dist/paddle-AZOAKBJS.js +0 -453
- package/dist/perplexity-OMRLGVAT.js +0 -219
- package/dist/pinecone-DI62W3ZX.js +0 -570
- package/dist/polar-5DRGTXNR.js +0 -394
- package/dist/posthog-3DTHFCKE.js +0 -3463
- package/dist/postmark-ME2V2XXI.js +0 -426
- package/dist/readwise-IJQGV6IQ.js +0 -469
- package/dist/render-TMSPHRTY.js +0 -460
- package/dist/rootly-7RXE4K7L.js +0 -336
- package/dist/semantic_scholar-SDPVGDDI.js +0 -610
- package/dist/shopify-SU5ABP54.js +0 -609
- package/dist/stripe-JAC425KE.js +0 -584
- package/dist/tavily-Y7MDA5CI.js +0 -326
- package/dist/telegram-OIDT3ZLH.js +0 -1766
- package/dist/todoist-O7S2OUGX.js +0 -663
- package/dist/trello-3LDE4TAQ.js +0 -1079
- package/dist/turso-MUQ44KCA.js +0 -415
- package/dist/umami-SVQIK26J.js +0 -388
- package/dist/unsplash-333XYDCJ.js +0 -350
- package/dist/uptimerobot-7ZRU2NJV.js +0 -482
- package/dist/v2ex-AVSJCQPS.js +0 -666
- package/dist/vercel-J7RGXNSA.js +0 -1075
- package/dist/wordpress-THOJLPKA.js +0 -811
- package/dist/workos-ENTGRWF2.js +0 -663
- package/dist/zhihu-W2BXICTX.js +0 -253
|
@@ -9,14 +9,15 @@ import {
|
|
|
9
9
|
createProviderPlugin,
|
|
10
10
|
requireApiKey,
|
|
11
11
|
upstreamError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-X7ZUTKHR.js";
|
|
13
13
|
import {
|
|
14
14
|
guardedFetch
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7ISGFRC6.js";
|
|
16
|
+
import "./chunk-UY6ANCOY.js";
|
|
16
17
|
import {
|
|
17
18
|
TBError,
|
|
18
|
-
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
isTBError
|
|
20
|
+
} from "./chunk-HA4BGL6C.js";
|
|
20
21
|
import "./chunk-U67V476Y.js";
|
|
21
22
|
|
|
22
23
|
// ../plugins/src/googledocs/api/shared.ts
|
|
@@ -157,7 +158,7 @@ async function send(ctx, input) {
|
|
|
157
158
|
signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS)
|
|
158
159
|
});
|
|
159
160
|
} catch (error) {
|
|
160
|
-
if (error
|
|
161
|
+
if (isTBError(error)) throw error;
|
|
161
162
|
if (error instanceof Error && error.name === "TimeoutError") {
|
|
162
163
|
throw upstreamError(504, `Google Docs \u8BF7\u6C42\u8D85\u65F6(${REQUEST_TIMEOUT_MS / 1e3} \u79D2)`);
|
|
163
164
|
}
|
|
@@ -687,569 +688,570 @@ async function searchDocuments(input, ctx) {
|
|
|
687
688
|
}
|
|
688
689
|
|
|
689
690
|
// ../plugins/src/googledocs/schema.ts
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
691
|
+
import { z } from "zod/v4";
|
|
692
|
+
var copyDocumentInput = z.strictObject({
|
|
693
|
+
document_id: z.string().describe("The ID of the Google Docs document to copy."),
|
|
694
|
+
title: z.string().describe("The title for the copied document.").optional(),
|
|
695
|
+
include_shared_drives: z.boolean().describe("Whether to include shared drives when locating the source document.").optional()
|
|
694
696
|
}).describe("The input payload for this action.");
|
|
695
|
-
var copyDocumentOutput =
|
|
696
|
-
id:
|
|
697
|
-
name:
|
|
698
|
-
mimeType:
|
|
699
|
-
webViewLink:
|
|
700
|
-
createdTime:
|
|
701
|
-
modifiedTime:
|
|
702
|
-
driveId:
|
|
703
|
-
parents:
|
|
704
|
-
owners:
|
|
705
|
-
displayName:
|
|
706
|
-
emailAddress:
|
|
707
|
-
permissionId:
|
|
708
|
-
photoLink:
|
|
697
|
+
var copyDocumentOutput = z.looseObject({
|
|
698
|
+
id: z.string().describe("The ID of the file in Google Drive."),
|
|
699
|
+
name: z.string().describe("The name of the file."),
|
|
700
|
+
mimeType: z.string().describe("The MIME type of the file."),
|
|
701
|
+
webViewLink: z.string().describe("A string value that may be null.").nullable().optional(),
|
|
702
|
+
createdTime: z.string().describe("A string value that may be null.").nullable().optional(),
|
|
703
|
+
modifiedTime: z.string().describe("A string value that may be null.").nullable().optional(),
|
|
704
|
+
driveId: z.string().describe("A string value that may be null.").nullable().optional(),
|
|
705
|
+
parents: z.array(z.string()).describe("The IDs of the parent folders that contain the file.").optional(),
|
|
706
|
+
owners: z.array(z.looseObject({
|
|
707
|
+
displayName: z.string().describe("A string value that may be null.").nullable().optional(),
|
|
708
|
+
emailAddress: z.string().describe("A string value that may be null.").nullable().optional(),
|
|
709
|
+
permissionId: z.string().describe("A string value that may be null.").nullable().optional(),
|
|
710
|
+
photoLink: z.string().describe("A string value that may be null.").nullable().optional()
|
|
709
711
|
}).describe("Google Drive file owner.")).describe("The owners of the file.").optional(),
|
|
710
|
-
shared:
|
|
711
|
-
starred:
|
|
712
|
-
trashed:
|
|
712
|
+
shared: z.boolean().describe("Whether the file has been shared with others.").optional(),
|
|
713
|
+
starred: z.boolean().describe("Whether the user has starred the file.").optional(),
|
|
714
|
+
trashed: z.boolean().describe("Whether the file has been trashed.").optional()
|
|
713
715
|
}).describe("Google Drive file metadata.");
|
|
714
|
-
var createDocumentInput =
|
|
715
|
-
title:
|
|
716
|
-
text:
|
|
716
|
+
var createDocumentInput = z.strictObject({
|
|
717
|
+
title: z.string().describe("The title of the new document."),
|
|
718
|
+
text: z.string().describe("Initial text to insert at the beginning of the document.").optional()
|
|
717
719
|
}).describe("The input payload for this action.");
|
|
718
|
-
var createDocumentOutput =
|
|
719
|
-
documentId:
|
|
720
|
-
title:
|
|
721
|
-
revisionId:
|
|
722
|
-
insertedTextLength:
|
|
720
|
+
var createDocumentOutput = z.looseObject({
|
|
721
|
+
documentId: z.string().describe("The ID of the Google Docs document."),
|
|
722
|
+
title: z.string().describe("The title of the document."),
|
|
723
|
+
revisionId: z.string().describe("A string value that may be null.").nullable(),
|
|
724
|
+
insertedTextLength: z.int().describe("The number of characters inserted as initial text.")
|
|
723
725
|
}).describe("Google Docs action output.");
|
|
724
|
-
var createDocument2Input =
|
|
725
|
-
title:
|
|
726
|
+
var createDocument2Input = z.strictObject({
|
|
727
|
+
title: z.string().describe("The title of the new document.")
|
|
726
728
|
}).describe("The input payload for this action.");
|
|
727
|
-
var createDocument2Output =
|
|
728
|
-
documentId:
|
|
729
|
-
title:
|
|
730
|
-
revisionId:
|
|
729
|
+
var createDocument2Output = z.looseObject({
|
|
730
|
+
documentId: z.string().describe("The ID of the Google Docs document."),
|
|
731
|
+
title: z.string().describe("The title of the document."),
|
|
732
|
+
revisionId: z.string().describe("A string value that may be null.").nullable().optional()
|
|
731
733
|
}).describe("Google Docs document summary.");
|
|
732
|
-
var createFooterInput =
|
|
733
|
-
document_id:
|
|
734
|
-
type:
|
|
735
|
-
section_break_location:
|
|
734
|
+
var createFooterInput = z.strictObject({
|
|
735
|
+
document_id: z.string().describe("The ID of the Google Docs document."),
|
|
736
|
+
type: z.string().describe("The type of footer to create."),
|
|
737
|
+
section_break_location: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
736
738
|
}).describe("The input payload for this action.");
|
|
737
|
-
var createFooterOutput =
|
|
738
|
-
documentId:
|
|
739
|
-
replies:
|
|
740
|
-
writeControl:
|
|
739
|
+
var createFooterOutput = z.looseObject({
|
|
740
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
741
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
742
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
741
743
|
}).describe("Google Docs batch update result.");
|
|
742
|
-
var createFootnoteInput =
|
|
743
|
-
documentId:
|
|
744
|
-
location:
|
|
745
|
-
endOfSegmentLocation:
|
|
744
|
+
var createFootnoteInput = z.strictObject({
|
|
745
|
+
documentId: z.string().describe("The ID of the Google Docs document."),
|
|
746
|
+
location: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
|
|
747
|
+
endOfSegmentLocation: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
746
748
|
}).describe("The input payload for this action.");
|
|
747
|
-
var createFootnoteOutput =
|
|
748
|
-
documentId:
|
|
749
|
-
replies:
|
|
750
|
-
writeControl:
|
|
749
|
+
var createFootnoteOutput = z.looseObject({
|
|
750
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
751
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
752
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
751
753
|
}).describe("Google Docs batch update result.");
|
|
752
|
-
var createHeaderInput =
|
|
753
|
-
documentId:
|
|
754
|
-
type:
|
|
755
|
-
text:
|
|
756
|
-
sectionBreakLocation:
|
|
754
|
+
var createHeaderInput = z.strictObject({
|
|
755
|
+
documentId: z.string().describe("The ID of the Google Docs document."),
|
|
756
|
+
type: z.string().describe("The type of header to create.").optional(),
|
|
757
|
+
text: z.string().describe("Initial text to insert into the header.").optional(),
|
|
758
|
+
sectionBreakLocation: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
757
759
|
}).describe("The input payload for this action.");
|
|
758
|
-
var createHeaderOutput =
|
|
759
|
-
documentId:
|
|
760
|
-
replies:
|
|
761
|
-
writeControl:
|
|
760
|
+
var createHeaderOutput = z.looseObject({
|
|
761
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
762
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
763
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
762
764
|
}).describe("Google Docs batch update result.");
|
|
763
|
-
var createNamedRangeInput =
|
|
764
|
-
documentId:
|
|
765
|
-
name:
|
|
766
|
-
rangeStartIndex:
|
|
767
|
-
rangeEndIndex:
|
|
768
|
-
rangeSegmentId:
|
|
765
|
+
var createNamedRangeInput = z.strictObject({
|
|
766
|
+
documentId: z.string().describe("The ID of the Google Docs document."),
|
|
767
|
+
name: z.string().min(1).max(256).describe("The name of the named range."),
|
|
768
|
+
rangeStartIndex: z.int().describe("The zero-based start index of the range."),
|
|
769
|
+
rangeEndIndex: z.int().describe("The zero-based end index of the range."),
|
|
770
|
+
rangeSegmentId: z.string().describe("The ID of the segment the range belongs to.").optional()
|
|
769
771
|
}).describe("The input payload for this action.");
|
|
770
|
-
var createNamedRangeOutput =
|
|
771
|
-
documentId:
|
|
772
|
-
replies:
|
|
773
|
-
writeControl:
|
|
772
|
+
var createNamedRangeOutput = z.looseObject({
|
|
773
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
774
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
775
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
774
776
|
}).describe("Google Docs batch update result.");
|
|
775
|
-
var createParagraphBulletsInput =
|
|
776
|
-
document_id:
|
|
777
|
-
createParagraphBullets:
|
|
777
|
+
var createParagraphBulletsInput = z.strictObject({
|
|
778
|
+
document_id: z.string().describe("The ID of the Google Docs document."),
|
|
779
|
+
createParagraphBullets: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")
|
|
778
780
|
}).describe("The input payload for this action.");
|
|
779
|
-
var createParagraphBulletsOutput =
|
|
780
|
-
documentId:
|
|
781
|
-
replies:
|
|
782
|
-
writeControl:
|
|
781
|
+
var createParagraphBulletsOutput = z.looseObject({
|
|
782
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
783
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
784
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
783
785
|
}).describe("Google Docs batch update result.");
|
|
784
|
-
var deleteContentRangeInput =
|
|
785
|
-
document_id:
|
|
786
|
-
range:
|
|
786
|
+
var deleteContentRangeInput = z.strictObject({
|
|
787
|
+
document_id: z.string().describe("The ID of the Google Docs document."),
|
|
788
|
+
range: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")
|
|
787
789
|
}).describe("The input payload for this action.");
|
|
788
|
-
var deleteContentRangeOutput =
|
|
789
|
-
documentId:
|
|
790
|
-
replies:
|
|
791
|
-
writeControl:
|
|
790
|
+
var deleteContentRangeOutput = z.looseObject({
|
|
791
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
792
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
793
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
792
794
|
}).describe("Google Docs batch update result.");
|
|
793
|
-
var deleteFooterInput =
|
|
794
|
-
document_id:
|
|
795
|
-
footer_id:
|
|
796
|
-
tab_id:
|
|
795
|
+
var deleteFooterInput = z.strictObject({
|
|
796
|
+
document_id: z.string().describe("The ID of the Google Docs document."),
|
|
797
|
+
footer_id: z.string().describe("The ID of the footer to delete."),
|
|
798
|
+
tab_id: z.string().describe("The ID of the tab containing the footer.").optional()
|
|
797
799
|
}).describe("The input payload for this action.");
|
|
798
|
-
var deleteFooterOutput =
|
|
799
|
-
documentId:
|
|
800
|
-
replies:
|
|
801
|
-
writeControl:
|
|
800
|
+
var deleteFooterOutput = z.looseObject({
|
|
801
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
802
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
803
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
802
804
|
}).describe("Google Docs batch update result.");
|
|
803
|
-
var deleteHeaderInput =
|
|
804
|
-
document_id:
|
|
805
|
-
header_id:
|
|
806
|
-
tab_id:
|
|
805
|
+
var deleteHeaderInput = z.strictObject({
|
|
806
|
+
document_id: z.string().describe("The ID of the Google Docs document."),
|
|
807
|
+
header_id: z.string().describe("The ID of the header to delete."),
|
|
808
|
+
tab_id: z.string().describe("The ID of the tab containing the header.").optional()
|
|
807
809
|
}).describe("The input payload for this action.");
|
|
808
|
-
var deleteHeaderOutput =
|
|
809
|
-
documentId:
|
|
810
|
-
replies:
|
|
811
|
-
writeControl:
|
|
810
|
+
var deleteHeaderOutput = z.looseObject({
|
|
811
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
812
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
813
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
812
814
|
}).describe("Google Docs batch update result.");
|
|
813
|
-
var deleteNamedRangeInput =
|
|
814
|
-
document_id:
|
|
815
|
-
deleteNamedRange:
|
|
815
|
+
var deleteNamedRangeInput = z.strictObject({
|
|
816
|
+
document_id: z.string().describe("The ID of the Google Docs document."),
|
|
817
|
+
deleteNamedRange: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")
|
|
816
818
|
}).describe("The input payload for this action.");
|
|
817
|
-
var deleteNamedRangeOutput =
|
|
818
|
-
documentId:
|
|
819
|
-
replies:
|
|
820
|
-
writeControl:
|
|
819
|
+
var deleteNamedRangeOutput = z.looseObject({
|
|
820
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
821
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
822
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
821
823
|
}).describe("Google Docs batch update result.");
|
|
822
|
-
var deleteParagraphBulletsInput =
|
|
823
|
-
document_id:
|
|
824
|
-
range:
|
|
825
|
-
tab_id:
|
|
824
|
+
var deleteParagraphBulletsInput = z.strictObject({
|
|
825
|
+
document_id: z.string().describe("The ID of the Google Docs document."),
|
|
826
|
+
range: z.looseObject({}).describe("A JSON-like object with arbitrary string keys."),
|
|
827
|
+
tab_id: z.string().describe("The ID of the tab containing the range.").optional()
|
|
826
828
|
}).describe("The input payload for this action.");
|
|
827
|
-
var deleteParagraphBulletsOutput =
|
|
828
|
-
documentId:
|
|
829
|
-
replies:
|
|
830
|
-
writeControl:
|
|
829
|
+
var deleteParagraphBulletsOutput = z.looseObject({
|
|
830
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
831
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
832
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
831
833
|
}).describe("Google Docs batch update result.");
|
|
832
|
-
var deleteTableColumnInput =
|
|
833
|
-
document_id:
|
|
834
|
-
requests:
|
|
834
|
+
var deleteTableColumnInput = z.strictObject({
|
|
835
|
+
document_id: z.string().describe("The ID of the Google Docs document."),
|
|
836
|
+
requests: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).min(1).describe("DeleteTableColumnRequest objects.")
|
|
835
837
|
}).describe("The input payload for this action.");
|
|
836
|
-
var deleteTableColumnOutput =
|
|
837
|
-
documentId:
|
|
838
|
-
replies:
|
|
839
|
-
writeControl:
|
|
838
|
+
var deleteTableColumnOutput = z.looseObject({
|
|
839
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
840
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
841
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
840
842
|
}).describe("Google Docs batch update result.");
|
|
841
|
-
var deleteTableRowInput =
|
|
842
|
-
documentId:
|
|
843
|
-
tableCellLocation:
|
|
843
|
+
var deleteTableRowInput = z.strictObject({
|
|
844
|
+
documentId: z.string().describe("The ID of the Google Docs document."),
|
|
845
|
+
tableCellLocation: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")
|
|
844
846
|
}).describe("The input payload for this action.");
|
|
845
|
-
var deleteTableRowOutput =
|
|
846
|
-
documentId:
|
|
847
|
-
replies:
|
|
848
|
-
writeControl:
|
|
847
|
+
var deleteTableRowOutput = z.looseObject({
|
|
848
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
849
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
850
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
849
851
|
}).describe("Google Docs batch update result.");
|
|
850
|
-
var exportDocumentAsPdfInput =
|
|
851
|
-
file_id:
|
|
852
|
-
filename:
|
|
852
|
+
var exportDocumentAsPdfInput = z.strictObject({
|
|
853
|
+
file_id: z.string().describe("The ID of the Google Docs file to export."),
|
|
854
|
+
filename: z.string().describe("The filename for the exported PDF.").optional()
|
|
853
855
|
}).describe("The input payload for this action.");
|
|
854
|
-
var exportDocumentAsPdfOutput =
|
|
855
|
-
fileId:
|
|
856
|
-
filename:
|
|
857
|
-
mimeType:
|
|
858
|
-
dataBase64:
|
|
859
|
-
sizeBytes:
|
|
856
|
+
var exportDocumentAsPdfOutput = z.looseObject({
|
|
857
|
+
fileId: z.string().describe("The ID of the exported file in Google Drive."),
|
|
858
|
+
filename: z.string().describe("The filename used for the exported PDF."),
|
|
859
|
+
mimeType: z.literal("application/pdf").describe("The MIME type of the exported file."),
|
|
860
|
+
dataBase64: z.string().describe("The Base64-encoded binary content of the exported PDF."),
|
|
861
|
+
sizeBytes: z.int().describe("The size of the exported PDF in bytes.")
|
|
860
862
|
}).describe("Google Docs action output.");
|
|
861
|
-
var getDocumentByIdInput =
|
|
862
|
-
id:
|
|
863
|
-
include_tabs_content:
|
|
863
|
+
var getDocumentByIdInput = z.strictObject({
|
|
864
|
+
id: z.string().describe("The ID of the Google Docs document to retrieve."),
|
|
865
|
+
include_tabs_content: z.boolean().describe("Whether to populate the tabs field in the response.").optional()
|
|
864
866
|
}).describe("The input payload for this action.");
|
|
865
|
-
var getDocumentByIdOutput =
|
|
866
|
-
documentId:
|
|
867
|
-
title:
|
|
868
|
-
revisionId:
|
|
869
|
-
body:
|
|
870
|
-
headers:
|
|
871
|
-
footers:
|
|
872
|
-
footnotes:
|
|
873
|
-
tabs:
|
|
874
|
-
documentStyle:
|
|
875
|
-
namedRanges:
|
|
876
|
-
inlineObjects:
|
|
877
|
-
lists:
|
|
867
|
+
var getDocumentByIdOutput = z.looseObject({
|
|
868
|
+
documentId: z.string().describe("The ID of the Google Docs document."),
|
|
869
|
+
title: z.string().describe("The title of the document."),
|
|
870
|
+
revisionId: z.string().describe("A string value that may be null.").nullable().optional(),
|
|
871
|
+
body: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
|
|
872
|
+
headers: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
|
|
873
|
+
footers: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
|
|
874
|
+
footnotes: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
|
|
875
|
+
tabs: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects.").optional(),
|
|
876
|
+
documentStyle: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
|
|
877
|
+
namedRanges: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
|
|
878
|
+
inlineObjects: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
|
|
879
|
+
lists: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
878
880
|
}).describe("Google Docs document detail.");
|
|
879
|
-
var getDocumentPlaintextInput =
|
|
880
|
-
document_id:
|
|
881
|
-
include_tables:
|
|
882
|
-
include_footers:
|
|
883
|
-
include_headers:
|
|
884
|
-
include_footnotes:
|
|
885
|
-
include_tabs_content:
|
|
886
|
-
table_row_delimiter:
|
|
887
|
-
table_cell_delimiter:
|
|
881
|
+
var getDocumentPlaintextInput = z.strictObject({
|
|
882
|
+
document_id: z.string().describe("The ID of the Google Docs document."),
|
|
883
|
+
include_tables: z.boolean().describe("Whether to include table content.").optional(),
|
|
884
|
+
include_footers: z.boolean().describe("Whether to include footer content.").optional(),
|
|
885
|
+
include_headers: z.boolean().describe("Whether to include header content.").optional(),
|
|
886
|
+
include_footnotes: z.boolean().describe("Whether to include footnote content.").optional(),
|
|
887
|
+
include_tabs_content: z.boolean().describe("Whether to include content from all tabs.").optional(),
|
|
888
|
+
table_row_delimiter: z.string().describe("The delimiter to insert between table rows.").optional(),
|
|
889
|
+
table_cell_delimiter: z.string().describe("The delimiter to insert between table cells.").optional()
|
|
888
890
|
}).describe("The input payload for this action.");
|
|
889
|
-
var getDocumentPlaintextOutput =
|
|
890
|
-
documentId:
|
|
891
|
-
title:
|
|
892
|
-
text:
|
|
891
|
+
var getDocumentPlaintextOutput = z.looseObject({
|
|
892
|
+
documentId: z.string().describe("The ID of the Google Docs document."),
|
|
893
|
+
title: z.string().describe("A string value that may be null.").nullable(),
|
|
894
|
+
text: z.string().describe("The plain-text rendering of the document content.")
|
|
893
895
|
}).describe("Google Docs action output.");
|
|
894
|
-
var insertInlineImageInput =
|
|
895
|
-
documentId:
|
|
896
|
-
uri:
|
|
897
|
-
location:
|
|
898
|
-
objectSize:
|
|
896
|
+
var insertInlineImageInput = z.strictObject({
|
|
897
|
+
documentId: z.string().describe("The ID of the Google Docs document."),
|
|
898
|
+
uri: z.url().describe("The publicly accessible URI of the image to insert."),
|
|
899
|
+
location: z.looseObject({}).describe("A JSON-like object with arbitrary string keys."),
|
|
900
|
+
objectSize: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
899
901
|
}).describe("The input payload for this action.");
|
|
900
|
-
var insertInlineImageOutput =
|
|
901
|
-
documentId:
|
|
902
|
-
replies:
|
|
903
|
-
writeControl:
|
|
902
|
+
var insertInlineImageOutput = z.looseObject({
|
|
903
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
904
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
905
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
904
906
|
}).describe("Google Docs batch update result.");
|
|
905
|
-
var insertPageBreakInput =
|
|
906
|
-
documentId:
|
|
907
|
-
insertPageBreak:
|
|
907
|
+
var insertPageBreakInput = z.strictObject({
|
|
908
|
+
documentId: z.string().describe("The ID of the Google Docs document."),
|
|
909
|
+
insertPageBreak: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")
|
|
908
910
|
}).describe("The input payload for this action.");
|
|
909
|
-
var insertPageBreakOutput =
|
|
910
|
-
documentId:
|
|
911
|
-
replies:
|
|
912
|
-
writeControl:
|
|
911
|
+
var insertPageBreakOutput = z.looseObject({
|
|
912
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
913
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
914
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
913
915
|
}).describe("Google Docs batch update result.");
|
|
914
|
-
var insertTableActionInput =
|
|
915
|
-
documentId:
|
|
916
|
-
rows:
|
|
917
|
-
columns:
|
|
918
|
-
index:
|
|
919
|
-
segmentId:
|
|
920
|
-
tabId:
|
|
921
|
-
insertAtEndOfSegment:
|
|
916
|
+
var insertTableActionInput = z.strictObject({
|
|
917
|
+
documentId: z.string().describe("The ID of the Google Docs document."),
|
|
918
|
+
rows: z.int().gt(0).describe("The number of rows in the table to insert."),
|
|
919
|
+
columns: z.int().gt(0).describe("The number of columns in the table to insert."),
|
|
920
|
+
index: z.int().describe("The zero-based index at which to insert the table.").optional(),
|
|
921
|
+
segmentId: z.string().describe("The segment ID.").optional(),
|
|
922
|
+
tabId: z.string().describe("The tab ID.").optional(),
|
|
923
|
+
insertAtEndOfSegment: z.boolean().describe("Whether to insert at the end of the segment.").optional()
|
|
922
924
|
}).describe("The input payload for this action.");
|
|
923
|
-
var insertTableActionOutput =
|
|
924
|
-
documentId:
|
|
925
|
-
replies:
|
|
926
|
-
writeControl:
|
|
925
|
+
var insertTableActionOutput = z.looseObject({
|
|
926
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
927
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
928
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
927
929
|
}).describe("Google Docs batch update result.");
|
|
928
|
-
var insertTableColumnInput =
|
|
929
|
-
document_id:
|
|
930
|
-
requests:
|
|
930
|
+
var insertTableColumnInput = z.strictObject({
|
|
931
|
+
document_id: z.string().describe("The ID of the Google Docs document."),
|
|
932
|
+
requests: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).min(1).describe("InsertTableColumnRequest objects.")
|
|
931
933
|
}).describe("The input payload for this action.");
|
|
932
|
-
var insertTableColumnOutput =
|
|
933
|
-
documentId:
|
|
934
|
-
replies:
|
|
935
|
-
writeControl:
|
|
934
|
+
var insertTableColumnOutput = z.looseObject({
|
|
935
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
936
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
937
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
936
938
|
}).describe("Google Docs batch update result.");
|
|
937
|
-
var insertTextActionInput =
|
|
938
|
-
document_id:
|
|
939
|
-
text_to_insert:
|
|
940
|
-
append_to_end:
|
|
941
|
-
insertion_index:
|
|
942
|
-
segment_id:
|
|
939
|
+
var insertTextActionInput = z.strictObject({
|
|
940
|
+
document_id: z.string().describe("The ID of the Google Docs document."),
|
|
941
|
+
text_to_insert: z.string().describe("The text to insert.").optional(),
|
|
942
|
+
append_to_end: z.boolean().describe("Whether to append the text to the end.").optional(),
|
|
943
|
+
insertion_index: z.int().describe("The zero-based index at which to insert the text.").optional(),
|
|
944
|
+
segment_id: z.string().describe("The segment ID.").optional()
|
|
943
945
|
}).describe("The input payload for this action.");
|
|
944
|
-
var insertTextActionOutput =
|
|
945
|
-
documentId:
|
|
946
|
-
replies:
|
|
947
|
-
writeControl:
|
|
946
|
+
var insertTextActionOutput = z.looseObject({
|
|
947
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
948
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
949
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
948
950
|
}).describe("Google Docs batch update result.");
|
|
949
|
-
var listSpreadsheetChartsInput =
|
|
950
|
-
spreadsheet_id:
|
|
951
|
+
var listSpreadsheetChartsInput = z.strictObject({
|
|
952
|
+
spreadsheet_id: z.string().describe("The ID of the Google Sheets spreadsheet.")
|
|
951
953
|
}).describe("The input payload for this action.");
|
|
952
|
-
var listSpreadsheetChartsOutput =
|
|
953
|
-
spreadsheetId:
|
|
954
|
-
title:
|
|
955
|
-
sheets:
|
|
954
|
+
var listSpreadsheetChartsOutput = z.looseObject({
|
|
955
|
+
spreadsheetId: z.string().describe("The ID of the Google Sheets spreadsheet."),
|
|
956
|
+
title: z.string().describe("A string value that may be null.").nullable(),
|
|
957
|
+
sheets: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The sheets in the spreadsheet, each with their chart metadata.")
|
|
956
958
|
}).describe("Google Docs action output.");
|
|
957
|
-
var replaceAllTextInput =
|
|
958
|
-
document_id:
|
|
959
|
-
find_text:
|
|
960
|
-
replace_text:
|
|
961
|
-
match_case:
|
|
962
|
-
search_by_regex:
|
|
963
|
-
tab_ids:
|
|
959
|
+
var replaceAllTextInput = z.strictObject({
|
|
960
|
+
document_id: z.string().describe("The ID of the Google Docs document."),
|
|
961
|
+
find_text: z.string().describe("The text or pattern to search for."),
|
|
962
|
+
replace_text: z.string().describe("The replacement text."),
|
|
963
|
+
match_case: z.boolean().describe("Whether the search should be case-sensitive.").optional(),
|
|
964
|
+
search_by_regex: z.boolean().describe("Whether to treat find_text as a regular expression.").optional(),
|
|
965
|
+
tab_ids: z.array(z.string()).describe("The IDs of specific tabs to search.").optional()
|
|
964
966
|
}).describe("The input payload for this action.");
|
|
965
|
-
var replaceAllTextOutput =
|
|
966
|
-
documentId:
|
|
967
|
-
replies:
|
|
968
|
-
writeControl:
|
|
967
|
+
var replaceAllTextOutput = z.looseObject({
|
|
968
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
969
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
970
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
969
971
|
}).describe("Google Docs batch update result.");
|
|
970
|
-
var replaceImageInput =
|
|
971
|
-
document_id:
|
|
972
|
-
replace_image:
|
|
972
|
+
var replaceImageInput = z.strictObject({
|
|
973
|
+
document_id: z.string().describe("The ID of the Google Docs document."),
|
|
974
|
+
replace_image: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")
|
|
973
975
|
}).describe("The input payload for this action.");
|
|
974
|
-
var replaceImageOutput =
|
|
975
|
-
documentId:
|
|
976
|
-
replies:
|
|
977
|
-
writeControl:
|
|
976
|
+
var replaceImageOutput = z.looseObject({
|
|
977
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
978
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
979
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
978
980
|
}).describe("Google Docs batch update result.");
|
|
979
|
-
var searchDocumentsInput =
|
|
980
|
-
query:
|
|
981
|
-
order_by:
|
|
982
|
-
page_token:
|
|
983
|
-
max_results:
|
|
984
|
-
starred_only:
|
|
985
|
-
created_after:
|
|
986
|
-
modified_after:
|
|
987
|
-
shared_with_me:
|
|
988
|
-
include_trashed:
|
|
989
|
-
include_shared_drives:
|
|
981
|
+
var searchDocumentsInput = z.strictObject({
|
|
982
|
+
query: z.string().describe("A Google Drive query string or full-text search string.").optional(),
|
|
983
|
+
order_by: z.string().describe("A comma-separated list of fields to sort results by.").optional(),
|
|
984
|
+
page_token: z.string().describe("A page token from a previous search response.").optional(),
|
|
985
|
+
max_results: z.int().min(1).max(100).describe("The maximum number of files to return.").optional(),
|
|
986
|
+
starred_only: z.boolean().describe("Whether to return only starred files.").optional(),
|
|
987
|
+
created_after: z.iso.datetime({ offset: true }).describe("Only files created after this time are returned.").optional(),
|
|
988
|
+
modified_after: z.iso.datetime({ offset: true }).describe("Only files modified after this time are returned.").optional(),
|
|
989
|
+
shared_with_me: z.boolean().describe("Whether to return only files shared directly with the user.").optional(),
|
|
990
|
+
include_trashed: z.boolean().describe("Whether to include trashed files.").optional(),
|
|
991
|
+
include_shared_drives: z.boolean().describe("Whether to include files from shared drives.").optional()
|
|
990
992
|
}).describe("The input payload for this action.");
|
|
991
|
-
var searchDocumentsOutput =
|
|
992
|
-
documents:
|
|
993
|
-
id:
|
|
994
|
-
name:
|
|
995
|
-
mimeType:
|
|
996
|
-
webViewLink:
|
|
997
|
-
createdTime:
|
|
998
|
-
modifiedTime:
|
|
999
|
-
driveId:
|
|
1000
|
-
parents:
|
|
1001
|
-
owners:
|
|
1002
|
-
displayName:
|
|
1003
|
-
emailAddress:
|
|
1004
|
-
permissionId:
|
|
1005
|
-
photoLink:
|
|
993
|
+
var searchDocumentsOutput = z.looseObject({
|
|
994
|
+
documents: z.array(z.looseObject({
|
|
995
|
+
id: z.string().describe("The ID of the file in Google Drive."),
|
|
996
|
+
name: z.string().describe("The name of the file."),
|
|
997
|
+
mimeType: z.string().describe("The MIME type of the file."),
|
|
998
|
+
webViewLink: z.string().describe("A string value that may be null.").nullable().optional(),
|
|
999
|
+
createdTime: z.string().describe("A string value that may be null.").nullable().optional(),
|
|
1000
|
+
modifiedTime: z.string().describe("A string value that may be null.").nullable().optional(),
|
|
1001
|
+
driveId: z.string().describe("A string value that may be null.").nullable().optional(),
|
|
1002
|
+
parents: z.array(z.string()).describe("The IDs of the parent folders that contain the file.").optional(),
|
|
1003
|
+
owners: z.array(z.looseObject({
|
|
1004
|
+
displayName: z.string().describe("A string value that may be null.").nullable().optional(),
|
|
1005
|
+
emailAddress: z.string().describe("A string value that may be null.").nullable().optional(),
|
|
1006
|
+
permissionId: z.string().describe("A string value that may be null.").nullable().optional(),
|
|
1007
|
+
photoLink: z.string().describe("A string value that may be null.").nullable().optional()
|
|
1006
1008
|
}).describe("Google Drive file owner.")).describe("The owners of the file.").optional(),
|
|
1007
|
-
shared:
|
|
1008
|
-
starred:
|
|
1009
|
-
trashed:
|
|
1009
|
+
shared: z.boolean().describe("Whether the file has been shared with others.").optional(),
|
|
1010
|
+
starred: z.boolean().describe("Whether the user has starred the file.").optional(),
|
|
1011
|
+
trashed: z.boolean().describe("Whether the file has been trashed.").optional()
|
|
1010
1012
|
}).describe("Google Drive file metadata.")).describe("The list of matching Google Docs files."),
|
|
1011
|
-
nextPageToken:
|
|
1013
|
+
nextPageToken: z.string().describe("A string value that may be null.").nullable()
|
|
1012
1014
|
}).describe("Google Docs action output.");
|
|
1013
|
-
var unmergeTableCellsInput =
|
|
1014
|
-
documentId:
|
|
1015
|
-
tableRange:
|
|
1015
|
+
var unmergeTableCellsInput = z.strictObject({
|
|
1016
|
+
documentId: z.string().describe("The ID of the Google Docs document."),
|
|
1017
|
+
tableRange: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")
|
|
1016
1018
|
}).describe("The input payload for this action.");
|
|
1017
|
-
var unmergeTableCellsOutput =
|
|
1018
|
-
documentId:
|
|
1019
|
-
replies:
|
|
1020
|
-
writeControl:
|
|
1019
|
+
var unmergeTableCellsOutput = z.looseObject({
|
|
1020
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
1021
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
1022
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
1021
1023
|
}).describe("Google Docs batch update result.");
|
|
1022
|
-
var updateDocumentBatchInput =
|
|
1023
|
-
document_id:
|
|
1024
|
-
requests:
|
|
1025
|
-
write_control:
|
|
1024
|
+
var updateDocumentBatchInput = z.strictObject({
|
|
1025
|
+
document_id: z.string().describe("The ID of the Google Docs document."),
|
|
1026
|
+
requests: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).min(1).describe("Docs API Request objects."),
|
|
1027
|
+
write_control: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
1026
1028
|
}).describe("The input payload for this action.");
|
|
1027
|
-
var updateDocumentBatchOutput =
|
|
1028
|
-
documentId:
|
|
1029
|
-
replies:
|
|
1030
|
-
writeControl:
|
|
1029
|
+
var updateDocumentBatchOutput = z.looseObject({
|
|
1030
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
1031
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
1032
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
1031
1033
|
}).describe("Google Docs batch update result.");
|
|
1032
|
-
var updateDocumentStyleInput =
|
|
1033
|
-
document_id:
|
|
1034
|
-
document_style:
|
|
1035
|
-
fields:
|
|
1036
|
-
tab_id:
|
|
1034
|
+
var updateDocumentStyleInput = z.strictObject({
|
|
1035
|
+
document_id: z.string().describe("The ID of the Google Docs document."),
|
|
1036
|
+
document_style: z.looseObject({}).describe("A JSON-like object with arbitrary string keys."),
|
|
1037
|
+
fields: z.string().describe("A field mask specifying which style properties to update.").optional(),
|
|
1038
|
+
tab_id: z.string().describe("The ID of the tab whose document style should be updated.").optional()
|
|
1037
1039
|
}).describe("The input payload for this action.");
|
|
1038
|
-
var updateDocumentStyleOutput =
|
|
1039
|
-
documentId:
|
|
1040
|
-
replies:
|
|
1041
|
-
writeControl:
|
|
1040
|
+
var updateDocumentStyleOutput = z.looseObject({
|
|
1041
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
1042
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
1043
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
1042
1044
|
}).describe("Google Docs batch update result.");
|
|
1043
|
-
var updateExistingDocumentInput =
|
|
1044
|
-
document_id:
|
|
1045
|
-
editDocs:
|
|
1045
|
+
var updateExistingDocumentInput = z.strictObject({
|
|
1046
|
+
document_id: z.string().describe("The ID of the Google Docs document."),
|
|
1047
|
+
editDocs: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).min(1).describe("Docs API Request objects describing the edits.")
|
|
1046
1048
|
}).describe("The input payload for this action.");
|
|
1047
|
-
var updateExistingDocumentOutput =
|
|
1048
|
-
documentId:
|
|
1049
|
-
replies:
|
|
1050
|
-
writeControl:
|
|
1049
|
+
var updateExistingDocumentOutput = z.looseObject({
|
|
1050
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
1051
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
1052
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
1051
1053
|
}).describe("Google Docs batch update result.");
|
|
1052
|
-
var updateTableRowStyleInput =
|
|
1053
|
-
documentId:
|
|
1054
|
-
updateTableRowStyle:
|
|
1054
|
+
var updateTableRowStyleInput = z.strictObject({
|
|
1055
|
+
documentId: z.string().describe("The ID of the Google Docs document."),
|
|
1056
|
+
updateTableRowStyle: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")
|
|
1055
1057
|
}).describe("The input payload for this action.");
|
|
1056
|
-
var updateTableRowStyleOutput =
|
|
1057
|
-
documentId:
|
|
1058
|
-
replies:
|
|
1059
|
-
writeControl:
|
|
1058
|
+
var updateTableRowStyleOutput = z.looseObject({
|
|
1059
|
+
documentId: z.string().describe("The ID of the document that was updated."),
|
|
1060
|
+
replies: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
|
|
1061
|
+
writeControl: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
|
|
1060
1062
|
}).describe("Google Docs batch update result.");
|
|
1061
1063
|
var googledocsActions = {
|
|
1062
1064
|
copy_document: {
|
|
1063
1065
|
description: "Copy an existing Google Docs document through Google Drive.",
|
|
1064
1066
|
effect: "write",
|
|
1065
1067
|
inputSchema: copyDocumentInput,
|
|
1066
|
-
outputSchema:
|
|
1068
|
+
outputSchema: z.toJSONSchema(copyDocumentOutput, { io: "output", unrepresentable: "any" })
|
|
1067
1069
|
},
|
|
1068
1070
|
create_document: {
|
|
1069
1071
|
description: "Create a Google Docs document and optionally insert initial text at the beginning.",
|
|
1070
1072
|
effect: "write",
|
|
1071
1073
|
inputSchema: createDocumentInput,
|
|
1072
|
-
outputSchema:
|
|
1074
|
+
outputSchema: z.toJSONSchema(createDocumentOutput, { io: "output", unrepresentable: "any" })
|
|
1073
1075
|
},
|
|
1074
1076
|
create_document2: {
|
|
1075
1077
|
description: "Create a blank Google Docs document.",
|
|
1076
1078
|
effect: "write",
|
|
1077
1079
|
inputSchema: createDocument2Input,
|
|
1078
|
-
outputSchema:
|
|
1080
|
+
outputSchema: z.toJSONSchema(createDocument2Output, { io: "output", unrepresentable: "any" })
|
|
1079
1081
|
},
|
|
1080
1082
|
create_footer: {
|
|
1081
1083
|
description: "Create a footer in a Google Docs document.",
|
|
1082
1084
|
effect: "write",
|
|
1083
1085
|
inputSchema: createFooterInput,
|
|
1084
|
-
outputSchema:
|
|
1086
|
+
outputSchema: z.toJSONSchema(createFooterOutput, { io: "output", unrepresentable: "any" })
|
|
1085
1087
|
},
|
|
1086
1088
|
create_footnote: {
|
|
1087
1089
|
description: "Create a footnote in a Google Docs document.",
|
|
1088
1090
|
effect: "write",
|
|
1089
1091
|
inputSchema: createFootnoteInput,
|
|
1090
|
-
outputSchema:
|
|
1092
|
+
outputSchema: z.toJSONSchema(createFootnoteOutput, { io: "output", unrepresentable: "any" })
|
|
1091
1093
|
},
|
|
1092
1094
|
create_header: {
|
|
1093
1095
|
description: "Create a header in a Google Docs document and optionally insert initial text.",
|
|
1094
1096
|
effect: "write",
|
|
1095
1097
|
inputSchema: createHeaderInput,
|
|
1096
|
-
outputSchema:
|
|
1098
|
+
outputSchema: z.toJSONSchema(createHeaderOutput, { io: "output", unrepresentable: "any" })
|
|
1097
1099
|
},
|
|
1098
1100
|
create_named_range: {
|
|
1099
1101
|
description: "Create a named range over a specific span in a Google Docs document.",
|
|
1100
1102
|
effect: "write",
|
|
1101
1103
|
inputSchema: createNamedRangeInput,
|
|
1102
|
-
outputSchema:
|
|
1104
|
+
outputSchema: z.toJSONSchema(createNamedRangeOutput, { io: "output", unrepresentable: "any" })
|
|
1103
1105
|
},
|
|
1104
1106
|
create_paragraph_bullets: {
|
|
1105
1107
|
description: "Add bullets to paragraphs within a specified range in a Google Docs document.",
|
|
1106
1108
|
effect: "write",
|
|
1107
1109
|
inputSchema: createParagraphBulletsInput,
|
|
1108
|
-
outputSchema:
|
|
1110
|
+
outputSchema: z.toJSONSchema(createParagraphBulletsOutput, { io: "output", unrepresentable: "any" })
|
|
1109
1111
|
},
|
|
1110
1112
|
delete_content_range: {
|
|
1111
1113
|
description: "Delete a content range from a Google Docs document.",
|
|
1112
1114
|
effect: "destructive",
|
|
1113
1115
|
inputSchema: deleteContentRangeInput,
|
|
1114
|
-
outputSchema:
|
|
1116
|
+
outputSchema: z.toJSONSchema(deleteContentRangeOutput, { io: "output", unrepresentable: "any" })
|
|
1115
1117
|
},
|
|
1116
1118
|
delete_footer: {
|
|
1117
1119
|
description: "Delete a footer from a Google Docs document.",
|
|
1118
1120
|
effect: "destructive",
|
|
1119
1121
|
inputSchema: deleteFooterInput,
|
|
1120
|
-
outputSchema:
|
|
1122
|
+
outputSchema: z.toJSONSchema(deleteFooterOutput, { io: "output", unrepresentable: "any" })
|
|
1121
1123
|
},
|
|
1122
1124
|
delete_header: {
|
|
1123
1125
|
description: "Delete a header from a Google Docs document.",
|
|
1124
1126
|
effect: "destructive",
|
|
1125
1127
|
inputSchema: deleteHeaderInput,
|
|
1126
|
-
outputSchema:
|
|
1128
|
+
outputSchema: z.toJSONSchema(deleteHeaderOutput, { io: "output", unrepresentable: "any" })
|
|
1127
1129
|
},
|
|
1128
1130
|
delete_named_range: {
|
|
1129
1131
|
description: "Delete a named range from a Google Docs document.",
|
|
1130
1132
|
effect: "destructive",
|
|
1131
1133
|
inputSchema: deleteNamedRangeInput,
|
|
1132
|
-
outputSchema:
|
|
1134
|
+
outputSchema: z.toJSONSchema(deleteNamedRangeOutput, { io: "output", unrepresentable: "any" })
|
|
1133
1135
|
},
|
|
1134
1136
|
delete_paragraph_bullets: {
|
|
1135
1137
|
description: "Remove bullets from paragraphs within a specified range in a Google Docs document.",
|
|
1136
1138
|
effect: "destructive",
|
|
1137
1139
|
inputSchema: deleteParagraphBulletsInput,
|
|
1138
|
-
outputSchema:
|
|
1140
|
+
outputSchema: z.toJSONSchema(deleteParagraphBulletsOutput, { io: "output", unrepresentable: "any" })
|
|
1139
1141
|
},
|
|
1140
1142
|
delete_table_column: {
|
|
1141
1143
|
description: "Delete one or more table columns from a Google Docs document.",
|
|
1142
1144
|
effect: "destructive",
|
|
1143
1145
|
inputSchema: deleteTableColumnInput,
|
|
1144
|
-
outputSchema:
|
|
1146
|
+
outputSchema: z.toJSONSchema(deleteTableColumnOutput, { io: "output", unrepresentable: "any" })
|
|
1145
1147
|
},
|
|
1146
1148
|
delete_table_row: {
|
|
1147
1149
|
description: "Delete a table row from a Google Docs document.",
|
|
1148
1150
|
effect: "destructive",
|
|
1149
1151
|
inputSchema: deleteTableRowInput,
|
|
1150
|
-
outputSchema:
|
|
1152
|
+
outputSchema: z.toJSONSchema(deleteTableRowOutput, { io: "output", unrepresentable: "any" })
|
|
1151
1153
|
},
|
|
1152
1154
|
export_document_as_pdf: {
|
|
1153
1155
|
description: "Export a Google Docs file as a PDF through Google Drive.",
|
|
1154
1156
|
effect: "read",
|
|
1155
1157
|
inputSchema: exportDocumentAsPdfInput,
|
|
1156
|
-
outputSchema:
|
|
1158
|
+
outputSchema: z.toJSONSchema(exportDocumentAsPdfOutput, { io: "output", unrepresentable: "any" })
|
|
1157
1159
|
},
|
|
1158
1160
|
get_document_by_id: {
|
|
1159
1161
|
description: "Retrieve a Google Docs document by ID.",
|
|
1160
1162
|
effect: "read",
|
|
1161
1163
|
inputSchema: getDocumentByIdInput,
|
|
1162
|
-
outputSchema:
|
|
1164
|
+
outputSchema: z.toJSONSchema(getDocumentByIdOutput, { io: "output", unrepresentable: "any" })
|
|
1163
1165
|
},
|
|
1164
1166
|
get_document_plaintext: {
|
|
1165
1167
|
description: "Retrieve a Google Docs document and render it as best-effort plain text.",
|
|
1166
1168
|
effect: "read",
|
|
1167
1169
|
inputSchema: getDocumentPlaintextInput,
|
|
1168
|
-
outputSchema:
|
|
1170
|
+
outputSchema: z.toJSONSchema(getDocumentPlaintextOutput, { io: "output", unrepresentable: "any" })
|
|
1169
1171
|
},
|
|
1170
1172
|
insert_inline_image: {
|
|
1171
1173
|
description: "Insert an inline image from a URI at a specified location.",
|
|
1172
1174
|
effect: "write",
|
|
1173
1175
|
inputSchema: insertInlineImageInput,
|
|
1174
|
-
outputSchema:
|
|
1176
|
+
outputSchema: z.toJSONSchema(insertInlineImageOutput, { io: "output", unrepresentable: "any" })
|
|
1175
1177
|
},
|
|
1176
1178
|
insert_page_break: {
|
|
1177
1179
|
description: "Insert a page break at a specified location.",
|
|
1178
1180
|
effect: "write",
|
|
1179
1181
|
inputSchema: insertPageBreakInput,
|
|
1180
|
-
outputSchema:
|
|
1182
|
+
outputSchema: z.toJSONSchema(insertPageBreakOutput, { io: "output", unrepresentable: "any" })
|
|
1181
1183
|
},
|
|
1182
1184
|
insert_table_action: {
|
|
1183
1185
|
description: "Insert a table at a specific index or at the end of a segment.",
|
|
1184
1186
|
effect: "write",
|
|
1185
1187
|
inputSchema: insertTableActionInput,
|
|
1186
|
-
outputSchema:
|
|
1188
|
+
outputSchema: z.toJSONSchema(insertTableActionOutput, { io: "output", unrepresentable: "any" })
|
|
1187
1189
|
},
|
|
1188
1190
|
insert_table_column: {
|
|
1189
1191
|
description: "Insert one or more table columns at a specified location.",
|
|
1190
1192
|
effect: "write",
|
|
1191
1193
|
inputSchema: insertTableColumnInput,
|
|
1192
|
-
outputSchema:
|
|
1194
|
+
outputSchema: z.toJSONSchema(insertTableColumnOutput, { io: "output", unrepresentable: "any" })
|
|
1193
1195
|
},
|
|
1194
1196
|
insert_text_action: {
|
|
1195
1197
|
description: "Insert text at a specific index or append it to the end.",
|
|
1196
1198
|
effect: "write",
|
|
1197
1199
|
inputSchema: insertTextActionInput,
|
|
1198
|
-
outputSchema:
|
|
1200
|
+
outputSchema: z.toJSONSchema(insertTextActionOutput, { io: "output", unrepresentable: "any" })
|
|
1199
1201
|
},
|
|
1200
1202
|
list_spreadsheet_charts: {
|
|
1201
1203
|
description: "List chart metadata from a Google Sheets spreadsheet.",
|
|
1202
1204
|
effect: "read",
|
|
1203
1205
|
inputSchema: listSpreadsheetChartsInput,
|
|
1204
|
-
outputSchema:
|
|
1206
|
+
outputSchema: z.toJSONSchema(listSpreadsheetChartsOutput, { io: "output", unrepresentable: "any" })
|
|
1205
1207
|
},
|
|
1206
1208
|
replace_all_text: {
|
|
1207
1209
|
description: "Replace all matching text in a Google Docs document.",
|
|
1208
1210
|
effect: "write",
|
|
1209
1211
|
inputSchema: replaceAllTextInput,
|
|
1210
|
-
outputSchema:
|
|
1212
|
+
outputSchema: z.toJSONSchema(replaceAllTextOutput, { io: "output", unrepresentable: "any" })
|
|
1211
1213
|
},
|
|
1212
1214
|
replace_image: {
|
|
1213
1215
|
description: "Replace an existing image in a Google Docs document with a new image from a URI.",
|
|
1214
1216
|
effect: "write",
|
|
1215
1217
|
inputSchema: replaceImageInput,
|
|
1216
|
-
outputSchema:
|
|
1218
|
+
outputSchema: z.toJSONSchema(replaceImageOutput, { io: "output", unrepresentable: "any" })
|
|
1217
1219
|
},
|
|
1218
1220
|
search_documents: {
|
|
1219
1221
|
description: "Search Google Docs files with Google Drive filters.",
|
|
1220
1222
|
effect: "read",
|
|
1221
1223
|
inputSchema: searchDocumentsInput,
|
|
1222
|
-
outputSchema:
|
|
1224
|
+
outputSchema: z.toJSONSchema(searchDocumentsOutput, { io: "output", unrepresentable: "any" })
|
|
1223
1225
|
},
|
|
1224
1226
|
unmerge_table_cells: {
|
|
1225
1227
|
description: "Unmerge previously merged table cells in a Google Docs document.",
|
|
1226
1228
|
effect: "write",
|
|
1227
1229
|
inputSchema: unmergeTableCellsInput,
|
|
1228
|
-
outputSchema:
|
|
1230
|
+
outputSchema: z.toJSONSchema(unmergeTableCellsOutput, { io: "output", unrepresentable: "any" })
|
|
1229
1231
|
},
|
|
1230
1232
|
update_document_batch: {
|
|
1231
1233
|
description: "Apply raw Docs batchUpdate requests to a Google Docs document.",
|
|
1232
1234
|
effect: "write",
|
|
1233
1235
|
inputSchema: updateDocumentBatchInput,
|
|
1234
|
-
outputSchema:
|
|
1236
|
+
outputSchema: z.toJSONSchema(updateDocumentBatchOutput, { io: "output", unrepresentable: "any" })
|
|
1235
1237
|
},
|
|
1236
1238
|
update_document_style: {
|
|
1237
1239
|
description: "Update global document style settings.",
|
|
1238
1240
|
effect: "write",
|
|
1239
1241
|
inputSchema: updateDocumentStyleInput,
|
|
1240
|
-
outputSchema:
|
|
1242
|
+
outputSchema: z.toJSONSchema(updateDocumentStyleOutput, { io: "output", unrepresentable: "any" })
|
|
1241
1243
|
},
|
|
1242
1244
|
update_existing_document: {
|
|
1243
1245
|
description: "Apply one or more programmatic edits to an existing Google Docs document.",
|
|
1244
1246
|
effect: "write",
|
|
1245
1247
|
inputSchema: updateExistingDocumentInput,
|
|
1246
|
-
outputSchema:
|
|
1248
|
+
outputSchema: z.toJSONSchema(updateExistingDocumentOutput, { io: "output", unrepresentable: "any" })
|
|
1247
1249
|
},
|
|
1248
1250
|
update_table_row_style: {
|
|
1249
1251
|
description: "Update the style of a table row in a Google Docs document.",
|
|
1250
1252
|
effect: "write",
|
|
1251
1253
|
inputSchema: updateTableRowStyleInput,
|
|
1252
|
-
outputSchema:
|
|
1254
|
+
outputSchema: z.toJSONSchema(updateTableRowStyleOutput, { io: "output", unrepresentable: "any" })
|
|
1253
1255
|
}
|
|
1254
1256
|
};
|
|
1255
1257
|
|