@tool-bridge/server 0.21.1 → 0.23.0

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-VMQVXLHK.js +790 -0
  3. package/dist/{alt_text_generator_ai-W7O34SNG.js → alt_text_generator_ai-FTWY4RU4.js} +12 -11
  4. package/dist/{amap-VOX4T2AW.js → amap-OK5VBHYC.js} +221 -220
  5. package/dist/anthropic-S67AZFZ3.js +203 -0
  6. package/dist/apify-ZE6MYQI3.js +248 -0
  7. package/dist/brave_search-TG2M2KOD.js +302 -0
  8. package/dist/chunk-2JNAI4OC.js +161 -0
  9. package/dist/{chunk-KMTT3I6D.js → chunk-4XJPN3DY.js} +19392 -26136
  10. package/dist/chunk-5ICRY3VU.js +8432 -0
  11. package/dist/chunk-7CTWGTDU.js +302 -0
  12. package/dist/chunk-BADVCN6K.js +378 -0
  13. package/dist/{chunk-XYBU3WZH.js → chunk-TDAWLMDE.js} +3 -3
  14. package/dist/chunk-U7PTOA3U.js +7320 -0
  15. package/dist/{chunk-E6JCVKW6.js → chunk-VWRUGUSU.js} +3 -3
  16. package/dist/{chunk-ATK45BXV.js → chunk-WJHG6OK7.js} +4 -2
  17. package/dist/circleci-3L3WJVSK.js +389 -0
  18. package/dist/clerk-EZPF2V7T.js +1019 -0
  19. package/dist/cohere-U27DPO64.js +185 -0
  20. package/dist/{confluence-B3EWPZVE.js → confluence-G2KL6ERH.js} +105 -104
  21. package/dist/{convertapi-EUWSQYPF.js → convertapi-L4CLJ2M3.js} +32 -31
  22. package/dist/{currencyapi-KVTIK3GL.js → currencyapi-YPYXG7YY.js} +71 -71
  23. package/dist/deepseek-6HT6WF3M.js +210 -0
  24. package/dist/docker_hub-LPE3PCVB.js +933 -0
  25. package/dist/dropbox-V56ABHTA.js +1305 -0
  26. package/dist/dub-6OKQ7MHT.js +680 -0
  27. package/dist/e2b-JS2U2QFU.js +278 -0
  28. package/dist/exa-DPWVYXSP.js +332 -0
  29. package/dist/{fal_ai-23E7JPNT.js → fal_ai-DK6Y27ZF.js} +81 -80
  30. package/dist/{feishu-7QRIDUV6.js → feishu-K7EGSRF3.js} +528 -572
  31. package/dist/{feishu_custom_bot-TJ4K7QNJ.js → feishu_custom_bot-2JUGFYNG.js} +57 -53
  32. package/dist/figma-FT5I7ITD.js +777 -0
  33. package/dist/firehydrant-EIKLKHX2.js +563 -0
  34. package/dist/{fixer-BWON27UO.js → fixer-U5QXIAKD.js} +34 -33
  35. package/dist/fly-T3JYFZ2M.js +469 -0
  36. package/dist/{front-QCGXYEDJ.js → front-D72MGVOR.js} +104 -104
  37. package/dist/geocodio-BOTD5TI5.js +213 -0
  38. package/dist/ghost-KYP7SZGB.js +338 -0
  39. package/dist/github-AGMZT3VY.js +5421 -0
  40. package/dist/gmail-BLJNJOBG.js +1887 -0
  41. package/dist/googlecalendar-GTHWNCF6.js +2524 -0
  42. package/dist/{googledocs-BUHL4J2H.js → googledocs-6EEDMEBQ.js} +341 -340
  43. package/dist/{grafana-GLU2DWF2.js → grafana-GMW6EKSQ.js} +221 -220
  44. package/dist/graphhopper-6OLGBDGB.js +325 -0
  45. package/dist/index.d.ts +1132 -332
  46. package/dist/index.js +31 -14
  47. package/dist/{ip2proxy-EZ64Y4ZH.js → ip2proxy-4QN42E6T.js} +28 -27
  48. package/dist/ipgeolocation_io-SK4XKDA2.js +315 -0
  49. package/dist/ipqualityscore-6ANBPXKT.js +279 -0
  50. package/dist/{jina_ai-EFBHTBXL.js → jina_ai-IHPSVRM5.js} +23 -23
  51. package/dist/{jira-HQSHAA5K.js → jira-46KKM4LC.js} +118 -117
  52. package/dist/langsmith-JZA345I5.js +593 -0
  53. package/dist/lemlist-43IV7DK6.js +289 -0
  54. package/dist/{linear-K7RYFYAD.js → linear-5LFH7XNL.js} +327 -326
  55. package/dist/logsnag-5RMYAHIL.js +150 -0
  56. package/dist/main.js +57 -280
  57. package/dist/{mattermost-S2BRCWLQ.js → mattermost-XFL6SHGG.js} +59 -58
  58. package/dist/mem0-NYO4DTP6.js +544 -0
  59. package/dist/memos-37MPQOLV.js +744 -0
  60. package/dist/{metabase-MMSEPCOF.js → metabase-KYBKZFMG.js} +90 -89
  61. package/dist/mistral_ai-6PL3K4PM.js +1196 -0
  62. package/dist/{mother_duck-H7PCQNZ2.js → mother_duck-2NH7W5M5.js} +94 -93
  63. package/dist/ngrok-UO6CDYCA.js +356 -0
  64. package/dist/{notes-PFMKRO33.js → notes-I3P32WP4.js} +11 -9
  65. package/dist/notion-BEAJFUOE.js +940 -0
  66. package/dist/open_exchange_rates-CMF62JB4.js +215 -0
  67. package/dist/openai-IHOMKVND.js +800 -0
  68. package/dist/opengraph_io-ZQ2FGLHX.js +362 -0
  69. package/dist/openrouter-HXLW3NR5.js +441 -0
  70. package/dist/outline-ELCP4NEU.js +599 -0
  71. package/dist/paddle-O77LALVN.js +454 -0
  72. package/dist/perplexity-JCU654QV.js +220 -0
  73. package/dist/pinecone-W5W4LRKL.js +571 -0
  74. package/dist/{pipedrive-Y2O7QGFF.js → pipedrive-ITMJLLPZ.js} +99 -98
  75. package/dist/polar-R33XU4L3.js +395 -0
  76. package/dist/posthog-JVNTOLTV.js +3464 -0
  77. package/dist/postmark-6SBG7HWV.js +427 -0
  78. package/dist/{prerender-MENYM2TY.js → prerender-GPNKTNFC.js} +31 -30
  79. package/dist/{pubmed-GOXUVVH5.js → pubmed-UP6ZEEIH.js} +239 -238
  80. package/dist/{railway-V2SID4WV.js → railway-KWEWXHTY.js} +118 -117
  81. package/dist/readwise-BLATSMC3.js +470 -0
  82. package/dist/render-QYRVIXII.js +461 -0
  83. package/dist/{replicate-756MXPYX.js → replicate-JYTWH4NF.js} +81 -80
  84. package/dist/{resend-ZKH3BTBI.js → resend-L5N75SZM.js} +20 -16
  85. package/dist/rootly-MHCPEQ26.js +336 -0
  86. package/dist/{scrapfly-NSRHFDIQ.js → scrapfly-PTPGYSJM.js} +62 -61
  87. package/dist/{scrapingbee-OQHLAVEY.js → scrapingbee-JN6UH5PY.js} +56 -56
  88. package/dist/{screenshot_fyi-DVWG3AXC.js → screenshot_fyi-4QRVSV55.js} +16 -16
  89. package/dist/semantic_scholar-LRSWA2GE.js +611 -0
  90. package/dist/{sentry-546MNDJG.js → sentry-2G6PF5W6.js} +208 -207
  91. package/dist/{shodan-C3OON3Z3.js → shodan-WKKPP5C6.js} +62 -61
  92. package/dist/shopify-64YDK5T2.js +610 -0
  93. package/dist/stripe-QAIGGOTF.js +585 -0
  94. package/dist/{supabase-U2SL4D63.js → supabase-WHTGR6ND.js} +245 -244
  95. package/dist/tavily-QIXCDDWO.js +326 -0
  96. package/dist/telegram-E6G7CWI6.js +1767 -0
  97. package/dist/{telnyx-CXQ4EZUX.js → telnyx-ZDVVS7PK.js} +57 -56
  98. package/dist/todoist-DMYF3G7J.js +664 -0
  99. package/dist/trello-HY2RYIRP.js +1080 -0
  100. package/dist/turso-HAQWMGRP.js +416 -0
  101. package/dist/{twilio-4PDBJKWX.js → twilio-MLXYPHJE.js} +70 -69
  102. package/dist/umami-DZHBLPVG.js +389 -0
  103. package/dist/unsplash-GS2OPXKE.js +351 -0
  104. package/dist/{upstash_redis-G4LQBYHA.js → upstash_redis-XMXWTNAJ.js} +51 -50
  105. package/dist/uptimerobot-TF5WRZ4G.js +483 -0
  106. package/dist/v2ex-2BVXAPDF.js +667 -0
  107. package/dist/vercel-YMJGQYJE.js +1076 -0
  108. package/dist/{wolfram_alpha_api-3G4PUJWB.js → wolfram_alpha_api-I56SXWFZ.js} +36 -35
  109. package/dist/wordpress-R7TDFZ2P.js +812 -0
  110. package/dist/workos-HDNHWVMS.js +664 -0
  111. package/dist/zhihu-LX6AGGDS.js +254 -0
  112. package/package.json +18 -9
  113. package/dist/airtable-LLZDFN7M.js +0 -789
  114. package/dist/anthropic-G23NN3X5.js +0 -202
  115. package/dist/apify-Y3SS734K.js +0 -247
  116. package/dist/brave_search-ZC7OAPSZ.js +0 -301
  117. package/dist/chunk-R6P4XAE5.js +0 -248
  118. package/dist/chunk-U7B6DS2O.js +0 -977
  119. package/dist/chunk-UZM2RXZH.js +0 -23436
  120. package/dist/circleci-3BAX5FCG.js +0 -388
  121. package/dist/clerk-6LEM6TNU.js +0 -1019
  122. package/dist/cloudflare_dns-KINYTJUD.js +0 -588
  123. package/dist/cohere-XCJ5AJ6B.js +0 -185
  124. package/dist/deepseek-PC5YGNC5.js +0 -209
  125. package/dist/docker_hub-C3MA5FU6.js +0 -932
  126. package/dist/dropbox-XBV7Z2IR.js +0 -1304
  127. package/dist/dub-LDOFG3HC.js +0 -679
  128. package/dist/e2b-JMCPSVBW.js +0 -277
  129. package/dist/exa-RAK7O7RD.js +0 -331
  130. package/dist/figma-E6IX5DTH.js +0 -773
  131. package/dist/firehydrant-ZBLPQREE.js +0 -562
  132. package/dist/fly-ZH3HFCZJ.js +0 -468
  133. package/dist/geocodio-YGNI7DA4.js +0 -212
  134. package/dist/ghost-EVSGKH2Q.js +0 -337
  135. package/dist/github-MA2BGRCJ.js +0 -5420
  136. package/dist/gmail-E5E6AADE.js +0 -1886
  137. package/dist/googlecalendar-BTLFPXTD.js +0 -2523
  138. package/dist/graphhopper-WSMB3TCD.js +0 -324
  139. package/dist/ipgeolocation_io-AA7HAS22.js +0 -315
  140. package/dist/ipqualityscore-BHJXVTJT.js +0 -277
  141. package/dist/langsmith-5W6SCT6F.js +0 -592
  142. package/dist/lemlist-HJWH6UMK.js +0 -288
  143. package/dist/logsnag-4KFOHL37.js +0 -150
  144. package/dist/mem0-CAW43CIC.js +0 -543
  145. package/dist/memos-TWEGPKFM.js +0 -740
  146. package/dist/mistral_ai-64BGZQHP.js +0 -1195
  147. package/dist/ngrok-GQCUGZKJ.js +0 -356
  148. package/dist/notion-DQWZWP4N.js +0 -936
  149. package/dist/open_exchange_rates-QMMD735E.js +0 -214
  150. package/dist/openai-W6PX32NZ.js +0 -799
  151. package/dist/opengraph_io-HNDBXYNW.js +0 -361
  152. package/dist/openrouter-JJYMEAUL.js +0 -437
  153. package/dist/outline-MCBNQZYY.js +0 -595
  154. package/dist/paddle-D2SKLUDN.js +0 -453
  155. package/dist/perplexity-XIFMKUAE.js +0 -219
  156. package/dist/pinecone-HUFTALV2.js +0 -570
  157. package/dist/polar-TYTOMOSR.js +0 -394
  158. package/dist/posthog-43JAR3VW.js +0 -3463
  159. package/dist/postmark-KL2QJYSG.js +0 -426
  160. package/dist/readwise-CI4GIMMJ.js +0 -469
  161. package/dist/render-SUBJ6YRZ.js +0 -460
  162. package/dist/rootly-CD2LJHPI.js +0 -336
  163. package/dist/semantic_scholar-T4A252KW.js +0 -610
  164. package/dist/shopify-Y2HN2MCQ.js +0 -609
  165. package/dist/stripe-VE3CD3AY.js +0 -584
  166. package/dist/tavily-KCZHK6HE.js +0 -326
  167. package/dist/telegram-3URFBCMY.js +0 -1766
  168. package/dist/todoist-HNPWNYTD.js +0 -663
  169. package/dist/trello-3W2MIXRP.js +0 -1079
  170. package/dist/turso-2EQF7C2Z.js +0 -415
  171. package/dist/umami-5REN7TGP.js +0 -388
  172. package/dist/unsplash-EIXL424F.js +0 -350
  173. package/dist/uptimerobot-KNJ3EYLY.js +0 -482
  174. package/dist/v2ex-RHJ234PZ.js +0 -666
  175. package/dist/vercel-AS6NCIC7.js +0 -1075
  176. package/dist/wordpress-KNDAAUV7.js +0 -811
  177. package/dist/workos-R6UITSJ7.js +0 -663
  178. package/dist/zhihu-AGK4HILK.js +0 -253
