@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
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderHttpClient
3
- } from "./chunk-E6JCVKW6.js";
3
+ } from "./chunk-VWRUGUSU.js";
4
4
  import {
5
5
  asJsonObject,
6
6
  booleanValue,
@@ -10,12 +10,12 @@ import {
10
10
  createProviderPlugin,
11
11
  requireApiKey,
12
12
  upstreamError
13
- } from "./chunk-ATK45BXV.js";
14
- import "./chunk-U7B6DS2O.js";
13
+ } from "./chunk-WJHG6OK7.js";
14
+ import "./chunk-2JNAI4OC.js";
15
+ import "./chunk-BADVCN6K.js";
15
16
  import {
16
- TBError,
17
- external_exports
18
- } from "./chunk-UZM2RXZH.js";
17
+ TBError
18
+ } from "./chunk-5ICRY3VU.js";
19
19
  import "./chunk-U67V476Y.js";
20
20
 
21
21
  // ../plugins/src/amap/api.ts
@@ -379,249 +379,250 @@ async function routeTransit(input, ctx) {
379
379
  }
380
380
 
381
381
  // ../plugins/src/amap/schema.ts
382
- var geocodeInput = external_exports.strictObject({
383
- address: external_exports.string().describe("The address to geocode."),
384
- city: external_exports.string().describe("The city used to narrow the geocode lookup.").optional()
382
+ import { z } from "zod/v4";
383
+ var geocodeInput = z.strictObject({
384
+ address: z.string().describe("The address to geocode."),
385
+ city: z.string().describe("The city used to narrow the geocode lookup.").optional()
385
386
  }).describe("The input parameters for geocoding an address.");
386
- var geocodeOutput = external_exports.strictObject({
387
- geocodes: external_exports.array(external_exports.strictObject({
388
- formattedAddress: external_exports.string().describe("The formatted address.").optional(),
389
- country: external_exports.string().describe("The country name.").optional(),
390
- province: external_exports.string().describe("The province or state name.").optional(),
391
- city: external_exports.union([external_exports.string().describe("A single string value."), external_exports.array(external_exports.string().describe("A string value in the list.")).describe("A list of string values.")]).describe("A string or an array of strings.").optional(),
392
- district: external_exports.string().describe("The district or county name.").optional(),
393
- adcode: external_exports.string().describe("The administrative code.").optional(),
394
- location: external_exports.string().describe("The coordinate string.").optional()
387
+ var geocodeOutput = z.strictObject({
388
+ geocodes: z.array(z.strictObject({
389
+ formattedAddress: z.string().describe("The formatted address.").optional(),
390
+ country: z.string().describe("The country name.").optional(),
391
+ province: z.string().describe("The province or state name.").optional(),
392
+ city: z.union([z.string().describe("A single string value."), z.array(z.string().describe("A string value in the list.")).describe("A list of string values.")]).describe("A string or an array of strings.").optional(),
393
+ district: z.string().describe("The district or county name.").optional(),
394
+ adcode: z.string().describe("The administrative code.").optional(),
395
+ location: z.string().describe("The coordinate string.").optional()
395
396
  }).describe("A geocoding result entry.")).describe("The list of geocoding results.").optional()
396
397
  }).describe("The response payload returned by the geocode action.");
397
- var reverseGeocodeInput = external_exports.strictObject({
398
- location: external_exports.string().describe("The coordinates to reverse geocode."),
399
- radius: external_exports.int().describe("The search radius in meters.").optional(),
400
- extensions: external_exports.enum(["base", "all"]).describe("The requested response detail level.").optional(),
401
- roadLevel: external_exports.int().describe("The road level filter.").optional()
398
+ var reverseGeocodeInput = z.strictObject({
399
+ location: z.string().describe("The coordinates to reverse geocode."),
400
+ radius: z.int().describe("The search radius in meters.").optional(),
401
+ extensions: z.enum(["base", "all"]).describe("The requested response detail level.").optional(),
402
+ roadLevel: z.int().describe("The road level filter.").optional()
402
403
  }).describe("The input parameters for reverse geocoding coordinates.");
403
- var reverseGeocodeOutput = external_exports.strictObject({
404
- formattedAddress: external_exports.string().describe("The formatted address.").optional(),
405
- addressComponent: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
406
- pois: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The nearby points of interest."),
407
- roads: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The nearby roads."),
408
- roadinters: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The nearby road intersections."),
409
- aois: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The nearby areas of interest.")
404
+ var reverseGeocodeOutput = z.strictObject({
405
+ formattedAddress: z.string().describe("The formatted address.").optional(),
406
+ addressComponent: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
407
+ pois: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The nearby points of interest."),
408
+ roads: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The nearby roads."),
409
+ roadinters: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The nearby road intersections."),
410
+ aois: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The nearby areas of interest.")
410
411
  }).describe("The response payload returned by the reverse geocode action.");
411
- var searchPlacesInput = external_exports.strictObject({
412
- keywords: external_exports.string().describe("The keywords used to search places."),
413
- region: external_exports.string().describe("The optional region filter.").optional(),
414
- cityLimit: external_exports.boolean().describe("Whether to limit results to the region.").optional(),
415
- types: external_exports.string().describe("The optional place type filter.").optional(),
416
- pageNum: external_exports.int().describe("The page number to fetch.").optional(),
417
- pageSize: external_exports.int().describe("The page size to fetch.").optional(),
418
- showFields: external_exports.string().describe("The requested output fields.").optional()
412
+ var searchPlacesInput = z.strictObject({
413
+ keywords: z.string().describe("The keywords used to search places."),
414
+ region: z.string().describe("The optional region filter.").optional(),
415
+ cityLimit: z.boolean().describe("Whether to limit results to the region.").optional(),
416
+ types: z.string().describe("The optional place type filter.").optional(),
417
+ pageNum: z.int().describe("The page number to fetch.").optional(),
418
+ pageSize: z.int().describe("The page size to fetch.").optional(),
419
+ showFields: z.string().describe("The requested output fields.").optional()
419
420
  }).describe("The input parameters for searching places by keyword.");
420
- var searchPlacesOutput = external_exports.strictObject({
421
- count: external_exports.string().describe("The total number of matching points of interest.").optional(),
422
- pois: external_exports.array(external_exports.strictObject({
423
- id: external_exports.string().describe("The point of interest identifier.").optional(),
424
- name: external_exports.string().describe("The point of interest name.").optional(),
425
- type: external_exports.string().describe("The point of interest type.").optional(),
426
- typecode: external_exports.string().describe("The type code.").optional(),
427
- address: external_exports.string().describe("The formatted address.").optional(),
428
- location: external_exports.string().describe("The coordinate string.").optional(),
429
- pname: external_exports.string().describe("The province name.").optional(),
430
- cityname: external_exports.string().describe("The city name.").optional(),
431
- adname: external_exports.string().describe("The district or area name.").optional()
421
+ var searchPlacesOutput = z.strictObject({
422
+ count: z.string().describe("The total number of matching points of interest.").optional(),
423
+ pois: z.array(z.strictObject({
424
+ id: z.string().describe("The point of interest identifier.").optional(),
425
+ name: z.string().describe("The point of interest name.").optional(),
426
+ type: z.string().describe("The point of interest type.").optional(),
427
+ typecode: z.string().describe("The type code.").optional(),
428
+ address: z.string().describe("The formatted address.").optional(),
429
+ location: z.string().describe("The coordinate string.").optional(),
430
+ pname: z.string().describe("The province name.").optional(),
431
+ cityname: z.string().describe("The city name.").optional(),
432
+ adname: z.string().describe("The district or area name.").optional()
432
433
  }).describe("A point of interest record.")).describe("The matching points of interest.")
433
434
  }).describe("The response payload returned by the place search actions.");
434
- var searchPlacesAroundInput = external_exports.strictObject({
435
- location: external_exports.string().describe("The center coordinate for the search."),
436
- radius: external_exports.int().describe("The search radius in meters.").optional(),
437
- keywords: external_exports.string().describe("The optional keyword filter.").optional(),
438
- types: external_exports.string().describe("The optional place type filter.").optional(),
439
- sortRule: external_exports.string().describe("The optional sort rule.").optional(),
440
- pageNum: external_exports.int().describe("The page number to fetch.").optional(),
441
- pageSize: external_exports.int().describe("The page size to fetch.").optional(),
442
- showFields: external_exports.string().describe("The requested output fields.").optional()
435
+ var searchPlacesAroundInput = z.strictObject({
436
+ location: z.string().describe("The center coordinate for the search."),
437
+ radius: z.int().describe("The search radius in meters.").optional(),
438
+ keywords: z.string().describe("The optional keyword filter.").optional(),
439
+ types: z.string().describe("The optional place type filter.").optional(),
440
+ sortRule: z.string().describe("The optional sort rule.").optional(),
441
+ pageNum: z.int().describe("The page number to fetch.").optional(),
442
+ pageSize: z.int().describe("The page size to fetch.").optional(),
443
+ showFields: z.string().describe("The requested output fields.").optional()
443
444
  }).describe("The input parameters for searching places around a location.");
444
- var searchPlacesAroundOutput = external_exports.strictObject({
445
- count: external_exports.string().describe("The total number of matching points of interest.").optional(),
446
- pois: external_exports.array(external_exports.strictObject({
447
- id: external_exports.string().describe("The point of interest identifier.").optional(),
448
- name: external_exports.string().describe("The point of interest name.").optional(),
449
- type: external_exports.string().describe("The point of interest type.").optional(),
450
- typecode: external_exports.string().describe("The type code.").optional(),
451
- address: external_exports.string().describe("The formatted address.").optional(),
452
- location: external_exports.string().describe("The coordinate string.").optional(),
453
- pname: external_exports.string().describe("The province name.").optional(),
454
- cityname: external_exports.string().describe("The city name.").optional(),
455
- adname: external_exports.string().describe("The district or area name.").optional()
445
+ var searchPlacesAroundOutput = z.strictObject({
446
+ count: z.string().describe("The total number of matching points of interest.").optional(),
447
+ pois: z.array(z.strictObject({
448
+ id: z.string().describe("The point of interest identifier.").optional(),
449
+ name: z.string().describe("The point of interest name.").optional(),
450
+ type: z.string().describe("The point of interest type.").optional(),
451
+ typecode: z.string().describe("The type code.").optional(),
452
+ address: z.string().describe("The formatted address.").optional(),
453
+ location: z.string().describe("The coordinate string.").optional(),
454
+ pname: z.string().describe("The province name.").optional(),
455
+ cityname: z.string().describe("The city name.").optional(),
456
+ adname: z.string().describe("The district or area name.").optional()
456
457
  }).describe("A point of interest record.")).describe("The matching points of interest.")
457
458
  }).describe("The response payload returned by the place search actions.");
458
- var searchPlacesPolygonInput = external_exports.strictObject({
459
- polygon: external_exports.string().describe("The polygon used to bound the search."),
460
- keywords: external_exports.string().describe("The optional keyword filter.").optional(),
461
- types: external_exports.string().describe("The optional place type filter.").optional(),
462
- pageNum: external_exports.int().describe("The page number to fetch.").optional(),
463
- pageSize: external_exports.int().describe("The page size to fetch.").optional(),
464
- showFields: external_exports.string().describe("The requested output fields.").optional()
459
+ var searchPlacesPolygonInput = z.strictObject({
460
+ polygon: z.string().describe("The polygon used to bound the search."),
461
+ keywords: z.string().describe("The optional keyword filter.").optional(),
462
+ types: z.string().describe("The optional place type filter.").optional(),
463
+ pageNum: z.int().describe("The page number to fetch.").optional(),
464
+ pageSize: z.int().describe("The page size to fetch.").optional(),
465
+ showFields: z.string().describe("The requested output fields.").optional()
465
466
  }).describe("The input parameters for searching places inside a polygon.");
466
- var searchPlacesPolygonOutput = external_exports.strictObject({
467
- count: external_exports.string().describe("The total number of matching points of interest.").optional(),
468
- pois: external_exports.array(external_exports.strictObject({
469
- id: external_exports.string().describe("The point of interest identifier.").optional(),
470
- name: external_exports.string().describe("The point of interest name.").optional(),
471
- type: external_exports.string().describe("The point of interest type.").optional(),
472
- typecode: external_exports.string().describe("The type code.").optional(),
473
- address: external_exports.string().describe("The formatted address.").optional(),
474
- location: external_exports.string().describe("The coordinate string.").optional(),
475
- pname: external_exports.string().describe("The province name.").optional(),
476
- cityname: external_exports.string().describe("The city name.").optional(),
477
- adname: external_exports.string().describe("The district or area name.").optional()
467
+ var searchPlacesPolygonOutput = z.strictObject({
468
+ count: z.string().describe("The total number of matching points of interest.").optional(),
469
+ pois: z.array(z.strictObject({
470
+ id: z.string().describe("The point of interest identifier.").optional(),
471
+ name: z.string().describe("The point of interest name.").optional(),
472
+ type: z.string().describe("The point of interest type.").optional(),
473
+ typecode: z.string().describe("The type code.").optional(),
474
+ address: z.string().describe("The formatted address.").optional(),
475
+ location: z.string().describe("The coordinate string.").optional(),
476
+ pname: z.string().describe("The province name.").optional(),
477
+ cityname: z.string().describe("The city name.").optional(),
478
+ adname: z.string().describe("The district or area name.").optional()
478
479
  }).describe("A point of interest record.")).describe("The matching points of interest.")
479
480
  }).describe("The response payload returned by the place search actions.");
480
- var getPlaceDetailInput = external_exports.strictObject({
481
- id: external_exports.string().describe("The place identifier."),
482
- showFields: external_exports.string().describe("The requested output fields.").optional()
481
+ var getPlaceDetailInput = z.strictObject({
482
+ id: z.string().describe("The place identifier."),
483
+ showFields: z.string().describe("The requested output fields.").optional()
483
484
  }).describe("The input parameters for fetching place details.");
484
- var getPlaceDetailOutput = external_exports.strictObject({
485
- pois: external_exports.array(external_exports.strictObject({
486
- id: external_exports.string().describe("The point of interest identifier.").optional(),
487
- name: external_exports.string().describe("The point of interest name.").optional(),
488
- type: external_exports.string().describe("The point of interest type.").optional(),
489
- typecode: external_exports.string().describe("The type code.").optional(),
490
- address: external_exports.string().describe("The formatted address.").optional(),
491
- location: external_exports.string().describe("The coordinate string.").optional(),
492
- pname: external_exports.string().describe("The province name.").optional(),
493
- cityname: external_exports.string().describe("The city name.").optional(),
494
- adname: external_exports.string().describe("The district or area name.").optional()
485
+ var getPlaceDetailOutput = z.strictObject({
486
+ pois: z.array(z.strictObject({
487
+ id: z.string().describe("The point of interest identifier.").optional(),
488
+ name: z.string().describe("The point of interest name.").optional(),
489
+ type: z.string().describe("The point of interest type.").optional(),
490
+ typecode: z.string().describe("The type code.").optional(),
491
+ address: z.string().describe("The formatted address.").optional(),
492
+ location: z.string().describe("The coordinate string.").optional(),
493
+ pname: z.string().describe("The province name.").optional(),
494
+ cityname: z.string().describe("The city name.").optional(),
495
+ adname: z.string().describe("The district or area name.").optional()
495
496
  }).describe("A point of interest record.")).describe("The place detail records.").optional()
496
497
  }).describe("The response payload returned by the place detail action.");
497
- var inputTipsInput = external_exports.strictObject({
498
- keywords: external_exports.string().describe("The keywords used to search tips."),
499
- type: external_exports.string().describe("The optional category filter.").optional(),
500
- location: external_exports.string().describe("The optional location bias.").optional(),
501
- city: external_exports.string().describe("The optional city filter.").optional(),
502
- cityLimit: external_exports.boolean().describe("Whether to limit results to the specified city.").optional(),
503
- dataType: external_exports.string().describe("The optional data type filter.").optional()
498
+ var inputTipsInput = z.strictObject({
499
+ keywords: z.string().describe("The keywords used to search tips."),
500
+ type: z.string().describe("The optional category filter.").optional(),
501
+ location: z.string().describe("The optional location bias.").optional(),
502
+ city: z.string().describe("The optional city filter.").optional(),
503
+ cityLimit: z.boolean().describe("Whether to limit results to the specified city.").optional(),
504
+ dataType: z.string().describe("The optional data type filter.").optional()
504
505
  }).describe("The input parameters for fetching input tips.");
505
- var inputTipsOutput = external_exports.strictObject({
506
- tips: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The returned tip records.").optional()
506
+ var inputTipsOutput = z.strictObject({
507
+ tips: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The returned tip records.").optional()
507
508
  }).describe("The response payload returned by the input tips action.");
508
- var ipLocateInput = external_exports.strictObject({
509
- ip: external_exports.string().describe("The IP address to locate.").optional()
509
+ var ipLocateInput = z.strictObject({
510
+ ip: z.string().describe("The IP address to locate.").optional()
510
511
  }).describe("The input parameters for IP geolocation.");
511
- var ipLocateOutput = external_exports.strictObject({
512
- province: external_exports.string().describe("The province or state name.").optional(),
513
- city: external_exports.string().describe("The city name.").optional(),
514
- adcode: external_exports.string().describe("The administrative code.").optional(),
515
- rectangle: external_exports.string().describe("The bounding rectangle string.").optional()
512
+ var ipLocateOutput = z.strictObject({
513
+ province: z.string().describe("The province or state name.").optional(),
514
+ city: z.string().describe("The city name.").optional(),
515
+ adcode: z.string().describe("The administrative code.").optional(),
516
+ rectangle: z.string().describe("The bounding rectangle string.").optional()
516
517
  }).describe("The response payload returned by the IP locate action.");
517
- var districtSearchInput = external_exports.strictObject({
518
- keywords: external_exports.string().describe("The district search keywords."),
519
- subDistrict: external_exports.int().describe("The subdistrict depth.").optional(),
520
- extensions: external_exports.string().describe("The requested response detail level.").optional(),
521
- page: external_exports.int().describe("The page number to fetch.").optional(),
522
- offset: external_exports.int().describe("The result offset.").optional(),
523
- filter: external_exports.string().describe("The optional filter expression.").optional()
518
+ var districtSearchInput = z.strictObject({
519
+ keywords: z.string().describe("The district search keywords."),
520
+ subDistrict: z.int().describe("The subdistrict depth.").optional(),
521
+ extensions: z.string().describe("The requested response detail level.").optional(),
522
+ page: z.int().describe("The page number to fetch.").optional(),
523
+ offset: z.int().describe("The result offset.").optional(),
524
+ filter: z.string().describe("The optional filter expression.").optional()
524
525
  }).describe("The input parameters for district search.");
525
- var districtSearchOutput = external_exports.strictObject({
526
- count: external_exports.string().describe("The total number of matching districts.").optional(),
527
- districts: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The matching districts.")
526
+ var districtSearchOutput = z.strictObject({
527
+ count: z.string().describe("The total number of matching districts.").optional(),
528
+ districts: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The matching districts.")
528
529
  }).describe("The response payload returned by the district search action.");
529
- var weatherInput = external_exports.strictObject({
530
- city: external_exports.string().describe("The city to query."),
531
- extensions: external_exports.enum(["base", "all"]).describe("The requested response detail level.").optional()
530
+ var weatherInput = z.strictObject({
531
+ city: z.string().describe("The city to query."),
532
+ extensions: z.enum(["base", "all"]).describe("The requested response detail level.").optional()
532
533
  }).describe("The input parameters for fetching weather information.");
533
- var weatherOutput = external_exports.strictObject({
534
- lives: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The current weather records.").optional(),
535
- forecasts: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The forecast weather records.").optional()
534
+ var weatherOutput = z.strictObject({
535
+ lives: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The current weather records.").optional(),
536
+ forecasts: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The forecast weather records.").optional()
536
537
  }).describe("The response payload returned by the weather action.");
537
- var routeDrivingInput = external_exports.strictObject({
538
- origin: external_exports.string().describe("The route origin."),
539
- destination: external_exports.string().describe("The route destination."),
540
- waypoints: external_exports.string().describe("The optional waypoint list.").optional(),
541
- strategy: external_exports.string().describe("The optional routing strategy.").optional(),
542
- plate: external_exports.string().describe("The optional license plate.").optional(),
543
- carType: external_exports.string().describe("The optional car type.").optional(),
544
- avoidPolygons: external_exports.string().describe("The optional avoid polygon list.").optional(),
545
- showFields: external_exports.string().describe("The requested output fields.").optional()
538
+ var routeDrivingInput = z.strictObject({
539
+ origin: z.string().describe("The route origin."),
540
+ destination: z.string().describe("The route destination."),
541
+ waypoints: z.string().describe("The optional waypoint list.").optional(),
542
+ strategy: z.string().describe("The optional routing strategy.").optional(),
543
+ plate: z.string().describe("The optional license plate.").optional(),
544
+ carType: z.string().describe("The optional car type.").optional(),
545
+ avoidPolygons: z.string().describe("The optional avoid polygon list.").optional(),
546
+ showFields: z.string().describe("The requested output fields.").optional()
546
547
  }).describe("The input parameters for planning a driving route.");
547
- var routeDrivingOutput = external_exports.strictObject({
548
- route: external_exports.strictObject({
549
- origin: external_exports.string().describe("The route origin.").optional(),
550
- destination: external_exports.string().describe("The route destination.").optional(),
551
- taxi_cost: external_exports.string().describe("The estimated taxi cost.").optional(),
552
- paths: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The available driving paths.")
548
+ var routeDrivingOutput = z.strictObject({
549
+ route: z.strictObject({
550
+ origin: z.string().describe("The route origin.").optional(),
551
+ destination: z.string().describe("The route destination.").optional(),
552
+ taxi_cost: z.string().describe("The estimated taxi cost.").optional(),
553
+ paths: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The available driving paths.")
553
554
  }).describe("The route summary returned by the driving route API.").optional()
554
555
  }).describe("The response payload returned by the driving route action.");
555
- var routeWalkingInput = external_exports.strictObject({
556
- origin: external_exports.string().describe("The route origin."),
557
- destination: external_exports.string().describe("The route destination."),
558
- showFields: external_exports.string().describe("The requested output fields.").optional()
556
+ var routeWalkingInput = z.strictObject({
557
+ origin: z.string().describe("The route origin."),
558
+ destination: z.string().describe("The route destination."),
559
+ showFields: z.string().describe("The requested output fields.").optional()
559
560
  }).describe("The input parameters for planning a walking route.");
560
- var routeWalkingOutput = external_exports.strictObject({
561
- route: external_exports.strictObject({
562
- origin: external_exports.string().describe("The route origin.").optional(),
563
- destination: external_exports.string().describe("The route destination.").optional(),
564
- paths: external_exports.array(external_exports.strictObject({
565
- distance: external_exports.string().describe("The route distance.").optional(),
566
- steps: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The route steps."),
567
- cost: external_exports.strictObject({
568
- duration: external_exports.string().describe("The estimated duration.").optional()
561
+ var routeWalkingOutput = z.strictObject({
562
+ route: z.strictObject({
563
+ origin: z.string().describe("The route origin.").optional(),
564
+ destination: z.string().describe("The route destination.").optional(),
565
+ paths: z.array(z.strictObject({
566
+ distance: z.string().describe("The route distance.").optional(),
567
+ steps: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The route steps."),
568
+ cost: z.strictObject({
569
+ duration: z.string().describe("The estimated duration.").optional()
569
570
  }).describe("The cost summary for the route path.").optional()
570
571
  }).describe("A single route path entry.")).describe("The available route paths.")
571
572
  }).describe("The route summary returned by the API.").optional()
572
573
  }).describe("The response payload returned by the simple route actions.");
573
- var routeBicyclingInput = external_exports.strictObject({
574
- origin: external_exports.string().describe("The route origin."),
575
- destination: external_exports.string().describe("The route destination."),
576
- alternativeRoute: external_exports.string().describe("The optional alternative route mode.").optional(),
577
- showFields: external_exports.string().describe("The requested output fields.").optional()
574
+ var routeBicyclingInput = z.strictObject({
575
+ origin: z.string().describe("The route origin."),
576
+ destination: z.string().describe("The route destination."),
577
+ alternativeRoute: z.string().describe("The optional alternative route mode.").optional(),
578
+ showFields: z.string().describe("The requested output fields.").optional()
578
579
  }).describe("The input parameters for planning a bicycling route.");
579
- var routeBicyclingOutput = external_exports.strictObject({
580
- route: external_exports.strictObject({
581
- origin: external_exports.string().describe("The route origin.").optional(),
582
- destination: external_exports.string().describe("The route destination.").optional(),
583
- paths: external_exports.array(external_exports.strictObject({
584
- distance: external_exports.string().describe("The route distance.").optional(),
585
- steps: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The route steps."),
586
- cost: external_exports.strictObject({
587
- duration: external_exports.string().describe("The estimated duration.").optional()
580
+ var routeBicyclingOutput = z.strictObject({
581
+ route: z.strictObject({
582
+ origin: z.string().describe("The route origin.").optional(),
583
+ destination: z.string().describe("The route destination.").optional(),
584
+ paths: z.array(z.strictObject({
585
+ distance: z.string().describe("The route distance.").optional(),
586
+ steps: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The route steps."),
587
+ cost: z.strictObject({
588
+ duration: z.string().describe("The estimated duration.").optional()
588
589
  }).describe("The cost summary for the route path.").optional()
589
590
  }).describe("A single route path entry.")).describe("The available route paths.")
590
591
  }).describe("The route summary returned by the API.").optional()
591
592
  }).describe("The response payload returned by the simple route actions.");
592
- var routeElectrobikeInput = external_exports.strictObject({
593
- origin: external_exports.string().describe("The route origin."),
594
- destination: external_exports.string().describe("The route destination."),
595
- showFields: external_exports.string().describe("The requested output fields.").optional()
593
+ var routeElectrobikeInput = z.strictObject({
594
+ origin: z.string().describe("The route origin."),
595
+ destination: z.string().describe("The route destination."),
596
+ showFields: z.string().describe("The requested output fields.").optional()
596
597
  }).describe("The input parameters for planning a walking route.");
597
- var routeElectrobikeOutput = external_exports.strictObject({
598
- route: external_exports.strictObject({
599
- origin: external_exports.string().describe("The route origin.").optional(),
600
- destination: external_exports.string().describe("The route destination.").optional(),
601
- paths: external_exports.array(external_exports.strictObject({
602
- distance: external_exports.string().describe("The route distance.").optional(),
603
- steps: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The route steps."),
604
- cost: external_exports.strictObject({
605
- duration: external_exports.string().describe("The estimated duration.").optional()
598
+ var routeElectrobikeOutput = z.strictObject({
599
+ route: z.strictObject({
600
+ origin: z.string().describe("The route origin.").optional(),
601
+ destination: z.string().describe("The route destination.").optional(),
602
+ paths: z.array(z.strictObject({
603
+ distance: z.string().describe("The route distance.").optional(),
604
+ steps: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The route steps."),
605
+ cost: z.strictObject({
606
+ duration: z.string().describe("The estimated duration.").optional()
606
607
  }).describe("The cost summary for the route path.").optional()
607
608
  }).describe("A single route path entry.")).describe("The available route paths.")
608
609
  }).describe("The route summary returned by the API.").optional()
609
610
  }).describe("The response payload returned by the simple route actions.");
610
- var routeTransitInput = external_exports.strictObject({
611
- origin: external_exports.string().describe("The route origin."),
612
- destination: external_exports.string().describe("The route destination."),
613
- originCity: external_exports.string().describe("The origin city."),
614
- destinationCity: external_exports.string().describe("The destination city."),
615
- strategy: external_exports.string().describe("The optional routing strategy.").optional(),
616
- nightFlag: external_exports.string().describe("The optional night transit flag.").optional(),
617
- showFields: external_exports.string().describe("The requested output fields.").optional()
611
+ var routeTransitInput = z.strictObject({
612
+ origin: z.string().describe("The route origin."),
613
+ destination: z.string().describe("The route destination."),
614
+ originCity: z.string().describe("The origin city."),
615
+ destinationCity: z.string().describe("The destination city."),
616
+ strategy: z.string().describe("The optional routing strategy.").optional(),
617
+ nightFlag: z.string().describe("The optional night transit flag.").optional(),
618
+ showFields: z.string().describe("The requested output fields.").optional()
618
619
  }).describe("The input parameters for planning a transit route.");
619
- var routeTransitOutput = external_exports.strictObject({
620
- route: external_exports.strictObject({
621
- origin: external_exports.string().describe("The route origin.").optional(),
622
- destination: external_exports.string().describe("The route destination.").optional(),
623
- cost: external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
624
- transits: external_exports.array(external_exports.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The available transit options.")
620
+ var routeTransitOutput = z.strictObject({
621
+ route: z.strictObject({
622
+ origin: z.string().describe("The route origin.").optional(),
623
+ destination: z.string().describe("The route destination.").optional(),
624
+ cost: z.looseObject({}).describe("A JSON-like object with arbitrary string keys.").optional(),
625
+ transits: z.array(z.looseObject({}).describe("A JSON-like object with arbitrary string keys.")).describe("The available transit options.")
625
626
  }).describe("The route summary returned by the transit route API.").optional()
626
627
  }).describe("The response payload returned by the transit route action.");
627
628
  var amapActions = {
@@ -629,91 +630,91 @@ var amapActions = {
629
630
  description: "Convert an address to coordinates.",
630
631
  effect: "write",
631
632
  inputSchema: geocodeInput,
632
- outputSchema: external_exports.toJSONSchema(geocodeOutput, { io: "output", unrepresentable: "any" })
633
+ outputSchema: z.toJSONSchema(geocodeOutput, { io: "output", unrepresentable: "any" })
633
634
  },
634
635
  reverse_geocode: {
635
636
  description: "Convert coordinates to an address.",
636
637
  effect: "write",
637
638
  inputSchema: reverseGeocodeInput,
638
- outputSchema: external_exports.toJSONSchema(reverseGeocodeOutput, { io: "output", unrepresentable: "any" })
639
+ outputSchema: z.toJSONSchema(reverseGeocodeOutput, { io: "output", unrepresentable: "any" })
639
640
  },
640
641
  search_places: {
641
642
  description: "Search places by keyword.",
642
643
  effect: "read",
643
644
  inputSchema: searchPlacesInput,
644
- outputSchema: external_exports.toJSONSchema(searchPlacesOutput, { io: "output", unrepresentable: "any" })
645
+ outputSchema: z.toJSONSchema(searchPlacesOutput, { io: "output", unrepresentable: "any" })
645
646
  },
646
647
  search_places_around: {
647
648
  description: "Search places around a location.",
648
649
  effect: "read",
649
650
  inputSchema: searchPlacesAroundInput,
650
- outputSchema: external_exports.toJSONSchema(searchPlacesAroundOutput, { io: "output", unrepresentable: "any" })
651
+ outputSchema: z.toJSONSchema(searchPlacesAroundOutput, { io: "output", unrepresentable: "any" })
651
652
  },
652
653
  search_places_polygon: {
653
654
  description: "Search places inside a polygon.",
654
655
  effect: "read",
655
656
  inputSchema: searchPlacesPolygonInput,
656
- outputSchema: external_exports.toJSONSchema(searchPlacesPolygonOutput, { io: "output", unrepresentable: "any" })
657
+ outputSchema: z.toJSONSchema(searchPlacesPolygonOutput, { io: "output", unrepresentable: "any" })
657
658
  },
658
659
  get_place_detail: {
659
660
  description: "Get place details by id.",
660
661
  effect: "read",
661
662
  inputSchema: getPlaceDetailInput,
662
- outputSchema: external_exports.toJSONSchema(getPlaceDetailOutput, { io: "output", unrepresentable: "any" })
663
+ outputSchema: z.toJSONSchema(getPlaceDetailOutput, { io: "output", unrepresentable: "any" })
663
664
  },
664
665
  input_tips: {
665
666
  description: "Get input tips by keywords.",
666
667
  effect: "write",
667
668
  inputSchema: inputTipsInput,
668
- outputSchema: external_exports.toJSONSchema(inputTipsOutput, { io: "output", unrepresentable: "any" })
669
+ outputSchema: z.toJSONSchema(inputTipsOutput, { io: "output", unrepresentable: "any" })
669
670
  },
670
671
  ip_locate: {
671
672
  description: "Locate by IP address.",
672
673
  effect: "write",
673
674
  inputSchema: ipLocateInput,
674
- outputSchema: external_exports.toJSONSchema(ipLocateOutput, { io: "output", unrepresentable: "any" })
675
+ outputSchema: z.toJSONSchema(ipLocateOutput, { io: "output", unrepresentable: "any" })
675
676
  },
676
677
  district_search: {
677
678
  description: "Search administrative districts.",
678
679
  effect: "write",
679
680
  inputSchema: districtSearchInput,
680
- outputSchema: external_exports.toJSONSchema(districtSearchOutput, { io: "output", unrepresentable: "any" })
681
+ outputSchema: z.toJSONSchema(districtSearchOutput, { io: "output", unrepresentable: "any" })
681
682
  },
682
683
  weather: {
683
684
  description: "Get weather information.",
684
685
  effect: "write",
685
686
  inputSchema: weatherInput,
686
- outputSchema: external_exports.toJSONSchema(weatherOutput, { io: "output", unrepresentable: "any" })
687
+ outputSchema: z.toJSONSchema(weatherOutput, { io: "output", unrepresentable: "any" })
687
688
  },
688
689
  route_driving: {
689
690
  description: "Plan a driving route.",
690
691
  effect: "write",
691
692
  inputSchema: routeDrivingInput,
692
- outputSchema: external_exports.toJSONSchema(routeDrivingOutput, { io: "output", unrepresentable: "any" })
693
+ outputSchema: z.toJSONSchema(routeDrivingOutput, { io: "output", unrepresentable: "any" })
693
694
  },
694
695
  route_walking: {
695
696
  description: "Plan a walking route.",
696
697
  effect: "write",
697
698
  inputSchema: routeWalkingInput,
698
- outputSchema: external_exports.toJSONSchema(routeWalkingOutput, { io: "output", unrepresentable: "any" })
699
+ outputSchema: z.toJSONSchema(routeWalkingOutput, { io: "output", unrepresentable: "any" })
699
700
  },
700
701
  route_bicycling: {
701
702
  description: "Plan a bicycling route.",
702
703
  effect: "write",
703
704
  inputSchema: routeBicyclingInput,
704
- outputSchema: external_exports.toJSONSchema(routeBicyclingOutput, { io: "output", unrepresentable: "any" })
705
+ outputSchema: z.toJSONSchema(routeBicyclingOutput, { io: "output", unrepresentable: "any" })
705
706
  },
706
707
  route_electrobike: {
707
708
  description: "Plan an electric bike route.",
708
709
  effect: "write",
709
710
  inputSchema: routeElectrobikeInput,
710
- outputSchema: external_exports.toJSONSchema(routeElectrobikeOutput, { io: "output", unrepresentable: "any" })
711
+ outputSchema: z.toJSONSchema(routeElectrobikeOutput, { io: "output", unrepresentable: "any" })
711
712
  },
712
713
  route_transit: {
713
714
  description: "Plan a transit route.",
714
715
  effect: "write",
715
716
  inputSchema: routeTransitInput,
716
- outputSchema: external_exports.toJSONSchema(routeTransitOutput, { io: "output", unrepresentable: "any" })
717
+ outputSchema: z.toJSONSchema(routeTransitOutput, { io: "output", unrepresentable: "any" })
717
718
  }
718
719
  };
719
720