@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.
Files changed (178) hide show
  1. package/dist/admin.js +170 -0
  2. package/dist/airtable-ML2GIGCH.js +790 -0
  3. package/dist/{alt_text_generator_ai-RELFQ5FV.js → alt_text_generator_ai-FGYQAF2A.js} +12 -11
  4. package/dist/{amap-YSYEACKQ.js → amap-G7V65NGK.js} +221 -220
  5. package/dist/anthropic-6ZK24TBB.js +203 -0
  6. package/dist/apify-VDGYHP6W.js +248 -0
  7. package/dist/brave_search-TAATLZOS.js +302 -0
  8. package/dist/chunk-2IAI3XQM.js +302 -0
  9. package/dist/chunk-7ISGFRC6.js +161 -0
  10. package/dist/{chunk-Q74GLIDK.js → chunk-BNMLA2RC.js} +6 -5
  11. package/dist/chunk-HA4BGL6C.js +8429 -0
  12. package/dist/{chunk-MDY7K5CX.js → chunk-RMAWSG7E.js} +20135 -26920
  13. package/dist/{chunk-JEWFX6Z6.js → chunk-RTW5VRTK.js} +3 -3
  14. package/dist/chunk-U7PTOA3U.js +7320 -0
  15. package/dist/chunk-UY6ANCOY.js +378 -0
  16. package/dist/{chunk-QR4LK3HF.js → chunk-X7ZUTKHR.js} +4 -2
  17. package/dist/circleci-BQ2UWXL2.js +389 -0
  18. package/dist/clerk-2JYWQNOI.js +1019 -0
  19. package/dist/cohere-6MI7AQM4.js +185 -0
  20. package/dist/{confluence-52I37IUT.js → confluence-6Y6GDETF.js} +105 -104
  21. package/dist/{convertapi-3TRJ3WEO.js → convertapi-HBZCSWOX.js} +32 -31
  22. package/dist/{currencyapi-LWEANWVI.js → currencyapi-337U5TGI.js} +71 -71
  23. package/dist/deepseek-OSPASO7O.js +210 -0
  24. package/dist/docker_hub-3ATQOY5L.js +933 -0
  25. package/dist/dropbox-LSA4GM2Y.js +1305 -0
  26. package/dist/dub-VZPJSPI6.js +680 -0
  27. package/dist/e2b-6SDYQZL2.js +278 -0
  28. package/dist/exa-B6EUYDVP.js +332 -0
  29. package/dist/{fal_ai-VJPMCNRH.js → fal_ai-K4Q27IME.js} +81 -80
  30. package/dist/feishu-4TKXG4SU.js +11975 -0
  31. package/dist/{feishu_custom_bot-ADSE23KU.js → feishu_custom_bot-7CTEAKRB.js} +57 -53
  32. package/dist/figma-OUKSZLD5.js +777 -0
  33. package/dist/firehydrant-7MOYL7QH.js +563 -0
  34. package/dist/{fixer-OAMF4DKP.js → fixer-H2BV2NO4.js} +34 -33
  35. package/dist/fly-PXKY6PNH.js +469 -0
  36. package/dist/{front-6GTVYKUM.js → front-UZYIV5DW.js} +104 -104
  37. package/dist/geocodio-NSYO7TFP.js +213 -0
  38. package/dist/ghost-QBKKQQMF.js +338 -0
  39. package/dist/github-ENLSJ4CL.js +5421 -0
  40. package/dist/gmail-KQSDEB47.js +1887 -0
  41. package/dist/googlecalendar-5YCX4SZF.js +2524 -0
  42. package/dist/{googledocs-YNKKBM6Q.js → googledocs-SSWIVFKA.js} +343 -341
  43. package/dist/{grafana-353VSGXN.js → grafana-TF2LXDQA.js} +221 -220
  44. package/dist/graphhopper-CURBVHYK.js +325 -0
  45. package/dist/index.d.ts +1132 -332
  46. package/dist/index.js +31 -13
  47. package/dist/{ip2proxy-DBGRWH7S.js → ip2proxy-YNVMTZEM.js} +28 -27
  48. package/dist/ipgeolocation_io-NAU7VJ4J.js +315 -0
  49. package/dist/ipqualityscore-OT63L4TI.js +279 -0
  50. package/dist/{jina_ai-L5BH455V.js → jina_ai-6WBMBGWM.js} +23 -23
  51. package/dist/{jira-IGTILUZA.js → jira-DVDVTHNO.js} +118 -117
  52. package/dist/langsmith-IM5N4YAU.js +593 -0
  53. package/dist/lemlist-277SHUQF.js +289 -0
  54. package/dist/{linear-HLGOWISN.js → linear-AEPH7B5V.js} +329 -327
  55. package/dist/logsnag-VEWRAGBG.js +150 -0
  56. package/dist/main.js +57 -279
  57. package/dist/{mattermost-BONGXVC7.js → mattermost-Q3A2BIZA.js} +59 -58
  58. package/dist/mem0-AXS7GZGI.js +544 -0
  59. package/dist/memos-7TXG4ZTU.js +744 -0
  60. package/dist/{metabase-ZHXHRHZK.js → metabase-NSVACWQM.js} +90 -89
  61. package/dist/mistral_ai-YZ52RGD4.js +1196 -0
  62. package/dist/{mother_duck-TKVQM35M.js → mother_duck-XLLL6FVL.js} +94 -93
  63. package/dist/ngrok-4O4W3WZW.js +356 -0
  64. package/dist/{notes-KXRNNYDW.js → notes-YTB3TJOO.js} +11 -9
  65. package/dist/notion-4W4O7J7V.js +940 -0
  66. package/dist/open_exchange_rates-23QJXVO5.js +215 -0
  67. package/dist/openai-ZS7GLSLH.js +800 -0
  68. package/dist/opengraph_io-PMVH7OYI.js +362 -0
  69. package/dist/openrouter-ONRGFNB6.js +441 -0
  70. package/dist/outline-UCUYZZ7J.js +599 -0
  71. package/dist/paddle-35HTKTUL.js +454 -0
  72. package/dist/perplexity-NVOBYN24.js +220 -0
  73. package/dist/pinecone-55CJY73C.js +571 -0
  74. package/dist/{pipedrive-CW7HONYW.js → pipedrive-WMCAKS72.js} +99 -98
  75. package/dist/polar-SM4ZM53B.js +395 -0
  76. package/dist/posthog-NWCXVXNJ.js +3464 -0
  77. package/dist/postmark-QJV5PHUQ.js +427 -0
  78. package/dist/{prerender-5EAY7GDM.js → prerender-2W7UT4SC.js} +31 -30
  79. package/dist/{pubmed-GRQUBGVA.js → pubmed-VVV7XYLU.js} +241 -239
  80. package/dist/{railway-FTM75TMX.js → railway-KGI57S3O.js} +118 -117
  81. package/dist/readwise-AGHTQB42.js +470 -0
  82. package/dist/render-O4HBROCK.js +461 -0
  83. package/dist/{replicate-RJCMDB7H.js → replicate-KWBOMX7D.js} +81 -80
  84. package/dist/{resend-YYN22NIL.js → resend-DRH6Y6I4.js} +20 -16
  85. package/dist/rootly-XGCUDW6X.js +336 -0
  86. package/dist/{scrapfly-ZJJ6XM4Q.js → scrapfly-OIQ3OY6L.js} +62 -61
  87. package/dist/{scrapingbee-QNGEOD6D.js → scrapingbee-OCZO4FHX.js} +56 -56
  88. package/dist/{screenshot_fyi-SPZAABVD.js → screenshot_fyi-CUNGFZOC.js} +16 -16
  89. package/dist/semantic_scholar-3UJRLKES.js +611 -0
  90. package/dist/{sentry-SJ5NN4C4.js → sentry-5BWVZFJV.js} +208 -207
  91. package/dist/{shodan-YMGOY7KW.js → shodan-HI37CTEW.js} +62 -61
  92. package/dist/shopify-LJ2EV2HH.js +610 -0
  93. package/dist/stripe-3LHMV55K.js +585 -0
  94. package/dist/{supabase-GQ2OFVIL.js → supabase-H2KPX3Q2.js} +245 -244
  95. package/dist/tavily-FBEWGH3Z.js +326 -0
  96. package/dist/telegram-MYYO3JND.js +1767 -0
  97. package/dist/{telnyx-4JGMC3K7.js → telnyx-H4ALEGAX.js} +57 -56
  98. package/dist/todoist-OBWICA5Q.js +664 -0
  99. package/dist/trello-GUFUJRWO.js +1080 -0
  100. package/dist/turso-NIAK4UMS.js +416 -0
  101. package/dist/{twilio-VYF3HUU6.js → twilio-K6SLK2CX.js} +72 -70
  102. package/dist/umami-42RS2EPS.js +389 -0
  103. package/dist/unsplash-V7TOTETT.js +351 -0
  104. package/dist/{upstash_redis-IUM2HDLU.js → upstash_redis-AWQMB6Y3.js} +51 -50
  105. package/dist/uptimerobot-AZC2DHOT.js +483 -0
  106. package/dist/v2ex-4TVRNMLS.js +667 -0
  107. package/dist/vercel-DPHTJ3XR.js +1076 -0
  108. package/dist/{wolfram_alpha_api-6CRVUZOJ.js → wolfram_alpha_api-XAG7IXBW.js} +36 -35
  109. package/dist/wordpress-KMPKVGUX.js +812 -0
  110. package/dist/workos-PKB2YR7S.js +664 -0
  111. package/dist/zhihu-Y4H4XYPB.js +254 -0
  112. package/package.json +18 -9
  113. package/dist/airtable-DMJEEGJP.js +0 -789
  114. package/dist/anthropic-D5X5GSYE.js +0 -202
  115. package/dist/apify-5NVFU3IZ.js +0 -247
  116. package/dist/brave_search-X557FMGO.js +0 -301
  117. package/dist/chunk-MZCIPUNQ.js +0 -23424
  118. package/dist/chunk-ZTTN6AJG.js +0 -977
  119. package/dist/circleci-3P3QTUX2.js +0 -388
  120. package/dist/clerk-GNMZQ2MY.js +0 -1019
  121. package/dist/cloudflare_dns-VWZH3ZTR.js +0 -588
  122. package/dist/cohere-C7QVIIMG.js +0 -185
  123. package/dist/deepseek-5U24YG4P.js +0 -209
  124. package/dist/docker_hub-CMISLRSE.js +0 -932
  125. package/dist/dropbox-TW4QN6FT.js +0 -1304
  126. package/dist/dub-EFXGI5UH.js +0 -679
  127. package/dist/e2b-PHM63OVF.js +0 -277
  128. package/dist/exa-DYOQWURR.js +0 -331
  129. package/dist/feishu-TFIZXPIN.js +0 -231
  130. package/dist/figma-4AK47AYY.js +0 -773
  131. package/dist/firehydrant-RGPTW4EA.js +0 -562
  132. package/dist/fly-YB4AQD4O.js +0 -468
  133. package/dist/geocodio-YRT4K25M.js +0 -212
  134. package/dist/ghost-JCW6UIP2.js +0 -337
  135. package/dist/github-CEGVRMNX.js +0 -5420
  136. package/dist/gmail-JCMJD55P.js +0 -1886
  137. package/dist/googlecalendar-2EAW4MNM.js +0 -2522
  138. package/dist/graphhopper-H3IVJNDS.js +0 -324
  139. package/dist/ipgeolocation_io-5I2BDVMG.js +0 -315
  140. package/dist/ipqualityscore-ILV7TQCV.js +0 -277
  141. package/dist/langsmith-BYRX4AOF.js +0 -592
  142. package/dist/lemlist-ZGNYTIQO.js +0 -288
  143. package/dist/logsnag-5RGTMTU2.js +0 -150
  144. package/dist/mem0-RUVNUPTE.js +0 -543
  145. package/dist/memos-TED4HI54.js +0 -739
  146. package/dist/mistral_ai-NGP5SHU7.js +0 -1195
  147. package/dist/ngrok-BYCUJ7QV.js +0 -356
  148. package/dist/notion-2ILYKJOO.js +0 -936
  149. package/dist/open_exchange_rates-JU4DC6HZ.js +0 -214
  150. package/dist/openai-6SOT26ZK.js +0 -799
  151. package/dist/opengraph_io-ZEFHV2OL.js +0 -361
  152. package/dist/openrouter-R4P7JL5L.js +0 -437
  153. package/dist/outline-VCTQ5V2X.js +0 -595
  154. package/dist/paddle-AZOAKBJS.js +0 -453
  155. package/dist/perplexity-OMRLGVAT.js +0 -219
  156. package/dist/pinecone-DI62W3ZX.js +0 -570
  157. package/dist/polar-5DRGTXNR.js +0 -394
  158. package/dist/posthog-3DTHFCKE.js +0 -3463
  159. package/dist/postmark-ME2V2XXI.js +0 -426
  160. package/dist/readwise-IJQGV6IQ.js +0 -469
  161. package/dist/render-TMSPHRTY.js +0 -460
  162. package/dist/rootly-7RXE4K7L.js +0 -336
  163. package/dist/semantic_scholar-SDPVGDDI.js +0 -610
  164. package/dist/shopify-SU5ABP54.js +0 -609
  165. package/dist/stripe-JAC425KE.js +0 -584
  166. package/dist/tavily-Y7MDA5CI.js +0 -326
  167. package/dist/telegram-OIDT3ZLH.js +0 -1766
  168. package/dist/todoist-O7S2OUGX.js +0 -663
  169. package/dist/trello-3LDE4TAQ.js +0 -1079
  170. package/dist/turso-MUQ44KCA.js +0 -415
  171. package/dist/umami-SVQIK26J.js +0 -388
  172. package/dist/unsplash-333XYDCJ.js +0 -350
  173. package/dist/uptimerobot-7ZRU2NJV.js +0 -482
  174. package/dist/v2ex-AVSJCQPS.js +0 -666
  175. package/dist/vercel-J7RGXNSA.js +0 -1075
  176. package/dist/wordpress-THOJLPKA.js +0 -811
  177. package/dist/workos-ENTGRWF2.js +0 -663
  178. package/dist/zhihu-W2BXICTX.js +0 -253