@@ -9,15 +9,15 @@ import {
9
9
  createProviderPlugin,
10
10
  requireApiKey,
11
11
  upstreamError
12
- } from "./chunk-ATK45BXV.js";
12
+ } from "./chunk-WJHG6OK7.js";
13
13
  import {
14
14
  guardedFetch
15
- } from "./chunk-U7B6DS2O.js";
15
+ } from "./chunk-2JNAI4OC.js";
16
+ import "./chunk-BADVCN6K.js";
16
17
  import {
17
18
  TBError,
18
- external_exports,
19
19
  isTBError
20
- } from "./chunk-UZM2RXZH.js";
20
+ } from "./chunk-5ICRY3VU.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
- var copyDocumentInput = external_exports.strictObject({
692
- document_id: external_exports.string().describe("The ID of the Google Docs document to copy."),
693
- title: external_exports.string().describe("The title for the copied document.").optional(),
694
- 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()
695
696
  }).describe("The input payload for this action.");
696
- var copyDocumentOutput = external_exports.looseObject({
697
- id: external_exports.string().describe("The ID of the file in Google Drive."),
698
- name: external_exports.string().describe("The name of the file."),
699
- mimeType: external_exports.string().describe("The MIME type of the file."),
700
- webViewLink: external_exports.string().describe("A string value that may be null.").nullable().optional(),
701
- createdTime: external_exports.string().describe("A string value that may be null.").nullable().optional(),
702
- modifiedTime: external_exports.string().describe("A string value that may be null.").nullable().optional(),
703
- driveId: external_exports.string().describe("A string value that may be null.").nullable().optional(),
704
- parents: external_exports.array(external_exports.string()).describe("The IDs of the parent folders that contain the file.").optional(),
705
- owners: external_exports.array(external_exports.looseObject({
706
- displayName: external_exports.string().describe("A string value that may be null.").nullable().optional(),
707
- emailAddress: external_exports.string().describe("A string value that may be null.").nullable().optional(),
708
- permissionId: external_exports.string().describe("A string value that may be null.").nullable().optional(),
709
- 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()
710
711
  }).describe("Google Drive file owner.")).describe("The owners of the file.").optional(),
711
- shared: external_exports.boolean().describe("Whether the file has been shared with others.").optional(),
712
- starred: external_exports.boolean().describe("Whether the user has starred the file.").optional(),
713
- 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()
714
715
  }).describe("Google Drive file metadata.");
