@tool-bridge/server 0.21.1 → 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-W7O34SNG.js → alt_text_generator_ai-FGYQAF2A.js} +12 -11
- package/dist/{amap-VOX4T2AW.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-E6JCVKW6.js → chunk-BNMLA2RC.js} +3 -3
- package/dist/chunk-HA4BGL6C.js +8429 -0
- package/dist/{chunk-KMTT3I6D.js → chunk-RMAWSG7E.js} +19172 -25717
- package/dist/{chunk-XYBU3WZH.js → chunk-RTW5VRTK.js} +3 -3
- package/dist/chunk-U7PTOA3U.js +7320 -0
- package/dist/chunk-UY6ANCOY.js +378 -0
- package/dist/{chunk-ATK45BXV.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-B3EWPZVE.js → confluence-6Y6GDETF.js} +105 -104
- package/dist/{convertapi-EUWSQYPF.js → convertapi-HBZCSWOX.js} +32 -31
- package/dist/{currencyapi-KVTIK3GL.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-23E7JPNT.js → fal_ai-K4Q27IME.js} +81 -80
- package/dist/{feishu-7QRIDUV6.js → feishu-4TKXG4SU.js} +528 -572
- package/dist/{feishu_custom_bot-TJ4K7QNJ.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-BWON27UO.js → fixer-H2BV2NO4.js} +34 -33
- package/dist/fly-PXKY6PNH.js +469 -0
- package/dist/{front-QCGXYEDJ.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-BUHL4J2H.js → googledocs-SSWIVFKA.js} +341 -340
- package/dist/{grafana-GLU2DWF2.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 -14
- package/dist/{ip2proxy-EZ64Y4ZH.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-EFBHTBXL.js → jina_ai-6WBMBGWM.js} +23 -23
- package/dist/{jira-HQSHAA5K.js → jira-DVDVTHNO.js} +118 -117
- package/dist/langsmith-IM5N4YAU.js +593 -0
- package/dist/lemlist-277SHUQF.js +289 -0
- package/dist/{linear-K7RYFYAD.js → linear-AEPH7B5V.js} +327 -326
- package/dist/logsnag-VEWRAGBG.js +150 -0
- package/dist/main.js +57 -280
- package/dist/{mattermost-S2BRCWLQ.js → mattermost-Q3A2BIZA.js} +59 -58
- package/dist/mem0-AXS7GZGI.js +544 -0
- package/dist/memos-7TXG4ZTU.js +744 -0
- package/dist/{metabase-MMSEPCOF.js → metabase-NSVACWQM.js} +90 -89
- package/dist/mistral_ai-YZ52RGD4.js +1196 -0
- package/dist/{mother_duck-H7PCQNZ2.js → mother_duck-XLLL6FVL.js} +94 -93
- package/dist/ngrok-4O4W3WZW.js +356 -0
- package/dist/{notes-PFMKRO33.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-Y2O7QGFF.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-MENYM2TY.js → prerender-2W7UT4SC.js} +31 -30
- package/dist/{pubmed-GOXUVVH5.js → pubmed-VVV7XYLU.js} +239 -238
- package/dist/{railway-V2SID4WV.js → railway-KGI57S3O.js} +118 -117
- package/dist/readwise-AGHTQB42.js +470 -0
- package/dist/render-O4HBROCK.js +461 -0
- package/dist/{replicate-756MXPYX.js → replicate-KWBOMX7D.js} +81 -80
- package/dist/{resend-ZKH3BTBI.js → resend-DRH6Y6I4.js} +20 -16
- package/dist/rootly-XGCUDW6X.js +336 -0
- package/dist/{scrapfly-NSRHFDIQ.js → scrapfly-OIQ3OY6L.js} +62 -61
- package/dist/{scrapingbee-OQHLAVEY.js → scrapingbee-OCZO4FHX.js} +56 -56
- package/dist/{screenshot_fyi-DVWG3AXC.js → screenshot_fyi-CUNGFZOC.js} +16 -16
- package/dist/semantic_scholar-3UJRLKES.js +611 -0
- package/dist/{sentry-546MNDJG.js → sentry-5BWVZFJV.js} +208 -207
- package/dist/{shodan-C3OON3Z3.js → shodan-HI37CTEW.js} +62 -61
- package/dist/shopify-LJ2EV2HH.js +610 -0
- package/dist/stripe-3LHMV55K.js +585 -0
- package/dist/{supabase-U2SL4D63.js → supabase-H2KPX3Q2.js} +245 -244
- package/dist/tavily-FBEWGH3Z.js +326 -0
- package/dist/telegram-MYYO3JND.js +1767 -0
- package/dist/{telnyx-CXQ4EZUX.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-4PDBJKWX.js → twilio-K6SLK2CX.js} +70 -69
- package/dist/umami-42RS2EPS.js +389 -0
- package/dist/unsplash-V7TOTETT.js +351 -0
- package/dist/{upstash_redis-G4LQBYHA.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-3G4PUJWB.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-LLZDFN7M.js +0 -789
- package/dist/anthropic-G23NN3X5.js +0 -202
- package/dist/apify-Y3SS734K.js +0 -247
- package/dist/brave_search-ZC7OAPSZ.js +0 -301
- package/dist/chunk-R6P4XAE5.js +0 -248
- package/dist/chunk-U7B6DS2O.js +0 -977
- package/dist/chunk-UZM2RXZH.js +0 -23436
- package/dist/circleci-3BAX5FCG.js +0 -388
- package/dist/clerk-6LEM6TNU.js +0 -1019
- package/dist/cloudflare_dns-KINYTJUD.js +0 -588
- package/dist/cohere-XCJ5AJ6B.js +0 -185
- package/dist/deepseek-PC5YGNC5.js +0 -209
- package/dist/docker_hub-C3MA5FU6.js +0 -932
- package/dist/dropbox-XBV7Z2IR.js +0 -1304
- package/dist/dub-LDOFG3HC.js +0 -679
- package/dist/e2b-JMCPSVBW.js +0 -277
- package/dist/exa-RAK7O7RD.js +0 -331
- package/dist/figma-E6IX5DTH.js +0 -773
- package/dist/firehydrant-ZBLPQREE.js +0 -562
- package/dist/fly-ZH3HFCZJ.js +0 -468
- package/dist/geocodio-YGNI7DA4.js +0 -212
- package/dist/ghost-EVSGKH2Q.js +0 -337
- package/dist/github-MA2BGRCJ.js +0 -5420
- package/dist/gmail-E5E6AADE.js +0 -1886
- package/dist/googlecalendar-BTLFPXTD.js +0 -2523
- package/dist/graphhopper-WSMB3TCD.js +0 -324
- package/dist/ipgeolocation_io-AA7HAS22.js +0 -315
- package/dist/ipqualityscore-BHJXVTJT.js +0 -277
- package/dist/langsmith-5W6SCT6F.js +0 -592
- package/dist/lemlist-HJWH6UMK.js +0 -288
- package/dist/logsnag-4KFOHL37.js +0 -150
- package/dist/mem0-CAW43CIC.js +0 -543
- package/dist/memos-TWEGPKFM.js +0 -740
- package/dist/mistral_ai-64BGZQHP.js +0 -1195
- package/dist/ngrok-GQCUGZKJ.js +0 -356
- package/dist/notion-DQWZWP4N.js +0 -936
- package/dist/open_exchange_rates-QMMD735E.js +0 -214
- package/dist/openai-W6PX32NZ.js +0 -799
- package/dist/opengraph_io-HNDBXYNW.js +0 -361
- package/dist/openrouter-JJYMEAUL.js +0 -437
- package/dist/outline-MCBNQZYY.js +0 -595
- package/dist/paddle-D2SKLUDN.js +0 -453
- package/dist/perplexity-XIFMKUAE.js +0 -219
- package/dist/pinecone-HUFTALV2.js +0 -570
- package/dist/polar-TYTOMOSR.js +0 -394
- package/dist/posthog-43JAR3VW.js +0 -3463
- package/dist/postmark-KL2QJYSG.js +0 -426
- package/dist/readwise-CI4GIMMJ.js +0 -469
- package/dist/render-SUBJ6YRZ.js +0 -460
- package/dist/rootly-CD2LJHPI.js +0 -336
- package/dist/semantic_scholar-T4A252KW.js +0 -610
- package/dist/shopify-Y2HN2MCQ.js +0 -609
- package/dist/stripe-VE3CD3AY.js +0 -584
- package/dist/tavily-KCZHK6HE.js +0 -326
- package/dist/telegram-3URFBCMY.js +0 -1766
- package/dist/todoist-HNPWNYTD.js +0 -663
- package/dist/trello-3W2MIXRP.js +0 -1079
- package/dist/turso-2EQF7C2Z.js +0 -415
- package/dist/umami-5REN7TGP.js +0 -388
- package/dist/unsplash-EIXL424F.js +0 -350
- package/dist/uptimerobot-KNJ3EYLY.js +0 -482
- package/dist/v2ex-RHJ234PZ.js +0 -666
- package/dist/vercel-AS6NCIC7.js +0 -1075
- package/dist/wordpress-KNDAAUV7.js +0 -811
- package/dist/workos-R6UITSJ7.js +0 -663
- package/dist/zhihu-AGK4HILK.js +0 -253
|
@@ -9,15 +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
|
-
external_exports,
|
|
19
19
|
isTBError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-HA4BGL6C.js";
|
|
21
21
|
import "./chunk-U67V476Y.js";
|
|
22
22
|
|
|
23
23
|
// ../plugins/src/googledocs/api/shared.ts
|
|
@@ -688,569 +688,570 @@ async function searchDocuments(input, ctx) {
|
|
|
688
688
|
}
|
|
689
689
|
|
|
690
690
|
// ../plugins/src/googledocs/schema.ts
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
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()
|
|
695
696
|
}).describe("The input payload for this action.");
|
|
696
|
-
var copyDocumentOutput =
|
|
697
|
-
id:
|
|
698
|
-
name:
|
|
699
|
-
mimeType:
|
|
700
|
-
webViewLink:
|
|
701
|
-
createdTime:
|
|
702
|
-
modifiedTime:
|
|
703
|
-
driveId:
|
|
704
|
-
parents:
|
|
705
|
-
owners:
|
|
706
|
-
displayName:
|
|
707
|
-
emailAddress:
|
|
708
|
-
permissionId:
|
|
709
|
-
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()
|
|
710
711
|
}).describe("Google Drive file owner.")).describe("The owners of the file.").optional(),
|
|
711
|
-
shared:
|
|
712
|
-
starred:
|
|
713
|
-
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()
|
|
714
715
|
}).describe("Google Drive file metadata.");
|
|
715
|
-
var createDocumentInput =
|
|
716
|
-
title:
|
|
717
|
-
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()
|
|
718
719
|
}).describe("The input payload for this action.");
|
|
719
|
-
var createDocumentOutput =
|
|
720
|
-
documentId:
|
|
721
|
-
title:
|
|
722
|
-
revisionId:
|
|
723
|
-
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.")
|
|
724
725
|
}).describe("Google Docs action output.");
|
|
725
|
-
var createDocument2Input =
|
|
726
|
-
title:
|
|
726
|
+
var createDocument2Input = z.strictObject({
|
|
727
|
+
title: z.string().describe("The title of the new document.")
|
|
727
728
|
}).describe("The input payload for this action.");
|
|
728
|
-
var createDocument2Output =
|
|
729
|
-
documentId:
|
|
730
|
-
title:
|
|
731
|
-
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()
|
|
732
733
|
}).describe("Google Docs document summary.");
|
|
733
|
-
var createFooterInput =
|
|
734
|
-
document_id:
|
|
735
|
-
type:
|
|
736
|
-
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()
|
|
737
738
|
}).describe("The input payload for this action.");
|
|
738
|
-
var createFooterOutput =
|
|
739
|
-
documentId:
|
|
740
|
-
replies:
|
|
741
|
-
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()
|
|
742
743
|
}).describe("Google Docs batch update result.");
|
|
743
|
-
var createFootnoteInput =
|
|
744
|
-
documentId:
|
|
745
|
-
location:
|
|
746
|
-
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()
|
|
747
748
|
}).describe("The input payload for this action.");
|
|
748
|
-
var createFootnoteOutput =
|
|
749
|
-
documentId:
|
|
750
|
-
replies:
|
|
751
|
-
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()
|
|
752
753
|
}).describe("Google Docs batch update result.");
|
|
753
|
-
var createHeaderInput =
|
|
754
|
-
documentId:
|
|
755
|
-
type:
|
|
756
|
-
text:
|
|
757
|
-
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()
|
|
758
759
|
}).describe("The input payload for this action.");
|
|
759
|
-
var createHeaderOutput =
|
|
760
|
-
documentId:
|
|
761
|
-
replies:
|
|
762
|
-
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()
|
|
763
764
|
}).describe("Google Docs batch update result.");
|
|
764
|
-
var createNamedRangeInput =
|
|
765
|
-
documentId:
|
|
766
|
-
name:
|
|
767
|
-
rangeStartIndex:
|
|
768
|
-
rangeEndIndex:
|
|
769
|
-
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()
|
|
770
771
|
}).describe("The input payload for this action.");
|
|
771
|
-
var createNamedRangeOutput =
|
|
772
|
-
documentId:
|
|
773
|
-
replies:
|
|
774
|
-
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()
|
|
775
776
|
}).describe("Google Docs batch update result.");
|
|
776
|
-
var createParagraphBulletsInput =
|
|
777
|
-
document_id:
|
|
778
|
-
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.")
|
|
779
780
|
}).describe("The input payload for this action.");
|
|
780
|
-
var createParagraphBulletsOutput =
|
|
781
|
-
documentId:
|
|
782
|
-
replies:
|
|
783
|
-
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()
|
|
784
785
|
}).describe("Google Docs batch update result.");
|
|
785
|
-
var deleteContentRangeInput =
|
|
786
|
-
document_id:
|
|
787
|
-
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.")
|
|
788
789
|
}).describe("The input payload for this action.");
|
|
789
|
-
var deleteContentRangeOutput =
|
|
790
|
-
documentId:
|
|
791
|
-
replies:
|
|
792
|
-
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()
|
|
793
794
|
}).describe("Google Docs batch update result.");
|
|
794
|
-
var deleteFooterInput =
|
|
795
|
-
document_id:
|
|
796
|
-
footer_id:
|
|
797
|
-
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()
|
|
798
799
|
}).describe("The input payload for this action.");
|
|
799
|
-
var deleteFooterOutput =
|
|
800
|
-
documentId:
|
|
801
|
-
replies:
|
|
802
|
-
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()
|
|
803
804
|
}).describe("Google Docs batch update result.");
|
|
804
|
-
var deleteHeaderInput =
|
|
805
|
-
document_id:
|
|
806
|
-
header_id:
|
|
807
|
-
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()
|
|
808
809
|
}).describe("The input payload for this action.");
|
|
809
|
-
var deleteHeaderOutput =
|
|
810
|
-
documentId:
|
|
811
|
-
replies:
|
|
812
|
-
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()
|
|
813
814
|
}).describe("Google Docs batch update result.");
|
|
814
|
-
var deleteNamedRangeInput =
|
|
815
|
-
document_id:
|
|
816
|
-
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.")
|
|
817
818
|
}).describe("The input payload for this action.");
|
|
818
|
-
var deleteNamedRangeOutput =
|
|
819
|
-
documentId:
|
|
820
|
-
replies:
|
|
821
|
-
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()
|
|
822
823
|
}).describe("Google Docs batch update result.");
|
|
823
|
-
var deleteParagraphBulletsInput =
|
|
824
|
-
document_id:
|
|
825
|
-
range:
|
|
826
|
-
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()
|
|
827
828
|
}).describe("The input payload for this action.");
|
|
828
|
-
var deleteParagraphBulletsOutput =
|
|
829
|
-
documentId:
|
|
830
|
-
replies:
|
|
831
|
-
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()
|
|
832
833
|
}).describe("Google Docs batch update result.");
|
|
833
|
-
var deleteTableColumnInput =
|
|
834
|
-
document_id:
|
|
835
|
-
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.")
|
|
836
837
|
}).describe("The input payload for this action.");
|
|
837
|
-
var deleteTableColumnOutput =
|
|
838
|
-
documentId:
|
|
839
|
-
replies:
|
|
840
|
-
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()
|
|
841
842
|
}).describe("Google Docs batch update result.");
|
|
842
|
-
var deleteTableRowInput =
|
|
843
|
-
documentId:
|
|
844
|
-
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.")
|
|
845
846
|
}).describe("The input payload for this action.");
|
|
846
|
-
var deleteTableRowOutput =
|
|
847
|
-
documentId:
|
|
848
|
-
replies:
|
|
849
|
-
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()
|
|
850
851
|
}).describe("Google Docs batch update result.");
|
|
851
|
-
var exportDocumentAsPdfInput =
|
|
852
|
-
file_id:
|
|
853
|
-
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()
|
|
854
855
|
}).describe("The input payload for this action.");
|
|
855
|
-
var exportDocumentAsPdfOutput =
|
|
856
|
-
fileId:
|
|
857
|
-
filename:
|
|
858
|
-
mimeType:
|
|
859
|
-
dataBase64:
|
|
860
|
-
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.")
|
|
861
862
|
}).describe("Google Docs action output.");
|
|
862
|
-
var getDocumentByIdInput =
|
|
863
|
-
id:
|
|
864
|
-
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()
|
|
865
866
|
}).describe("The input payload for this action.");
|
|
866
|
-
var getDocumentByIdOutput =
|
|
867
|
-
documentId:
|
|
868
|
-
title:
|
|
869
|
-
revisionId:
|
|
870
|
-
body:
|
|
871
|
-
headers:
|
|
872
|
-
footers:
|
|
873
|
-
footnotes:
|
|
874
|
-
tabs:
|
|
875
|
-
documentStyle:
|
|
876
|
-
namedRanges:
|
|
877
|
-
inlineObjects:
|
|
878
|
-
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()
|
|
879
880
|
}).describe("Google Docs document detail.");
|
|
880
|
-
var getDocumentPlaintextInput =
|
|
881
|
-
document_id:
|
|
882
|
-
include_tables:
|
|
883
|
-
include_footers:
|
|
884
|
-
include_headers:
|
|
885
|
-
include_footnotes:
|
|
886
|
-
include_tabs_content:
|
|
887
|
-
table_row_delimiter:
|
|
888
|
-
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()
|
|
889
890
|
}).describe("The input payload for this action.");
|
|
890
|
-
var getDocumentPlaintextOutput =
|
|
891
|
-
documentId:
|
|
892
|
-
title:
|
|
893
|
-
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.")
|
|
894
895
|
}).describe("Google Docs action output.");
|
|
895
|
-
var insertInlineImageInput =
|
|
896
|
-
documentId:
|
|
897
|
-
uri:
|
|
898
|
-
location:
|
|
899
|
-
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()
|
|
900
901
|
}).describe("The input payload for this action.");
|
|
901
|
-
var insertInlineImageOutput =
|
|
902
|
-
documentId:
|
|
903
|
-
replies:
|
|
904
|
-
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()
|
|
905
906
|
}).describe("Google Docs batch update result.");
|
|
906
|
-
var insertPageBreakInput =
|
|
907
|
-
documentId:
|
|
908
|
-
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.")
|
|
909
910
|
}).describe("The input payload for this action.");
|
|
910
|
-
var insertPageBreakOutput =
|
|
911
|
-
documentId:
|
|
912
|
-
replies:
|
|
913
|
-
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()
|
|
914
915
|
}).describe("Google Docs batch update result.");
|
|
915
|
-
var insertTableActionInput =
|
|
916
|
-
documentId:
|
|
917
|
-
rows:
|
|
918
|
-
columns:
|
|
919
|
-
index:
|
|
920
|
-
segmentId:
|
|
921
|
-
tabId:
|
|
922
|
-
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()
|
|
923
924
|
}).describe("The input payload for this action.");
|
|
924
|
-
var insertTableActionOutput =
|
|
925
|
-
documentId:
|
|
926
|
-
replies:
|
|
927
|
-
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()
|
|
928
929
|
}).describe("Google Docs batch update result.");
|
|
929
|
-
var insertTableColumnInput =
|
|
930
|
-
document_id:
|
|
931
|
-
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.")
|
|
932
933
|
}).describe("The input payload for this action.");
|
|
933
|
-
var insertTableColumnOutput =
|
|
934
|
-
documentId:
|
|
935
|
-
replies:
|
|
936
|
-
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()
|
|
937
938
|
}).describe("Google Docs batch update result.");
|
|
938
|
-
var insertTextActionInput =
|
|
939
|
-
document_id:
|
|
940
|
-
text_to_insert:
|
|
941
|
-
append_to_end:
|
|
942
|
-
insertion_index:
|
|
943
|
-
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()
|
|
944
945
|
}).describe("The input payload for this action.");
|
|
945
|
-
var insertTextActionOutput =
|
|
946
|
-
documentId:
|
|
947
|
-
replies:
|
|
948
|
-
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()
|
|
949
950
|
}).describe("Google Docs batch update result.");
|
|
950
|
-
var listSpreadsheetChartsInput =
|
|
951
|
-
spreadsheet_id:
|
|
951
|
+
var listSpreadsheetChartsInput = z.strictObject({
|
|
952
|
+
spreadsheet_id: z.string().describe("The ID of the Google Sheets spreadsheet.")
|
|
952
953
|
}).describe("The input payload for this action.");
|
|
953
|
-
var listSpreadsheetChartsOutput =
|
|
954
|
-
spreadsheetId:
|
|
955
|
-
title:
|
|
956
|
-
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.")
|
|
957
958
|
}).describe("Google Docs action output.");
|
|
958
|
-
var replaceAllTextInput =
|
|
959
|
-
document_id:
|
|
960
|
-
find_text:
|
|
961
|
-
replace_text:
|
|
962
|
-
match_case:
|
|
963
|
-
search_by_regex:
|
|
964
|
-
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()
|
|
965
966
|
}).describe("The input payload for this action.");
|
|
966
|
-
var replaceAllTextOutput =
|
|
967
|
-
documentId:
|
|
968
|
-
replies:
|
|
969
|
-
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()
|
|
970
971
|
}).describe("Google Docs batch update result.");
|
|
971
|
-
var replaceImageInput =
|
|
972
|
-
document_id:
|
|
973
|
-
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.")
|
|
974
975
|
}).describe("The input payload for this action.");
|
|
975
|
-
var replaceImageOutput =
|
|
976
|
-
documentId:
|
|
977
|
-
replies:
|
|
978
|
-
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()
|
|
979
980
|
}).describe("Google Docs batch update result.");
|
|
980
|
-
var searchDocumentsInput =
|
|
981
|
-
query:
|
|
982
|
-
order_by:
|
|
983
|
-
page_token:
|
|
984
|
-
max_results:
|
|
985
|
-
starred_only:
|
|
986
|
-
created_after:
|
|
987
|
-
modified_after:
|
|
988
|
-
shared_with_me:
|
|
989
|
-
include_trashed:
|
|
990
|
-
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()
|
|
991
992
|
}).describe("The input payload for this action.");
|
|
992
|
-
var searchDocumentsOutput =
|
|
993
|
-
documents:
|
|
994
|
-
id:
|
|
995
|
-
name:
|
|
996
|
-
mimeType:
|
|
997
|
-
webViewLink:
|
|
998
|
-
createdTime:
|
|
999
|
-
modifiedTime:
|
|
1000
|
-
driveId:
|
|
1001
|
-
parents:
|
|
1002
|
-
owners:
|
|
1003
|
-
displayName:
|
|
1004
|
-
emailAddress:
|
|
1005
|
-
permissionId:
|
|
1006
|
-
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()
|
|
1007
1008
|
}).describe("Google Drive file owner.")).describe("The owners of the file.").optional(),
|
|
1008
|
-
shared:
|
|
1009
|
-
starred:
|
|
1010
|
-
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()
|
|
1011
1012
|
}).describe("Google Drive file metadata.")).describe("The list of matching Google Docs files."),
|
|
1012
|
-
nextPageToken:
|
|
1013
|
+
nextPageToken: z.string().describe("A string value that may be null.").nullable()
|
|
1013
1014
|
}).describe("Google Docs action output.");
|
|
1014
|
-
var unmergeTableCellsInput =
|
|
1015
|
-
documentId:
|
|
1016
|
-
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.")
|
|
1017
1018
|
}).describe("The input payload for this action.");
|
|
1018
|
-
var unmergeTableCellsOutput =
|
|
1019
|
-
documentId:
|
|
1020
|
-
replies:
|
|
1021
|
-
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()
|
|
1022
1023
|
}).describe("Google Docs batch update result.");
|
|
1023
|
-
var updateDocumentBatchInput =
|
|
1024
|
-
document_id:
|
|
1025
|
-
requests:
|
|
1026
|
-
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()
|
|
1027
1028
|
}).describe("The input payload for this action.");
|
|
1028
|
-
var updateDocumentBatchOutput =
|
|
1029
|
-
documentId:
|
|
1030
|
-
replies:
|
|
1031
|
-
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()
|
|
1032
1033
|
}).describe("Google Docs batch update result.");
|
|
1033
|
-
var updateDocumentStyleInput =
|
|
1034
|
-
document_id:
|
|
1035
|
-
document_style:
|
|
1036
|
-
fields:
|
|
1037
|
-
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()
|
|
1038
1039
|
}).describe("The input payload for this action.");
|
|
1039
|
-
var updateDocumentStyleOutput =
|
|
1040
|
-
documentId:
|
|
1041
|
-
replies:
|
|
1042
|
-
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()
|
|
1043
1044
|
}).describe("Google Docs batch update result.");
|
|
1044
|
-
var updateExistingDocumentInput =
|
|
1045
|
-
document_id:
|
|
1046
|
-
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.")
|
|
1047
1048
|
}).describe("The input payload for this action.");
|
|
1048
|
-
var updateExistingDocumentOutput =
|
|
1049
|
-
documentId:
|
|
1050
|
-
replies:
|
|
1051
|
-
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()
|
|
1052
1053
|
}).describe("Google Docs batch update result.");
|
|
1053
|
-
var updateTableRowStyleInput =
|
|
1054
|
-
documentId:
|
|
1055
|
-
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.")
|
|
1056
1057
|
}).describe("The input payload for this action.");
|
|
1057
|
-
var updateTableRowStyleOutput =
|
|
1058
|
-
documentId:
|
|
1059
|
-
replies:
|
|
1060
|
-
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()
|
|
1061
1062
|
}).describe("Google Docs batch update result.");
|
|
1062
1063
|
var googledocsActions = {
|
|
1063
1064
|
copy_document: {
|
|
1064
1065
|
description: "Copy an existing Google Docs document through Google Drive.",
|
|
1065
1066
|
effect: "write",
|
|
1066
1067
|
inputSchema: copyDocumentInput,
|
|
1067
|
-
outputSchema:
|
|
1068
|
+
outputSchema: z.toJSONSchema(copyDocumentOutput, { io: "output", unrepresentable: "any" })
|
|
1068
1069
|
},
|
|
1069
1070
|
create_document: {
|
|
1070
1071
|
description: "Create a Google Docs document and optionally insert initial text at the beginning.",
|
|
1071
1072
|
effect: "write",
|
|
1072
1073
|
inputSchema: createDocumentInput,
|
|
1073
|
-
outputSchema:
|
|
1074
|
+
outputSchema: z.toJSONSchema(createDocumentOutput, { io: "output", unrepresentable: "any" })
|
|
1074
1075
|
},
|
|
1075
1076
|
create_document2: {
|
|
1076
1077
|
description: "Create a blank Google Docs document.",
|
|
1077
1078
|
effect: "write",
|
|
1078
1079
|
inputSchema: createDocument2Input,
|
|
1079
|
-
outputSchema:
|
|
1080
|
+
outputSchema: z.toJSONSchema(createDocument2Output, { io: "output", unrepresentable: "any" })
|
|
1080
1081
|
},
|
|
1081
1082
|
create_footer: {
|
|
1082
1083
|
description: "Create a footer in a Google Docs document.",
|
|
1083
1084
|
effect: "write",
|
|
1084
1085
|
inputSchema: createFooterInput,
|
|
1085
|
-
outputSchema:
|
|
1086
|
+
outputSchema: z.toJSONSchema(createFooterOutput, { io: "output", unrepresentable: "any" })
|
|
1086
1087
|
},
|
|
1087
1088
|
create_footnote: {
|
|
1088
1089
|
description: "Create a footnote in a Google Docs document.",
|
|
1089
1090
|
effect: "write",
|
|
1090
1091
|
inputSchema: createFootnoteInput,
|
|
1091
|
-
outputSchema:
|
|
1092
|
+
outputSchema: z.toJSONSchema(createFootnoteOutput, { io: "output", unrepresentable: "any" })
|
|
1092
1093
|
},
|
|
1093
1094
|
create_header: {
|
|
1094
1095
|
description: "Create a header in a Google Docs document and optionally insert initial text.",
|
|
1095
1096
|
effect: "write",
|
|
1096
1097
|
inputSchema: createHeaderInput,
|
|
1097
|
-
outputSchema:
|
|
1098
|
+
outputSchema: z.toJSONSchema(createHeaderOutput, { io: "output", unrepresentable: "any" })
|
|
1098
1099
|
},
|
|
1099
1100
|
create_named_range: {
|
|
1100
1101
|
description: "Create a named range over a specific span in a Google Docs document.",
|
|
1101
1102
|
effect: "write",
|
|
1102
1103
|
inputSchema: createNamedRangeInput,
|
|
1103
|
-
outputSchema:
|
|
1104
|
+
outputSchema: z.toJSONSchema(createNamedRangeOutput, { io: "output", unrepresentable: "any" })
|
|
1104
1105
|
},
|
|
1105
1106
|
create_paragraph_bullets: {
|
|
1106
1107
|
description: "Add bullets to paragraphs within a specified range in a Google Docs document.",
|
|
1107
1108
|
effect: "write",
|
|
1108
1109
|
inputSchema: createParagraphBulletsInput,
|
|
1109
|
-
outputSchema:
|
|
1110
|
+
outputSchema: z.toJSONSchema(createParagraphBulletsOutput, { io: "output", unrepresentable: "any" })
|
|
1110
1111
|
},
|
|
1111
1112
|
delete_content_range: {
|
|
1112
1113
|
description: "Delete a content range from a Google Docs document.",
|
|
1113
1114
|
effect: "destructive",
|
|
1114
1115
|
inputSchema: deleteContentRangeInput,
|
|
1115
|
-
outputSchema:
|
|
1116
|
+
outputSchema: z.toJSONSchema(deleteContentRangeOutput, { io: "output", unrepresentable: "any" })
|
|
1116
1117
|
},
|
|
1117
1118
|
delete_footer: {
|
|
1118
1119
|
description: "Delete a footer from a Google Docs document.",
|
|
1119
1120
|
effect: "destructive",
|
|
1120
1121
|
inputSchema: deleteFooterInput,
|
|
1121
|
-
outputSchema:
|
|
1122
|
+
outputSchema: z.toJSONSchema(deleteFooterOutput, { io: "output", unrepresentable: "any" })
|
|
1122
1123
|
},
|
|
1123
1124
|
delete_header: {
|
|
1124
1125
|
description: "Delete a header from a Google Docs document.",
|
|
1125
1126
|
effect: "destructive",
|
|
1126
1127
|
inputSchema: deleteHeaderInput,
|
|
1127
|
-
outputSchema:
|
|
1128
|
+
outputSchema: z.toJSONSchema(deleteHeaderOutput, { io: "output", unrepresentable: "any" })
|
|
1128
1129
|
},
|
|
1129
1130
|
delete_named_range: {
|
|
1130
1131
|
description: "Delete a named range from a Google Docs document.",
|
|
1131
1132
|
effect: "destructive",
|
|
1132
1133
|
inputSchema: deleteNamedRangeInput,
|
|
1133
|
-
outputSchema:
|
|
1134
|
+
outputSchema: z.toJSONSchema(deleteNamedRangeOutput, { io: "output", unrepresentable: "any" })
|
|
1134
1135
|
},
|
|
1135
1136
|
delete_paragraph_bullets: {
|
|
1136
1137
|
description: "Remove bullets from paragraphs within a specified range in a Google Docs document.",
|
|
1137
1138
|
effect: "destructive",
|
|
1138
1139
|
inputSchema: deleteParagraphBulletsInput,
|
|
1139
|
-
outputSchema:
|
|
1140
|
+
outputSchema: z.toJSONSchema(deleteParagraphBulletsOutput, { io: "output", unrepresentable: "any" })
|
|
1140
1141
|
},
|
|
1141
1142
|
delete_table_column: {
|
|
1142
1143
|
description: "Delete one or more table columns from a Google Docs document.",
|
|
1143
1144
|
effect: "destructive",
|
|
1144
1145
|
inputSchema: deleteTableColumnInput,
|
|
1145
|
-
outputSchema:
|
|
1146
|
+
outputSchema: z.toJSONSchema(deleteTableColumnOutput, { io: "output", unrepresentable: "any" })
|
|
1146
1147
|
},
|
|
1147
1148
|
delete_table_row: {
|
|
1148
1149
|
description: "Delete a table row from a Google Docs document.",
|
|
1149
1150
|
effect: "destructive",
|
|
1150
1151
|
inputSchema: deleteTableRowInput,
|
|
1151
|
-
outputSchema:
|
|
1152
|
+
outputSchema: z.toJSONSchema(deleteTableRowOutput, { io: "output", unrepresentable: "any" })
|
|
1152
1153
|
},
|
|
1153
1154
|
export_document_as_pdf: {
|
|
1154
1155
|
description: "Export a Google Docs file as a PDF through Google Drive.",
|
|
1155
1156
|
effect: "read",
|
|
1156
1157
|
inputSchema: exportDocumentAsPdfInput,
|
|
1157
|
-
outputSchema:
|
|
1158
|
+
outputSchema: z.toJSONSchema(exportDocumentAsPdfOutput, { io: "output", unrepresentable: "any" })
|
|
1158
1159
|
},
|
|
1159
1160
|
get_document_by_id: {
|
|
1160
1161
|
description: "Retrieve a Google Docs document by ID.",
|
|
1161
1162
|
effect: "read",
|
|
1162
1163
|
inputSchema: getDocumentByIdInput,
|
|
1163
|
-
outputSchema:
|
|
1164
|
+
outputSchema: z.toJSONSchema(getDocumentByIdOutput, { io: "output", unrepresentable: "any" })
|
|
1164
1165
|
},
|
|
1165
1166
|
get_document_plaintext: {
|
|
1166
1167
|
description: "Retrieve a Google Docs document and render it as best-effort plain text.",
|
|
1167
1168
|
effect: "read",
|
|
1168
1169
|
inputSchema: getDocumentPlaintextInput,
|
|
1169
|
-
outputSchema:
|
|
1170
|
+
outputSchema: z.toJSONSchema(getDocumentPlaintextOutput, { io: "output", unrepresentable: "any" })
|
|
1170
1171
|
},
|
|
1171
1172
|
insert_inline_image: {
|
|
1172
1173
|
description: "Insert an inline image from a URI at a specified location.",
|
|
1173
1174
|
effect: "write",
|
|
1174
1175
|
inputSchema: insertInlineImageInput,
|
|
1175
|
-
outputSchema:
|
|
1176
|
+
outputSchema: z.toJSONSchema(insertInlineImageOutput, { io: "output", unrepresentable: "any" })
|
|
1176
1177
|
},
|
|
1177
1178
|
insert_page_break: {
|
|
1178
1179
|
description: "Insert a page break at a specified location.",
|
|
1179
1180
|
effect: "write",
|
|
1180
1181
|
inputSchema: insertPageBreakInput,
|
|
1181
|
-
outputSchema:
|
|
1182
|
+
outputSchema: z.toJSONSchema(insertPageBreakOutput, { io: "output", unrepresentable: "any" })
|
|
1182
1183
|
},
|
|
1183
1184
|
insert_table_action: {
|
|
1184
1185
|
description: "Insert a table at a specific index or at the end of a segment.",
|
|
1185
1186
|
effect: "write",
|
|
1186
1187
|
inputSchema: insertTableActionInput,
|
|
1187
|
-
outputSchema:
|
|
1188
|
+
outputSchema: z.toJSONSchema(insertTableActionOutput, { io: "output", unrepresentable: "any" })
|
|
1188
1189
|
},
|
|
1189
1190
|
insert_table_column: {
|
|
1190
1191
|
description: "Insert one or more table columns at a specified location.",
|
|
1191
1192
|
effect: "write",
|
|
1192
1193
|
inputSchema: insertTableColumnInput,
|
|
1193
|
-
outputSchema:
|
|
1194
|
+
outputSchema: z.toJSONSchema(insertTableColumnOutput, { io: "output", unrepresentable: "any" })
|
|
1194
1195
|
},
|
|
1195
1196
|
insert_text_action: {
|
|
1196
1197
|
description: "Insert text at a specific index or append it to the end.",
|
|
1197
1198
|
effect: "write",
|
|
1198
1199
|
inputSchema: insertTextActionInput,
|
|
1199
|
-
outputSchema:
|
|
1200
|
+
outputSchema: z.toJSONSchema(insertTextActionOutput, { io: "output", unrepresentable: "any" })
|
|
1200
1201
|
},
|
|
1201
1202
|
list_spreadsheet_charts: {
|
|
1202
1203
|
description: "List chart metadata from a Google Sheets spreadsheet.",
|
|
1203
1204
|
effect: "read",
|
|
1204
1205
|
inputSchema: listSpreadsheetChartsInput,
|
|
1205
|
-
outputSchema:
|
|
1206
|
+
outputSchema: z.toJSONSchema(listSpreadsheetChartsOutput, { io: "output", unrepresentable: "any" })
|
|
1206
1207
|
},
|
|
1207
1208
|
replace_all_text: {
|
|
1208
1209
|
description: "Replace all matching text in a Google Docs document.",
|
|
1209
1210
|
effect: "write",
|
|
1210
1211
|
inputSchema: replaceAllTextInput,
|
|
1211
|
-
outputSchema:
|
|
1212
|
+
outputSchema: z.toJSONSchema(replaceAllTextOutput, { io: "output", unrepresentable: "any" })
|
|
1212
1213
|
},
|
|
1213
1214
|
replace_image: {
|
|
1214
1215
|
description: "Replace an existing image in a Google Docs document with a new image from a URI.",
|
|
1215
1216
|
effect: "write",
|
|
1216
1217
|
inputSchema: replaceImageInput,
|
|
1217
|
-
outputSchema:
|
|
1218
|
+
outputSchema: z.toJSONSchema(replaceImageOutput, { io: "output", unrepresentable: "any" })
|
|
1218
1219
|
},
|
|
1219
1220
|
search_documents: {
|
|
1220
1221
|
description: "Search Google Docs files with Google Drive filters.",
|
|
1221
1222
|
effect: "read",
|
|
1222
1223
|
inputSchema: searchDocumentsInput,
|
|
1223
|
-
outputSchema:
|
|
1224
|
+
outputSchema: z.toJSONSchema(searchDocumentsOutput, { io: "output", unrepresentable: "any" })
|
|
1224
1225
|
},
|
|
1225
1226
|
unmerge_table_cells: {
|
|
1226
1227
|
description: "Unmerge previously merged table cells in a Google Docs document.",
|
|
1227
1228
|
effect: "write",
|
|
1228
1229
|
inputSchema: unmergeTableCellsInput,
|
|
1229
|
-
outputSchema:
|
|
1230
|
+
outputSchema: z.toJSONSchema(unmergeTableCellsOutput, { io: "output", unrepresentable: "any" })
|
|
1230
1231
|
},
|
|
1231
1232
|
update_document_batch: {
|
|
1232
1233
|
description: "Apply raw Docs batchUpdate requests to a Google Docs document.",
|
|
1233
1234
|
effect: "write",
|
|
1234
1235
|
inputSchema: updateDocumentBatchInput,
|
|
1235
|
-
outputSchema:
|
|
1236
|
+
outputSchema: z.toJSONSchema(updateDocumentBatchOutput, { io: "output", unrepresentable: "any" })
|
|
1236
1237
|
},
|
|
1237
1238
|
update_document_style: {
|
|
1238
1239
|
description: "Update global document style settings.",
|
|
1239
1240
|
effect: "write",
|
|
1240
1241
|
inputSchema: updateDocumentStyleInput,
|
|
1241
|
-
outputSchema:
|
|
1242
|
+
outputSchema: z.toJSONSchema(updateDocumentStyleOutput, { io: "output", unrepresentable: "any" })
|
|
1242
1243
|
},
|
|
1243
1244
|
update_existing_document: {
|
|
1244
1245
|
description: "Apply one or more programmatic edits to an existing Google Docs document.",
|
|
1245
1246
|
effect: "write",
|
|
1246
1247
|
inputSchema: updateExistingDocumentInput,
|
|
1247
|
-
outputSchema:
|
|
1248
|
+
outputSchema: z.toJSONSchema(updateExistingDocumentOutput, { io: "output", unrepresentable: "any" })
|
|
1248
1249
|
},
|
|
1249
1250
|
update_table_row_style: {
|
|
1250
1251
|
description: "Update the style of a table row in a Google Docs document.",
|
|
1251
1252
|
effect: "write",
|
|
1252
1253
|
inputSchema: updateTableRowStyleInput,
|
|
1253
|
-
outputSchema:
|
|
1254
|
+
outputSchema: z.toJSONSchema(updateTableRowStyleOutput, { io: "output", unrepresentable: "any" })
|
|
1254
1255
|
}
|
|
1255
1256
|
};
|
|
1256
1257
|
|