@@ -9,14 +9,15 @@ import {
9
9
  createProviderPlugin,
10
10
  requireApiKey,
11
11
  upstreamError
12
- } from "./chunk-QR4LK3HF.js";
12
+ } from "./chunk-X7ZUTKHR.js";
13
13
  import {
14
14
  guardedFetch
15
- } from "./chunk-ZTTN6AJG.js";
15
+ } from "./chunk-7ISGFRC6.js";
16
+ import "./chunk-UY6ANCOY.js";
16
17
  import {
17
18
  TBError,
18
- external_exports
19
- } from "./chunk-MZCIPUNQ.js";
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 instanceof TBError) throw 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
- var copyDocumentInput = external_exports.strictObject({
691
- document_id: external_exports.string().describe("The ID of the Google Docs document to copy."),
692
- title: external_exports.string().describe("The title for the copied document.").optional(),
693
- include_shared_drives: external_exports.boolean().describe("Whether to include shared drives when locating the source document.").optional()
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 = external_exports.looseObject({
696
- id: external_exports.string().describe("The ID of the file in Google Drive."),
697
- name: external_exports.string().describe("The name of the file."),
698
- mimeType: external_exports.string().describe("The MIME type of the file."),
699
- webViewLink: external_exports.string().describe("A string value that may be null.").nullable().optional(),
700
- createdTime: external_exports.string().describe("A string value that may be null.").nullable().optional(),
701
- modifiedTime: external_exports.string().describe("A string value that may be null.").nullable().optional(),
702
- driveId: external_exports.string().describe("A string value that may be null.").nullable().optional(),
703
- parents: external_exports.array(external_exports.string()).describe("The IDs of the parent folders that contain the file.").optional(),
704
- owners: external_exports.array(external_exports.looseObject({
705
- displayName: external_exports.string().describe("A string value that may be null.").nullable().optional(),
706
- emailAddress: external_exports.string().describe("A string value that may be null.").nullable().optional(),
707
- permissionId: external_exports.string().describe("A string value that may be null.").nullable().optional(),
708
- photoLink: external_exports.string().describe("A string value that may be null.").nullable().optional()
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: external_exports.boolean().describe("Whether the file has been shared with others.").optional(),
711
- starred: external_exports.boolean().describe("Whether the user has starred the file.").optional(),
712
- trashed: external_exports.boolean().describe("Whether the file has been trashed.").optional()
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 = external_exports.strictObject({
715
- title: external_exports.string().describe("The title of the new document."),
716
- text: external_exports.string().describe("Initial text to insert at the beginning of the document.").optional()
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 = external_exports.looseObject({
719
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
720
- title: external_exports.string().describe("The title of the document."),
721
- revisionId: external_exports.string().describe("A string value that may be null.").nullable(),
722
- insertedTextLength: external_exports.int().describe("The number of characters inserted as initial text.")
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 = external_exports.strictObject({
725
- title: external_exports.string().describe("The title of the new document.")
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 = external_exports.looseObject({
728
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
729
- title: external_exports.string().describe("The title of the document."),
730
- revisionId: external_exports.string().describe("A string value that may be null.").nullable().optional()
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 = external_exports.strictObject({
733
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
734
- type: external_exports.string().describe("The type of footer to create."),
735
- section_break_location: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.looseObject({
738
- documentId: external_exports.string().describe("The ID of the document that was updated."),
739
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
740
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
743
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
744
- location: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
745
- endOfSegmentLocation: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.looseObject({
748
- documentId: external_exports.string().describe("The ID of the document that was updated."),
749
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
750
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
753
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
754
- type: external_exports.string().describe("The type of header to create.").optional(),
755
- text: external_exports.string().describe("Initial text to insert into the header.").optional(),
756
- sectionBreakLocation: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.looseObject({
759
- documentId: external_exports.string().describe("The ID of the document that was updated."),
760
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
761
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
764
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
765
- name: external_exports.string().min(1).max(256).describe("The name of the named range."),
766
- rangeStartIndex: external_exports.int().describe("The zero-based start index of the range."),
767
- rangeEndIndex: external_exports.int().describe("The zero-based end index of the range."),
768
- rangeSegmentId: external_exports.string().describe("The ID of the segment the range belongs to.").optional()
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 = external_exports.looseObject({
771
- documentId: external_exports.string().describe("The ID of the document that was updated."),
772
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
773
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
776
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
777
- createParagraphBullets: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")
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 = external_exports.looseObject({
780
- documentId: external_exports.string().describe("The ID of the document that was updated."),
781
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
782
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
785
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
786
- range: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")
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 = external_exports.looseObject({
789
- documentId: external_exports.string().describe("The ID of the document that was updated."),
790
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
791
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
794
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
795
- footer_id: external_exports.string().describe("The ID of the footer to delete."),
796
- tab_id: external_exports.string().describe("The ID of the tab containing the footer.").optional()
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 = external_exports.looseObject({
799
- documentId: external_exports.string().describe("The ID of the document that was updated."),
800
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
801
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
804
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
805
- header_id: external_exports.string().describe("The ID of the header to delete."),
806
- tab_id: external_exports.string().describe("The ID of the tab containing the header.").optional()
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 = external_exports.looseObject({
809
- documentId: external_exports.string().describe("The ID of the document that was updated."),
810
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
811
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
814
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
815
- deleteNamedRange: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")
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 = external_exports.looseObject({
818
- documentId: external_exports.string().describe("The ID of the document that was updated."),
819
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
820
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
823
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
824
- range: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys."),
825
- tab_id: external_exports.string().describe("The ID of the tab containing the range.").optional()
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 = external_exports.looseObject({
828
- documentId: external_exports.string().describe("The ID of the document that was updated."),
829
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
830
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
833
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
834
- requests: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).min(1).describe("DeleteTableColumnRequest objects.")
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 = external_exports.looseObject({
837
- documentId: external_exports.string().describe("The ID of the document that was updated."),
838
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
839
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
842
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
843
- tableCellLocation: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")
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 = external_exports.looseObject({
846
- documentId: external_exports.string().describe("The ID of the document that was updated."),
847
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
848
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
851
- file_id: external_exports.string().describe("The ID of the Google Docs file to export."),
852
- filename: external_exports.string().describe("The filename for the exported PDF.").optional()
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 = external_exports.looseObject({
855
- fileId: external_exports.string().describe("The ID of the exported file in Google Drive."),
856
- filename: external_exports.string().describe("The filename used for the exported PDF."),
857
- mimeType: external_exports.literal("application/pdf").describe("The MIME type of the exported file."),
858
- dataBase64: external_exports.string().describe("The Base64-encoded binary content of the exported PDF."),
859
- sizeBytes: external_exports.int().describe("The size of the exported PDF in bytes.")
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 = external_exports.strictObject({
862
- id: external_exports.string().describe("The ID of the Google Docs document to retrieve."),
863
- include_tabs_content: external_exports.boolean().describe("Whether to populate the tabs field in the response.").optional()
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 = external_exports.looseObject({
866
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
867
- title: external_exports.string().describe("The title of the document."),
868
- revisionId: external_exports.string().describe("A string value that may be null.").nullable().optional(),
869
- body: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
870
- headers: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
871
- footers: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
872
- footnotes: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
873
- tabs: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects.").optional(),
874
- documentStyle: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
875
- namedRanges: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
876
- inlineObjects: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
877
- lists: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
880
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
881
- include_tables: external_exports.boolean().describe("Whether to include table content.").optional(),
882
- include_footers: external_exports.boolean().describe("Whether to include footer content.").optional(),
883
- include_headers: external_exports.boolean().describe("Whether to include header content.").optional(),
884
- include_footnotes: external_exports.boolean().describe("Whether to include footnote content.").optional(),
885
- include_tabs_content: external_exports.boolean().describe("Whether to include content from all tabs.").optional(),
886
- table_row_delimiter: external_exports.string().describe("The delimiter to insert between table rows.").optional(),
887
- table_cell_delimiter: external_exports.string().describe("The delimiter to insert between table cells.").optional()
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 = external_exports.looseObject({
890
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
891
- title: external_exports.string().describe("A string value that may be null.").nullable(),
892
- text: external_exports.string().describe("The plain-text rendering of the document content.")
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 = external_exports.strictObject({
895
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
896
- uri: external_exports.url().describe("The publicly accessible URI of the image to insert."),
897
- location: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys."),
898
- objectSize: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.looseObject({
901
- documentId: external_exports.string().describe("The ID of the document that was updated."),
902
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
903
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
906
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
907
- insertPageBreak: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")
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 = external_exports.looseObject({
910
- documentId: external_exports.string().describe("The ID of the document that was updated."),
911
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
912
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
915
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
916
- rows: external_exports.int().gt(0).describe("The number of rows in the table to insert."),
917
- columns: external_exports.int().gt(0).describe("The number of columns in the table to insert."),
918
- index: external_exports.int().describe("The zero-based index at which to insert the table.").optional(),
919
- segmentId: external_exports.string().describe("The segment ID.").optional(),
920
- tabId: external_exports.string().describe("The tab ID.").optional(),
921
- insertAtEndOfSegment: external_exports.boolean().describe("Whether to insert at the end of the segment.").optional()
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 = external_exports.looseObject({
924
- documentId: external_exports.string().describe("The ID of the document that was updated."),
925
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
926
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
929
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
930
- requests: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).min(1).describe("InsertTableColumnRequest objects.")
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 = external_exports.looseObject({
933
- documentId: external_exports.string().describe("The ID of the document that was updated."),
934
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
935
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
938
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
939
- text_to_insert: external_exports.string().describe("The text to insert.").optional(),
940
- append_to_end: external_exports.boolean().describe("Whether to append the text to the end.").optional(),
941
- insertion_index: external_exports.int().describe("The zero-based index at which to insert the text.").optional(),
942
- segment_id: external_exports.string().describe("The segment ID.").optional()
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 = external_exports.looseObject({
945
- documentId: external_exports.string().describe("The ID of the document that was updated."),
946
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
947
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
950
- spreadsheet_id: external_exports.string().describe("The ID of the Google Sheets spreadsheet.")
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 = external_exports.looseObject({
953
- spreadsheetId: external_exports.string().describe("The ID of the Google Sheets spreadsheet."),
954
- title: external_exports.string().describe("A string value that may be null.").nullable(),
955
- sheets: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The sheets in the spreadsheet, each with their chart metadata.")
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 = external_exports.strictObject({
958
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
959
- find_text: external_exports.string().describe("The text or pattern to search for."),
960
- replace_text: external_exports.string().describe("The replacement text."),
961
- match_case: external_exports.boolean().describe("Whether the search should be case-sensitive.").optional(),
962
- search_by_regex: external_exports.boolean().describe("Whether to treat find_text as a regular expression.").optional(),
963
- tab_ids: external_exports.array(external_exports.string()).describe("The IDs of specific tabs to search.").optional()
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 = external_exports.looseObject({
966
- documentId: external_exports.string().describe("The ID of the document that was updated."),
967
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
968
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
971
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
972
- replace_image: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")
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 = external_exports.looseObject({
975
- documentId: external_exports.string().describe("The ID of the document that was updated."),
976
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
977
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
980
- query: external_exports.string().describe("A Google Drive query string or full-text search string.").optional(),
981
- order_by: external_exports.string().describe("A comma-separated list of fields to sort results by.").optional(),
982
- page_token: external_exports.string().describe("A page token from a previous search response.").optional(),
983
- max_results: external_exports.int().min(1).max(100).describe("The maximum number of files to return.").optional(),
984
- starred_only: external_exports.boolean().describe("Whether to return only starred files.").optional(),
985
- created_after: external_exports.iso.datetime({ offset: true }).describe("Only files created after this time are returned.").optional(),
986
- modified_after: external_exports.iso.datetime({ offset: true }).describe("Only files modified after this time are returned.").optional(),
987
- shared_with_me: external_exports.boolean().describe("Whether to return only files shared directly with the user.").optional(),
988
- include_trashed: external_exports.boolean().describe("Whether to include trashed files.").optional(),
989
- include_shared_drives: external_exports.boolean().describe("Whether to include files from shared drives.").optional()
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 = external_exports.looseObject({
992
- documents: external_exports.array(external_exports.looseObject({
993
- id: external_exports.string().describe("The ID of the file in Google Drive."),
994
- name: external_exports.string().describe("The name of the file."),
995
- mimeType: external_exports.string().describe("The MIME type of the file."),
996
- webViewLink: external_exports.string().describe("A string value that may be null.").nullable().optional(),
997
- createdTime: external_exports.string().describe("A string value that may be null.").nullable().optional(),
998
- modifiedTime: external_exports.string().describe("A string value that may be null.").nullable().optional(),
999
- driveId: external_exports.string().describe("A string value that may be null.").nullable().optional(),
1000
- parents: external_exports.array(external_exports.string()).describe("The IDs of the parent folders that contain the file.").optional(),
1001
- owners: external_exports.array(external_exports.looseObject({
1002
- displayName: external_exports.string().describe("A string value that may be null.").nullable().optional(),
1003
- emailAddress: external_exports.string().describe("A string value that may be null.").nullable().optional(),
1004
- permissionId: external_exports.string().describe("A string value that may be null.").nullable().optional(),
1005
- photoLink: external_exports.string().describe("A string value that may be null.").nullable().optional()
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: external_exports.boolean().describe("Whether the file has been shared with others.").optional(),
1008
- starred: external_exports.boolean().describe("Whether the user has starred the file.").optional(),
1009
- trashed: external_exports.boolean().describe("Whether the file has been trashed.").optional()
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: external_exports.string().describe("A string value that may be null.").nullable()
1013
+ nextPageToken: z.string().describe("A string value that may be null.").nullable()
1012
1014
  }).describe("Google Docs action output.");
1013
- var unmergeTableCellsInput = external_exports.strictObject({
1014
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
1015
- tableRange: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")
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 = external_exports.looseObject({
1018
- documentId: external_exports.string().describe("The ID of the document that was updated."),
1019
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
1020
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
1023
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
1024
- requests: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).min(1).describe("Docs API Request objects."),
1025
- write_control: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.looseObject({
1028
- documentId: external_exports.string().describe("The ID of the document that was updated."),
1029
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
1030
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
1033
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
1034
- document_style: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys."),
1035
- fields: external_exports.string().describe("A field mask specifying which style properties to update.").optional(),
1036
- tab_id: external_exports.string().describe("The ID of the tab whose document style should be updated.").optional()
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 = external_exports.looseObject({
1039
- documentId: external_exports.string().describe("The ID of the document that was updated."),
1040
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
1041
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
1044
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
1045
- editDocs: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).min(1).describe("Docs API Request objects describing the edits.")
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 = external_exports.looseObject({
1048
- documentId: external_exports.string().describe("The ID of the document that was updated."),
1049
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
1050
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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 = external_exports.strictObject({
1053
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
1054
- updateTableRowStyle: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")
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 = external_exports.looseObject({
1057
- documentId: external_exports.string().describe("The ID of the document that was updated."),
1058
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
1059
- writeControl: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional()
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: external_exports.toJSONSchema(copyDocumentOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(createDocumentOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(createDocument2Output, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(createFooterOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(createFootnoteOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(createHeaderOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(createNamedRangeOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(createParagraphBulletsOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(deleteContentRangeOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(deleteFooterOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(deleteHeaderOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(deleteNamedRangeOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(deleteParagraphBulletsOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(deleteTableColumnOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(deleteTableRowOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(exportDocumentAsPdfOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(getDocumentByIdOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(getDocumentPlaintextOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(insertInlineImageOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(insertPageBreakOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(insertTableActionOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(insertTableColumnOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(insertTextActionOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(listSpreadsheetChartsOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(replaceAllTextOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(replaceImageOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(searchDocumentsOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(unmergeTableCellsOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(updateDocumentBatchOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(updateDocumentStyleOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(updateExistingDocumentOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(updateTableRowStyleOutput, { io: "output", unrepresentable: "any" })
1254
+ outputSchema: z.toJSONSchema(updateTableRowStyleOutput, { io: "output", unrepresentable: "any" })
1253
1255
  }
1254
1256
  };
1255
1257