715
- var createDocumentInput = external_exports.strictObject({
716
- title: external_exports.string().describe("The title of the new document."),
717
- 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()
718
719
  }).describe("The input payload for this action.");
719
- var createDocumentOutput = external_exports.looseObject({
720
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
721
- title: external_exports.string().describe("The title of the document."),
722
- revisionId: external_exports.string().describe("A string value that may be null.").nullable(),
723
- 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.")
724
725
  }).describe("Google Docs action output.");
725
- var createDocument2Input = external_exports.strictObject({
726
- 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.")
727
728
  }).describe("The input payload for this action.");
728
- var createDocument2Output = external_exports.looseObject({
729
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
730
- title: external_exports.string().describe("The title of the document."),
731
- 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()
732
733
  }).describe("Google Docs document summary.");
733
- var createFooterInput = external_exports.strictObject({
734
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
735
- type: external_exports.string().describe("The type of footer to create."),
736
- 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()
737
738
  }).describe("The input payload for this action.");
738
- var createFooterOutput = external_exports.looseObject({
739
- documentId: external_exports.string().describe("The ID of the document that was updated."),
740
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
741
- 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()
742
743
  }).describe("Google Docs batch update result.");
743
- var createFootnoteInput = external_exports.strictObject({
744
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
745
- location: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
746
- 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()
747
748
  }).describe("The input payload for this action.");
748
- var createFootnoteOutput = external_exports.looseObject({
749
- documentId: external_exports.string().describe("The ID of the document that was updated."),
750
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
751
- 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()
752
753
  }).describe("Google Docs batch update result.");
753
- var createHeaderInput = external_exports.strictObject({
754
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
755
- type: external_exports.string().describe("The type of header to create.").optional(),
756
- text: external_exports.string().describe("Initial text to insert into the header.").optional(),
757
- 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()
758
759
  }).describe("The input payload for this action.");
759
- var createHeaderOutput = external_exports.looseObject({
760
- documentId: external_exports.string().describe("The ID of the document that was updated."),
761
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
762
- 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()
763
764
  }).describe("Google Docs batch update result.");
764
- var createNamedRangeInput = external_exports.strictObject({
765
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
766
- name: external_exports.string().min(1).max(256).describe("The name of the named range."),
767
- rangeStartIndex: external_exports.int().describe("The zero-based start index of the range."),
768
- rangeEndIndex: external_exports.int().describe("The zero-based end index of the range."),
769
- 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()
770
771
  }).describe("The input payload for this action.");
771
- var createNamedRangeOutput = external_exports.looseObject({
772
- documentId: external_exports.string().describe("The ID of the document that was updated."),
773
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
774
- 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()
775
776
  }).describe("Google Docs batch update result.");
776
- var createParagraphBulletsInput = external_exports.strictObject({
777
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
778
- 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.")
779
780
  }).describe("The input payload for this action.");
780
- var createParagraphBulletsOutput = external_exports.looseObject({
781
- documentId: external_exports.string().describe("The ID of the document that was updated."),
782
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
783
- 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()
784
785
  }).describe("Google Docs batch update result.");
785
- var deleteContentRangeInput = external_exports.strictObject({
786
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
787
- 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.")
788
789
  }).describe("The input payload for this action.");
789
- var deleteContentRangeOutput = external_exports.looseObject({
790
- documentId: external_exports.string().describe("The ID of the document that was updated."),
791
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
792
- 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()
793
794
  }).describe("Google Docs batch update result.");
794
- var deleteFooterInput = external_exports.strictObject({
795
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
796
- footer_id: external_exports.string().describe("The ID of the footer to delete."),
797
- 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()
798
799
  }).describe("The input payload for this action.");
799
- var deleteFooterOutput = external_exports.looseObject({
800
- documentId: external_exports.string().describe("The ID of the document that was updated."),
801
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
802
- 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()
803
804
  }).describe("Google Docs batch update result.");
804
- var deleteHeaderInput = external_exports.strictObject({
805
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
806
- header_id: external_exports.string().describe("The ID of the header to delete."),
807
- 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()
808
809
  }).describe("The input payload for this action.");
809
- var deleteHeaderOutput = external_exports.looseObject({
810
- documentId: external_exports.string().describe("The ID of the document that was updated."),
811
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
812
- 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()
813
814
  }).describe("Google Docs batch update result.");
814
- var deleteNamedRangeInput = external_exports.strictObject({
815
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
816
- 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.")
817
818
  }).describe("The input payload for this action.");
818
- var deleteNamedRangeOutput = external_exports.looseObject({
819
- documentId: external_exports.string().describe("The ID of the document that was updated."),
820
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
821
- 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()
822
823
  }).describe("Google Docs batch update result.");
823
- var deleteParagraphBulletsInput = external_exports.strictObject({
824
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
825
- range: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys."),
826
- 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()
827
828
  }).describe("The input payload for this action.");
828
- var deleteParagraphBulletsOutput = external_exports.looseObject({
829
- documentId: external_exports.string().describe("The ID of the document that was updated."),
830
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
831
- 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()
832
833
  }).describe("Google Docs batch update result.");
833
- var deleteTableColumnInput = external_exports.strictObject({
834
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
835
- 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.")
836
837
  }).describe("The input payload for this action.");
837
- var deleteTableColumnOutput = external_exports.looseObject({
838
- documentId: external_exports.string().describe("The ID of the document that was updated."),
839
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
840
- 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()
841
842
  }).describe("Google Docs batch update result.");
842
- var deleteTableRowInput = external_exports.strictObject({
843
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
844
- 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.")
845
846
  }).describe("The input payload for this action.");
846
- var deleteTableRowOutput = external_exports.looseObject({
847
- documentId: external_exports.string().describe("The ID of the document that was updated."),
848
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
849
- 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()
850
851
  }).describe("Google Docs batch update result.");
851
- var exportDocumentAsPdfInput = external_exports.strictObject({
852
- file_id: external_exports.string().describe("The ID of the Google Docs file to export."),
853
- 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()
854
855
  }).describe("The input payload for this action.");
855
- var exportDocumentAsPdfOutput = external_exports.looseObject({
856
- fileId: external_exports.string().describe("The ID of the exported file in Google Drive."),
857
- filename: external_exports.string().describe("The filename used for the exported PDF."),
858
- mimeType: external_exports.literal("application/pdf").describe("The MIME type of the exported file."),
859
- dataBase64: external_exports.string().describe("The Base64-encoded binary content of the exported PDF."),
860
- 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.")
861
862
  }).describe("Google Docs action output.");
862
- var getDocumentByIdInput = external_exports.strictObject({
863
- id: external_exports.string().describe("The ID of the Google Docs document to retrieve."),
864
- 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()
865
866
  }).describe("The input payload for this action.");
866
- var getDocumentByIdOutput = external_exports.looseObject({
867
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
868
- title: external_exports.string().describe("The title of the document."),
869
- revisionId: external_exports.string().describe("A string value that may be null.").nullable().optional(),
870
- body: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
871
- headers: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
872
- footers: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
873
- footnotes: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
874
- tabs: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects.").optional(),
875
- documentStyle: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
876
- namedRanges: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
877
- inlineObjects: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
878
- 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()
879
880
  }).describe("Google Docs document detail.");
880
- var getDocumentPlaintextInput = external_exports.strictObject({
881
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
882
- include_tables: external_exports.boolean().describe("Whether to include table content.").optional(),
883
- include_footers: external_exports.boolean().describe("Whether to include footer content.").optional(),
884
- include_headers: external_exports.boolean().describe("Whether to include header content.").optional(),
885
- include_footnotes: external_exports.boolean().describe("Whether to include footnote content.").optional(),
886
- include_tabs_content: external_exports.boolean().describe("Whether to include content from all tabs.").optional(),
887
- table_row_delimiter: external_exports.string().describe("The delimiter to insert between table rows.").optional(),
888
- 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()
889
890
  }).describe("The input payload for this action.");
890
- var getDocumentPlaintextOutput = external_exports.looseObject({
891
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
892
- title: external_exports.string().describe("A string value that may be null.").nullable(),
893
- 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.")
894
895
  }).describe("Google Docs action output.");
895
- var insertInlineImageInput = external_exports.strictObject({
896
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
897
- uri: external_exports.url().describe("The publicly accessible URI of the image to insert."),
898
- location: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys."),
899
- 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()
900
901
  }).describe("The input payload for this action.");
901
- var insertInlineImageOutput = external_exports.looseObject({
902
- documentId: external_exports.string().describe("The ID of the document that was updated."),
903
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
904
- 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()
905
906
  }).describe("Google Docs batch update result.");
906
- var insertPageBreakInput = external_exports.strictObject({
907
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
908
- 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.")
909
910
  }).describe("The input payload for this action.");
910
- var insertPageBreakOutput = external_exports.looseObject({
911
- documentId: external_exports.string().describe("The ID of the document that was updated."),
912
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
913
- 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()
914
915
  }).describe("Google Docs batch update result.");
915
- var insertTableActionInput = external_exports.strictObject({
916
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
917
- rows: external_exports.int().gt(0).describe("The number of rows in the table to insert."),
918
- columns: external_exports.int().gt(0).describe("The number of columns in the table to insert."),
919
- index: external_exports.int().describe("The zero-based index at which to insert the table.").optional(),
920
- segmentId: external_exports.string().describe("The segment ID.").optional(),
921
- tabId: external_exports.string().describe("The tab ID.").optional(),
922
- 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()
923
924
  }).describe("The input payload for this action.");
924
- var insertTableActionOutput = external_exports.looseObject({
925
- documentId: external_exports.string().describe("The ID of the document that was updated."),
926
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
927
- 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()
928
929
  }).describe("Google Docs batch update result.");
929
- var insertTableColumnInput = external_exports.strictObject({
930
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
931
- 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.")
932
933
  }).describe("The input payload for this action.");
933
- var insertTableColumnOutput = external_exports.looseObject({
934
- documentId: external_exports.string().describe("The ID of the document that was updated."),
935
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
936
- 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()
937
938
  }).describe("Google Docs batch update result.");
938
- var insertTextActionInput = external_exports.strictObject({
939
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
940
- text_to_insert: external_exports.string().describe("The text to insert.").optional(),
941
- append_to_end: external_exports.boolean().describe("Whether to append the text to the end.").optional(),
942
- insertion_index: external_exports.int().describe("The zero-based index at which to insert the text.").optional(),
943
- 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()
944
945
  }).describe("The input payload for this action.");
945
- var insertTextActionOutput = external_exports.looseObject({
946
- documentId: external_exports.string().describe("The ID of the document that was updated."),
947
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
948
- 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()
949
950
  }).describe("Google Docs batch update result.");
950
- var listSpreadsheetChartsInput = external_exports.strictObject({
951
- 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.")
952
953
  }).describe("The input payload for this action.");
953
- var listSpreadsheetChartsOutput = external_exports.looseObject({
954
- spreadsheetId: external_exports.string().describe("The ID of the Google Sheets spreadsheet."),
955
- title: external_exports.string().describe("A string value that may be null.").nullable(),
956
- 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.")
957
958
  }).describe("Google Docs action output.");
958
- var replaceAllTextInput = external_exports.strictObject({
959
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
960
- find_text: external_exports.string().describe("The text or pattern to search for."),
961
- replace_text: external_exports.string().describe("The replacement text."),
962
- match_case: external_exports.boolean().describe("Whether the search should be case-sensitive.").optional(),
963
- search_by_regex: external_exports.boolean().describe("Whether to treat find_text as a regular expression.").optional(),
964
- 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()
965
966
  }).describe("The input payload for this action.");
966
- var replaceAllTextOutput = external_exports.looseObject({
967
- documentId: external_exports.string().describe("The ID of the document that was updated."),
968
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
969
- 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()
970
971
  }).describe("Google Docs batch update result.");
971
- var replaceImageInput = external_exports.strictObject({
972
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
973
- 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.")
974
975
  }).describe("The input payload for this action.");
975
- var replaceImageOutput = external_exports.looseObject({
976
- documentId: external_exports.string().describe("The ID of the document that was updated."),
977
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
978
- 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()
979
980
  }).describe("Google Docs batch update result.");
980
- var searchDocumentsInput = external_exports.strictObject({
981
- query: external_exports.string().describe("A Google Drive query string or full-text search string.").optional(),
982
- order_by: external_exports.string().describe("A comma-separated list of fields to sort results by.").optional(),
983
- page_token: external_exports.string().describe("A page token from a previous search response.").optional(),
984
- max_results: external_exports.int().min(1).max(100).describe("The maximum number of files to return.").optional(),
985
- starred_only: external_exports.boolean().describe("Whether to return only starred files.").optional(),
986
- created_after: external_exports.iso.datetime({ offset: true }).describe("Only files created after this time are returned.").optional(),
987
- modified_after: external_exports.iso.datetime({ offset: true }).describe("Only files modified after this time are returned.").optional(),
988
- shared_with_me: external_exports.boolean().describe("Whether to return only files shared directly with the user.").optional(),
989
- include_trashed: external_exports.boolean().describe("Whether to include trashed files.").optional(),
990
- 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()
991
992
  }).describe("The input payload for this action.");
992
- var searchDocumentsOutput = external_exports.looseObject({
993
- documents: external_exports.array(external_exports.looseObject({
994
- id: external_exports.string().describe("The ID of the file in Google Drive."),
995
- name: external_exports.string().describe("The name of the file."),
996
- mimeType: external_exports.string().describe("The MIME type of the file."),
997
- webViewLink: external_exports.string().describe("A string value that may be null.").nullable().optional(),
998
- createdTime: external_exports.string().describe("A string value that may be null.").nullable().optional(),
999
- modifiedTime: external_exports.string().describe("A string value that may be null.").nullable().optional(),
1000
- driveId: external_exports.string().describe("A string value that may be null.").nullable().optional(),
1001
- parents: external_exports.array(external_exports.string()).describe("The IDs of the parent folders that contain the file.").optional(),
1002
- owners: external_exports.array(external_exports.looseObject({
1003
- displayName: external_exports.string().describe("A string value that may be null.").nullable().optional(),
1004
- emailAddress: external_exports.string().describe("A string value that may be null.").nullable().optional(),
1005
- permissionId: external_exports.string().describe("A string value that may be null.").nullable().optional(),
1006
- 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()
1007
1008
  }).describe("Google Drive file owner.")).describe("The owners of the file.").optional(),
1008
- shared: external_exports.boolean().describe("Whether the file has been shared with others.").optional(),
1009
- starred: external_exports.boolean().describe("Whether the user has starred the file.").optional(),
1010
- 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()
1011
1012
  }).describe("Google Drive file metadata.")).describe("The list of matching Google Docs files."),
1012
- 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()
1013
1014
  }).describe("Google Docs action output.");
1014
- var unmergeTableCellsInput = external_exports.strictObject({
1015
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
1016
- 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.")
1017
1018
  }).describe("The input payload for this action.");
1018
- var unmergeTableCellsOutput = external_exports.looseObject({
1019
- documentId: external_exports.string().describe("The ID of the document that was updated."),
1020
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
1021
- 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()
1022
1023
  }).describe("Google Docs batch update result.");
1023
- var updateDocumentBatchInput = external_exports.strictObject({
1024
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
1025
- requests: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).min(1).describe("Docs API Request objects."),
1026
- 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()
1027
1028
  }).describe("The input payload for this action.");
1028
- var updateDocumentBatchOutput = external_exports.looseObject({
1029
- documentId: external_exports.string().describe("The ID of the document that was updated."),
1030
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
1031
- 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()
1032
1033
  }).describe("Google Docs batch update result.");
1033
- var updateDocumentStyleInput = external_exports.strictObject({
1034
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
1035
- document_style: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys."),
1036
- fields: external_exports.string().describe("A field mask specifying which style properties to update.").optional(),
1037
- 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()
1038
1039
  }).describe("The input payload for this action.");
1039
- var updateDocumentStyleOutput = external_exports.looseObject({
1040
- documentId: external_exports.string().describe("The ID of the document that was updated."),
1041
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
1042
- 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()
1043
1044
  }).describe("Google Docs batch update result.");
1044
- var updateExistingDocumentInput = external_exports.strictObject({
1045
- document_id: external_exports.string().describe("The ID of the Google Docs document."),
1046
- 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.")
1047
1048
  }).describe("The input payload for this action.");
1048
- var updateExistingDocumentOutput = external_exports.looseObject({
1049
- documentId: external_exports.string().describe("The ID of the document that was updated."),
1050
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
1051
- 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()
1052
1053
  }).describe("Google Docs batch update result.");
1053
- var updateTableRowStyleInput = external_exports.strictObject({
1054
- documentId: external_exports.string().describe("The ID of the Google Docs document."),
1055
- 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.")
1056
1057
  }).describe("The input payload for this action.");
1057
- var updateTableRowStyleOutput = external_exports.looseObject({
1058
- documentId: external_exports.string().describe("The ID of the document that was updated."),
1059
- replies: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("An array of JSON-like objects."),
1060
- 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()
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: external_exports.toJSONSchema(copyDocumentOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(createDocumentOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(createDocument2Output, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(createFooterOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(createFootnoteOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(createHeaderOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(createNamedRangeOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(createParagraphBulletsOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(deleteContentRangeOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(deleteFooterOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(deleteHeaderOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(deleteNamedRangeOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(deleteParagraphBulletsOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(deleteTableColumnOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(deleteTableRowOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(exportDocumentAsPdfOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(getDocumentByIdOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(getDocumentPlaintextOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(insertInlineImageOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(insertPageBreakOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(insertTableActionOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(insertTableColumnOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(insertTextActionOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(listSpreadsheetChartsOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(replaceAllTextOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(replaceImageOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(searchDocumentsOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(unmergeTableCellsOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(updateDocumentBatchOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(updateDocumentStyleOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(updateExistingDocumentOutput, { io: "output", unrepresentable: "any" })
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: external_exports.toJSONSchema(updateTableRowStyleOutput, { io: "output", unrepresentable: "any" })
1254
+ outputSchema: z.toJSONSchema(updateTableRowStyleOutput, { io: "output", unrepresentable: "any" })
1254
1255
  }
1255
1256
  };
1256
1257