@codeqr/ts-mcp 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (432) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +267 -0
  3. package/code-tool-paths.cjs +6 -0
  4. package/code-tool-paths.cjs.map +1 -0
  5. package/code-tool-paths.d.cts +2 -0
  6. package/code-tool-paths.d.cts.map +1 -0
  7. package/code-tool-types.d.mts +14 -0
  8. package/code-tool-types.d.mts.map +1 -0
  9. package/code-tool-types.d.ts +14 -0
  10. package/code-tool-types.d.ts.map +1 -0
  11. package/code-tool-types.js +4 -0
  12. package/code-tool-types.js.map +1 -0
  13. package/code-tool-types.mjs +3 -0
  14. package/code-tool-types.mjs.map +1 -0
  15. package/code-tool-worker.d.mts +5 -0
  16. package/code-tool-worker.d.mts.map +1 -0
  17. package/code-tool-worker.d.ts +5 -0
  18. package/code-tool-worker.d.ts.map +1 -0
  19. package/code-tool-worker.js +45 -0
  20. package/code-tool-worker.js.map +1 -0
  21. package/code-tool-worker.mjs +40 -0
  22. package/code-tool-worker.mjs.map +1 -0
  23. package/code-tool.d.mts +12 -0
  24. package/code-tool.d.mts.map +1 -0
  25. package/code-tool.d.ts +12 -0
  26. package/code-tool.d.ts.map +1 -0
  27. package/code-tool.js +157 -0
  28. package/code-tool.js.map +1 -0
  29. package/code-tool.mjs +121 -0
  30. package/code-tool.mjs.map +1 -0
  31. package/compat.d.mts +58 -0
  32. package/compat.d.mts.map +1 -0
  33. package/compat.d.ts +58 -0
  34. package/compat.d.ts.map +1 -0
  35. package/compat.js +387 -0
  36. package/compat.js.map +1 -0
  37. package/compat.mjs +378 -0
  38. package/compat.mjs.map +1 -0
  39. package/dynamic-tools.d.mts +12 -0
  40. package/dynamic-tools.d.mts.map +1 -0
  41. package/dynamic-tools.d.ts +12 -0
  42. package/dynamic-tools.d.ts.map +1 -0
  43. package/dynamic-tools.js +135 -0
  44. package/dynamic-tools.js.map +1 -0
  45. package/dynamic-tools.mjs +132 -0
  46. package/dynamic-tools.mjs.map +1 -0
  47. package/filtering.d.mts +2 -0
  48. package/filtering.d.mts.map +1 -0
  49. package/filtering.d.ts +2 -0
  50. package/filtering.d.ts.map +1 -0
  51. package/filtering.js +20 -0
  52. package/filtering.js.map +1 -0
  53. package/filtering.mjs +13 -0
  54. package/filtering.mjs.map +1 -0
  55. package/headers.d.mts +4 -0
  56. package/headers.d.mts.map +1 -0
  57. package/headers.d.ts +4 -0
  58. package/headers.d.ts.map +1 -0
  59. package/headers.js +22 -0
  60. package/headers.js.map +1 -0
  61. package/headers.mjs +18 -0
  62. package/headers.mjs.map +1 -0
  63. package/http.d.mts +9 -0
  64. package/http.d.mts.map +1 -0
  65. package/http.d.ts +9 -0
  66. package/http.d.ts.map +1 -0
  67. package/http.js +108 -0
  68. package/http.js.map +1 -0
  69. package/http.mjs +100 -0
  70. package/http.mjs.map +1 -0
  71. package/index.d.mts +3 -0
  72. package/index.d.mts.map +1 -0
  73. package/index.d.ts +3 -0
  74. package/index.d.ts.map +1 -0
  75. package/index.js +91 -0
  76. package/index.js.map +1 -0
  77. package/index.mjs +89 -0
  78. package/index.mjs.map +1 -0
  79. package/options.d.mts +19 -0
  80. package/options.d.mts.map +1 -0
  81. package/options.d.ts +19 -0
  82. package/options.d.ts.map +1 -0
  83. package/options.js +417 -0
  84. package/options.js.map +1 -0
  85. package/options.mjs +410 -0
  86. package/options.mjs.map +1 -0
  87. package/package.json +206 -0
  88. package/server.d.mts +35 -0
  89. package/server.d.mts.map +1 -0
  90. package/server.d.ts +35 -0
  91. package/server.d.ts.map +1 -0
  92. package/server.js +170 -0
  93. package/server.js.map +1 -0
  94. package/server.mjs +156 -0
  95. package/server.mjs.map +1 -0
  96. package/src/code-tool-paths.cts +3 -0
  97. package/src/code-tool-types.ts +14 -0
  98. package/src/code-tool-worker.ts +46 -0
  99. package/src/code-tool.ts +146 -0
  100. package/src/compat.ts +483 -0
  101. package/src/dynamic-tools.ts +153 -0
  102. package/src/filtering.ts +14 -0
  103. package/src/headers.ts +23 -0
  104. package/src/http.ts +127 -0
  105. package/src/index.ts +108 -0
  106. package/src/options.ts +456 -0
  107. package/src/server.ts +204 -0
  108. package/src/stdio.ts +13 -0
  109. package/src/tools/analytics/retrieve-analytics.ts +434 -0
  110. package/src/tools/domains/create-domains.ts +59 -0
  111. package/src/tools/domains/delete-domains.ts +48 -0
  112. package/src/tools/domains/list-domains.ts +61 -0
  113. package/src/tools/domains/update-domains.ts +63 -0
  114. package/src/tools/events/list-events.ts +414 -0
  115. package/src/tools/index.ts +133 -0
  116. package/src/tools/links/bulk/create-links-bulk.ts +955 -0
  117. package/src/tools/links/bulk/delete-links-bulk.ts +52 -0
  118. package/src/tools/links/count-links.ts +946 -0
  119. package/src/tools/links/create-links.ts +946 -0
  120. package/src/tools/links/delete-links.ts +49 -0
  121. package/src/tools/links/list-links.ts +969 -0
  122. package/src/tools/links/retrieve-info-links.ts +68 -0
  123. package/src/tools/links/update-links.ts +953 -0
  124. package/src/tools/links/upsert-links.ts +947 -0
  125. package/src/tools/projects/list-projects.ts +44 -0
  126. package/src/tools/projects/retrieve-projects.ts +49 -0
  127. package/src/tools/qrcodes/bulk/create-qrcodes-bulk.ts +1066 -0
  128. package/src/tools/qrcodes/bulk/delete-qrcodes-bulk.ts +52 -0
  129. package/src/tools/qrcodes/count-qrcodes.ts +209 -0
  130. package/src/tools/qrcodes/create-qrcodes.ts +1056 -0
  131. package/src/tools/qrcodes/delete-qrcodes.ts +49 -0
  132. package/src/tools/qrcodes/list-qrcodes.ts +210 -0
  133. package/src/tools/qrcodes/retrieve-qrcodes.ts +60 -0
  134. package/src/tools/qrcodes/update-qrcodes.ts +1063 -0
  135. package/src/tools/qrcodes/upsert-qrcodes.ts +1057 -0
  136. package/src/tools/tags/create-tags.ts +52 -0
  137. package/src/tools/tags/delete-tags.ts +48 -0
  138. package/src/tools/tags/list-tags.ts +80 -0
  139. package/src/tools/tags/update-tags.ts +56 -0
  140. package/src/tools/track/track-lead-track.ts +72 -0
  141. package/src/tools/track/track-sale-track.ts +74 -0
  142. package/src/tools/types.ts +103 -0
  143. package/src/tools.ts +1 -0
  144. package/src/tsconfig.json +11 -0
  145. package/stdio.d.mts +3 -0
  146. package/stdio.d.mts.map +1 -0
  147. package/stdio.d.ts +3 -0
  148. package/stdio.d.ts.map +1 -0
  149. package/stdio.js +14 -0
  150. package/stdio.js.map +1 -0
  151. package/stdio.mjs +10 -0
  152. package/stdio.mjs.map +1 -0
  153. package/tools/analytics/retrieve-analytics.d.mts +45 -0
  154. package/tools/analytics/retrieve-analytics.d.mts.map +1 -0
  155. package/tools/analytics/retrieve-analytics.d.ts +45 -0
  156. package/tools/analytics/retrieve-analytics.d.ts.map +1 -0
  157. package/tools/analytics/retrieve-analytics.js +426 -0
  158. package/tools/analytics/retrieve-analytics.js.map +1 -0
  159. package/tools/analytics/retrieve-analytics.mjs +422 -0
  160. package/tools/analytics/retrieve-analytics.mjs.map +1 -0
  161. package/tools/domains/create-domains.d.mts +45 -0
  162. package/tools/domains/create-domains.d.mts.map +1 -0
  163. package/tools/domains/create-domains.d.ts +45 -0
  164. package/tools/domains/create-domains.d.ts.map +1 -0
  165. package/tools/domains/create-domains.js +53 -0
  166. package/tools/domains/create-domains.js.map +1 -0
  167. package/tools/domains/create-domains.mjs +49 -0
  168. package/tools/domains/create-domains.mjs.map +1 -0
  169. package/tools/domains/delete-domains.d.mts +45 -0
  170. package/tools/domains/delete-domains.d.mts.map +1 -0
  171. package/tools/domains/delete-domains.d.ts +45 -0
  172. package/tools/domains/delete-domains.d.ts.map +1 -0
  173. package/tools/domains/delete-domains.js +43 -0
  174. package/tools/domains/delete-domains.js.map +1 -0
  175. package/tools/domains/delete-domains.mjs +39 -0
  176. package/tools/domains/delete-domains.mjs.map +1 -0
  177. package/tools/domains/list-domains.d.mts +45 -0
  178. package/tools/domains/list-domains.d.mts.map +1 -0
  179. package/tools/domains/list-domains.d.ts +45 -0
  180. package/tools/domains/list-domains.d.ts.map +1 -0
  181. package/tools/domains/list-domains.js +55 -0
  182. package/tools/domains/list-domains.js.map +1 -0
  183. package/tools/domains/list-domains.mjs +51 -0
  184. package/tools/domains/list-domains.mjs.map +1 -0
  185. package/tools/domains/update-domains.d.mts +45 -0
  186. package/tools/domains/update-domains.d.mts.map +1 -0
  187. package/tools/domains/update-domains.d.ts +45 -0
  188. package/tools/domains/update-domains.d.ts.map +1 -0
  189. package/tools/domains/update-domains.js +57 -0
  190. package/tools/domains/update-domains.js.map +1 -0
  191. package/tools/domains/update-domains.mjs +53 -0
  192. package/tools/domains/update-domains.mjs.map +1 -0
  193. package/tools/events/list-events.d.mts +45 -0
  194. package/tools/events/list-events.d.mts.map +1 -0
  195. package/tools/events/list-events.d.ts +45 -0
  196. package/tools/events/list-events.d.ts.map +1 -0
  197. package/tools/events/list-events.js +406 -0
  198. package/tools/events/list-events.js.map +1 -0
  199. package/tools/events/list-events.mjs +402 -0
  200. package/tools/events/list-events.mjs.map +1 -0
  201. package/tools/index.d.mts +10 -0
  202. package/tools/index.d.mts.map +1 -0
  203. package/tools/index.d.ts +10 -0
  204. package/tools/index.d.ts.map +1 -0
  205. package/tools/index.js +117 -0
  206. package/tools/index.js.map +1 -0
  207. package/tools/index.mjs +110 -0
  208. package/tools/index.mjs.map +1 -0
  209. package/tools/links/bulk/create-links-bulk.d.mts +45 -0
  210. package/tools/links/bulk/create-links-bulk.d.mts.map +1 -0
  211. package/tools/links/bulk/create-links-bulk.d.ts +45 -0
  212. package/tools/links/bulk/create-links-bulk.d.ts.map +1 -0
  213. package/tools/links/bulk/create-links-bulk.js +940 -0
  214. package/tools/links/bulk/create-links-bulk.js.map +1 -0
  215. package/tools/links/bulk/create-links-bulk.mjs +936 -0
  216. package/tools/links/bulk/create-links-bulk.mjs.map +1 -0
  217. package/tools/links/bulk/delete-links-bulk.d.mts +45 -0
  218. package/tools/links/bulk/delete-links-bulk.d.mts.map +1 -0
  219. package/tools/links/bulk/delete-links-bulk.d.ts +45 -0
  220. package/tools/links/bulk/delete-links-bulk.d.ts.map +1 -0
  221. package/tools/links/bulk/delete-links-bulk.js +46 -0
  222. package/tools/links/bulk/delete-links-bulk.js.map +1 -0
  223. package/tools/links/bulk/delete-links-bulk.mjs +42 -0
  224. package/tools/links/bulk/delete-links-bulk.mjs.map +1 -0
  225. package/tools/links/count-links.d.mts +45 -0
  226. package/tools/links/count-links.d.mts.map +1 -0
  227. package/tools/links/count-links.d.ts +45 -0
  228. package/tools/links/count-links.d.ts.map +1 -0
  229. package/tools/links/count-links.js +935 -0
  230. package/tools/links/count-links.js.map +1 -0
  231. package/tools/links/count-links.mjs +931 -0
  232. package/tools/links/count-links.mjs.map +1 -0
  233. package/tools/links/create-links.d.mts +45 -0
  234. package/tools/links/create-links.d.mts.map +1 -0
  235. package/tools/links/create-links.d.ts +45 -0
  236. package/tools/links/create-links.d.ts.map +1 -0
  237. package/tools/links/create-links.js +931 -0
  238. package/tools/links/create-links.js.map +1 -0
  239. package/tools/links/create-links.mjs +927 -0
  240. package/tools/links/create-links.mjs.map +1 -0
  241. package/tools/links/delete-links.d.mts +45 -0
  242. package/tools/links/delete-links.d.mts.map +1 -0
  243. package/tools/links/delete-links.d.ts +45 -0
  244. package/tools/links/delete-links.d.ts.map +1 -0
  245. package/tools/links/delete-links.js +43 -0
  246. package/tools/links/delete-links.js.map +1 -0
  247. package/tools/links/delete-links.mjs +39 -0
  248. package/tools/links/delete-links.mjs.map +1 -0
  249. package/tools/links/list-links.d.mts +45 -0
  250. package/tools/links/list-links.d.mts.map +1 -0
  251. package/tools/links/list-links.d.ts +45 -0
  252. package/tools/links/list-links.d.ts.map +1 -0
  253. package/tools/links/list-links.js +957 -0
  254. package/tools/links/list-links.js.map +1 -0
  255. package/tools/links/list-links.mjs +953 -0
  256. package/tools/links/list-links.mjs.map +1 -0
  257. package/tools/links/retrieve-info-links.d.mts +45 -0
  258. package/tools/links/retrieve-info-links.d.mts.map +1 -0
  259. package/tools/links/retrieve-info-links.d.ts +45 -0
  260. package/tools/links/retrieve-info-links.d.ts.map +1 -0
  261. package/tools/links/retrieve-info-links.js +59 -0
  262. package/tools/links/retrieve-info-links.js.map +1 -0
  263. package/tools/links/retrieve-info-links.mjs +55 -0
  264. package/tools/links/retrieve-info-links.mjs.map +1 -0
  265. package/tools/links/update-links.d.mts +45 -0
  266. package/tools/links/update-links.d.mts.map +1 -0
  267. package/tools/links/update-links.d.ts +45 -0
  268. package/tools/links/update-links.d.ts.map +1 -0
  269. package/tools/links/update-links.js +937 -0
  270. package/tools/links/update-links.js.map +1 -0
  271. package/tools/links/update-links.mjs +933 -0
  272. package/tools/links/update-links.mjs.map +1 -0
  273. package/tools/links/upsert-links.d.mts +45 -0
  274. package/tools/links/upsert-links.d.mts.map +1 -0
  275. package/tools/links/upsert-links.d.ts +45 -0
  276. package/tools/links/upsert-links.d.ts.map +1 -0
  277. package/tools/links/upsert-links.js +931 -0
  278. package/tools/links/upsert-links.js.map +1 -0
  279. package/tools/links/upsert-links.mjs +927 -0
  280. package/tools/links/upsert-links.mjs.map +1 -0
  281. package/tools/projects/list-projects.d.mts +45 -0
  282. package/tools/projects/list-projects.d.mts.map +1 -0
  283. package/tools/projects/list-projects.d.ts +45 -0
  284. package/tools/projects/list-projects.d.ts.map +1 -0
  285. package/tools/projects/list-projects.js +39 -0
  286. package/tools/projects/list-projects.js.map +1 -0
  287. package/tools/projects/list-projects.mjs +35 -0
  288. package/tools/projects/list-projects.mjs.map +1 -0
  289. package/tools/projects/retrieve-projects.d.mts +45 -0
  290. package/tools/projects/retrieve-projects.d.mts.map +1 -0
  291. package/tools/projects/retrieve-projects.d.ts +45 -0
  292. package/tools/projects/retrieve-projects.d.ts.map +1 -0
  293. package/tools/projects/retrieve-projects.js +43 -0
  294. package/tools/projects/retrieve-projects.js.map +1 -0
  295. package/tools/projects/retrieve-projects.mjs +39 -0
  296. package/tools/projects/retrieve-projects.mjs.map +1 -0
  297. package/tools/qrcodes/bulk/create-qrcodes-bulk.d.mts +45 -0
  298. package/tools/qrcodes/bulk/create-qrcodes-bulk.d.mts.map +1 -0
  299. package/tools/qrcodes/bulk/create-qrcodes-bulk.d.ts +45 -0
  300. package/tools/qrcodes/bulk/create-qrcodes-bulk.d.ts.map +1 -0
  301. package/tools/qrcodes/bulk/create-qrcodes-bulk.js +1052 -0
  302. package/tools/qrcodes/bulk/create-qrcodes-bulk.js.map +1 -0
  303. package/tools/qrcodes/bulk/create-qrcodes-bulk.mjs +1048 -0
  304. package/tools/qrcodes/bulk/create-qrcodes-bulk.mjs.map +1 -0
  305. package/tools/qrcodes/bulk/delete-qrcodes-bulk.d.mts +45 -0
  306. package/tools/qrcodes/bulk/delete-qrcodes-bulk.d.mts.map +1 -0
  307. package/tools/qrcodes/bulk/delete-qrcodes-bulk.d.ts +45 -0
  308. package/tools/qrcodes/bulk/delete-qrcodes-bulk.d.ts.map +1 -0
  309. package/tools/qrcodes/bulk/delete-qrcodes-bulk.js +46 -0
  310. package/tools/qrcodes/bulk/delete-qrcodes-bulk.js.map +1 -0
  311. package/tools/qrcodes/bulk/delete-qrcodes-bulk.mjs +42 -0
  312. package/tools/qrcodes/bulk/delete-qrcodes-bulk.mjs.map +1 -0
  313. package/tools/qrcodes/count-qrcodes.d.mts +45 -0
  314. package/tools/qrcodes/count-qrcodes.d.mts.map +1 -0
  315. package/tools/qrcodes/count-qrcodes.d.ts +45 -0
  316. package/tools/qrcodes/count-qrcodes.d.ts.map +1 -0
  317. package/tools/qrcodes/count-qrcodes.js +199 -0
  318. package/tools/qrcodes/count-qrcodes.js.map +1 -0
  319. package/tools/qrcodes/count-qrcodes.mjs +195 -0
  320. package/tools/qrcodes/count-qrcodes.mjs.map +1 -0
  321. package/tools/qrcodes/create-qrcodes.d.mts +45 -0
  322. package/tools/qrcodes/create-qrcodes.d.mts.map +1 -0
  323. package/tools/qrcodes/create-qrcodes.d.ts +45 -0
  324. package/tools/qrcodes/create-qrcodes.d.ts.map +1 -0
  325. package/tools/qrcodes/create-qrcodes.js +1043 -0
  326. package/tools/qrcodes/create-qrcodes.js.map +1 -0
  327. package/tools/qrcodes/create-qrcodes.mjs +1039 -0
  328. package/tools/qrcodes/create-qrcodes.mjs.map +1 -0
  329. package/tools/qrcodes/delete-qrcodes.d.mts +45 -0
  330. package/tools/qrcodes/delete-qrcodes.d.mts.map +1 -0
  331. package/tools/qrcodes/delete-qrcodes.d.ts +45 -0
  332. package/tools/qrcodes/delete-qrcodes.d.ts.map +1 -0
  333. package/tools/qrcodes/delete-qrcodes.js +43 -0
  334. package/tools/qrcodes/delete-qrcodes.js.map +1 -0
  335. package/tools/qrcodes/delete-qrcodes.mjs +39 -0
  336. package/tools/qrcodes/delete-qrcodes.mjs.map +1 -0
  337. package/tools/qrcodes/list-qrcodes.d.mts +45 -0
  338. package/tools/qrcodes/list-qrcodes.d.mts.map +1 -0
  339. package/tools/qrcodes/list-qrcodes.d.ts +45 -0
  340. package/tools/qrcodes/list-qrcodes.d.ts.map +1 -0
  341. package/tools/qrcodes/list-qrcodes.js +201 -0
  342. package/tools/qrcodes/list-qrcodes.js.map +1 -0
  343. package/tools/qrcodes/list-qrcodes.mjs +197 -0
  344. package/tools/qrcodes/list-qrcodes.mjs.map +1 -0
  345. package/tools/qrcodes/retrieve-qrcodes.d.mts +45 -0
  346. package/tools/qrcodes/retrieve-qrcodes.d.mts.map +1 -0
  347. package/tools/qrcodes/retrieve-qrcodes.d.ts +45 -0
  348. package/tools/qrcodes/retrieve-qrcodes.d.ts.map +1 -0
  349. package/tools/qrcodes/retrieve-qrcodes.js +53 -0
  350. package/tools/qrcodes/retrieve-qrcodes.js.map +1 -0
  351. package/tools/qrcodes/retrieve-qrcodes.mjs +49 -0
  352. package/tools/qrcodes/retrieve-qrcodes.mjs.map +1 -0
  353. package/tools/qrcodes/update-qrcodes.d.mts +45 -0
  354. package/tools/qrcodes/update-qrcodes.d.mts.map +1 -0
  355. package/tools/qrcodes/update-qrcodes.d.ts +45 -0
  356. package/tools/qrcodes/update-qrcodes.d.ts.map +1 -0
  357. package/tools/qrcodes/update-qrcodes.js +1049 -0
  358. package/tools/qrcodes/update-qrcodes.js.map +1 -0
  359. package/tools/qrcodes/update-qrcodes.mjs +1045 -0
  360. package/tools/qrcodes/update-qrcodes.mjs.map +1 -0
  361. package/tools/qrcodes/upsert-qrcodes.d.mts +45 -0
  362. package/tools/qrcodes/upsert-qrcodes.d.mts.map +1 -0
  363. package/tools/qrcodes/upsert-qrcodes.d.ts +45 -0
  364. package/tools/qrcodes/upsert-qrcodes.d.ts.map +1 -0
  365. package/tools/qrcodes/upsert-qrcodes.js +1043 -0
  366. package/tools/qrcodes/upsert-qrcodes.js.map +1 -0
  367. package/tools/qrcodes/upsert-qrcodes.mjs +1039 -0
  368. package/tools/qrcodes/upsert-qrcodes.mjs.map +1 -0
  369. package/tools/tags/create-tags.d.mts +45 -0
  370. package/tools/tags/create-tags.d.mts.map +1 -0
  371. package/tools/tags/create-tags.d.ts +45 -0
  372. package/tools/tags/create-tags.d.ts.map +1 -0
  373. package/tools/tags/create-tags.js +46 -0
  374. package/tools/tags/create-tags.js.map +1 -0
  375. package/tools/tags/create-tags.mjs +42 -0
  376. package/tools/tags/create-tags.mjs.map +1 -0
  377. package/tools/tags/delete-tags.d.mts +45 -0
  378. package/tools/tags/delete-tags.d.mts.map +1 -0
  379. package/tools/tags/delete-tags.d.ts +45 -0
  380. package/tools/tags/delete-tags.d.ts.map +1 -0
  381. package/tools/tags/delete-tags.js +43 -0
  382. package/tools/tags/delete-tags.js.map +1 -0
  383. package/tools/tags/delete-tags.mjs +39 -0
  384. package/tools/tags/delete-tags.mjs.map +1 -0
  385. package/tools/tags/list-tags.d.mts +45 -0
  386. package/tools/tags/list-tags.d.mts.map +1 -0
  387. package/tools/tags/list-tags.d.ts +45 -0
  388. package/tools/tags/list-tags.d.ts.map +1 -0
  389. package/tools/tags/list-tags.js +75 -0
  390. package/tools/tags/list-tags.js.map +1 -0
  391. package/tools/tags/list-tags.mjs +71 -0
  392. package/tools/tags/list-tags.mjs.map +1 -0
  393. package/tools/tags/update-tags.d.mts +45 -0
  394. package/tools/tags/update-tags.d.mts.map +1 -0
  395. package/tools/tags/update-tags.d.ts +45 -0
  396. package/tools/tags/update-tags.d.ts.map +1 -0
  397. package/tools/tags/update-tags.js +51 -0
  398. package/tools/tags/update-tags.js.map +1 -0
  399. package/tools/tags/update-tags.mjs +47 -0
  400. package/tools/tags/update-tags.mjs.map +1 -0
  401. package/tools/track/track-lead-track.d.mts +45 -0
  402. package/tools/track/track-lead-track.d.mts.map +1 -0
  403. package/tools/track/track-lead-track.d.ts +45 -0
  404. package/tools/track/track-lead-track.d.ts.map +1 -0
  405. package/tools/track/track-lead-track.js +66 -0
  406. package/tools/track/track-lead-track.js.map +1 -0
  407. package/tools/track/track-lead-track.mjs +62 -0
  408. package/tools/track/track-lead-track.mjs.map +1 -0
  409. package/tools/track/track-sale-track.d.mts +45 -0
  410. package/tools/track/track-sale-track.d.mts.map +1 -0
  411. package/tools/track/track-sale-track.d.ts +45 -0
  412. package/tools/track/track-sale-track.d.ts.map +1 -0
  413. package/tools/track/track-sale-track.js +67 -0
  414. package/tools/track/track-sale-track.js.map +1 -0
  415. package/tools/track/track-sale-track.mjs +63 -0
  416. package/tools/track/track-sale-track.mjs.map +1 -0
  417. package/tools/types.d.mts +51 -0
  418. package/tools/types.d.mts.map +1 -0
  419. package/tools/types.d.ts +51 -0
  420. package/tools/types.d.ts.map +1 -0
  421. package/tools/types.js +46 -0
  422. package/tools/types.js.map +1 -0
  423. package/tools/types.mjs +42 -0
  424. package/tools/types.mjs.map +1 -0
  425. package/tools.d.mts +2 -0
  426. package/tools.d.mts.map +1 -0
  427. package/tools.d.ts +2 -0
  428. package/tools.d.ts.map +1 -0
  429. package/tools.js +18 -0
  430. package/tools.js.map +1 -0
  431. package/tools.mjs +2 -0
  432. package/tools.mjs.map +1 -0
@@ -0,0 +1,947 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { Metadata, asTextContentResult } from '@codeqr/ts-mcp/tools/types';
4
+
5
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
6
+ import Codeqr from '@codeqr/ts';
7
+
8
+ export const metadata: Metadata = {
9
+ resource: 'links',
10
+ operation: 'write',
11
+ tags: [],
12
+ httpMethod: 'patch',
13
+ httpPath: '/links/update',
14
+ operationId: 'upsertLink',
15
+ };
16
+
17
+ export const tool: Tool = {
18
+ name: 'upsert_links',
19
+ description:
20
+ 'Upsert a link for the authenticated workspace by its URL. If a link with the same URL already exists, return it (or update it if there are any changes). Otherwise, a new link will be created.',
21
+ inputSchema: {
22
+ type: 'object',
23
+ properties: {
24
+ url: {
25
+ type: 'string',
26
+ description: 'The destination URL of the short link.',
27
+ },
28
+ android: {
29
+ type: 'string',
30
+ description: 'The Android destination URL for the short link for Android device targeting.',
31
+ },
32
+ archived: {
33
+ type: 'boolean',
34
+ description: 'Whether the short link is archived.',
35
+ },
36
+ comments: {
37
+ type: 'string',
38
+ description: 'The comments for the short link.',
39
+ },
40
+ description: {
41
+ type: 'string',
42
+ description:
43
+ 'The description of the short link generated via `api.codeqr.io/metatags`. Will be used for custom link preview if `proxy` is true.',
44
+ },
45
+ doIndex: {
46
+ type: 'boolean',
47
+ description:
48
+ 'Allow search engines to index your short link. Default is `false` if not provided. Learn more: https://codeqr.link/noindex',
49
+ },
50
+ domain: {
51
+ type: 'string',
52
+ description:
53
+ 'The domain of the short link. If not provided, the main domain of the project will be used (or `codeqr.link` if the project has no domains).',
54
+ },
55
+ expiredUrl: {
56
+ type: 'string',
57
+ description: 'The URL to redirect to when the short link expires.',
58
+ },
59
+ expiresAt: {
60
+ type: 'string',
61
+ description:
62
+ 'The date and time when the short link will expire in ISO-8601 format. Must be in the future.',
63
+ format: 'date-time',
64
+ },
65
+ externalId: {
66
+ type: 'string',
67
+ description:
68
+ 'This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with `ext_` when passed as a query parameter.',
69
+ },
70
+ flexible: {
71
+ type: 'boolean',
72
+ description: 'Whether the short link is flexible.',
73
+ },
74
+ geo: {
75
+ type: 'object',
76
+ description:
77
+ 'Geographic targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`.',
78
+ properties: {
79
+ AD: {
80
+ type: 'string',
81
+ },
82
+ AE: {
83
+ type: 'string',
84
+ },
85
+ AF: {
86
+ type: 'string',
87
+ },
88
+ AG: {
89
+ type: 'string',
90
+ },
91
+ AI: {
92
+ type: 'string',
93
+ },
94
+ AL: {
95
+ type: 'string',
96
+ },
97
+ AM: {
98
+ type: 'string',
99
+ },
100
+ AO: {
101
+ type: 'string',
102
+ },
103
+ AQ: {
104
+ type: 'string',
105
+ },
106
+ AR: {
107
+ type: 'string',
108
+ },
109
+ AS: {
110
+ type: 'string',
111
+ },
112
+ AT: {
113
+ type: 'string',
114
+ },
115
+ AU: {
116
+ type: 'string',
117
+ },
118
+ AW: {
119
+ type: 'string',
120
+ },
121
+ AX: {
122
+ type: 'string',
123
+ },
124
+ AZ: {
125
+ type: 'string',
126
+ },
127
+ BA: {
128
+ type: 'string',
129
+ },
130
+ BB: {
131
+ type: 'string',
132
+ },
133
+ BD: {
134
+ type: 'string',
135
+ },
136
+ BE: {
137
+ type: 'string',
138
+ },
139
+ BF: {
140
+ type: 'string',
141
+ },
142
+ BG: {
143
+ type: 'string',
144
+ },
145
+ BH: {
146
+ type: 'string',
147
+ },
148
+ BI: {
149
+ type: 'string',
150
+ },
151
+ BJ: {
152
+ type: 'string',
153
+ },
154
+ BL: {
155
+ type: 'string',
156
+ },
157
+ BM: {
158
+ type: 'string',
159
+ },
160
+ BN: {
161
+ type: 'string',
162
+ },
163
+ BO: {
164
+ type: 'string',
165
+ },
166
+ BQ: {
167
+ type: 'string',
168
+ },
169
+ BR: {
170
+ type: 'string',
171
+ },
172
+ BS: {
173
+ type: 'string',
174
+ },
175
+ BT: {
176
+ type: 'string',
177
+ },
178
+ BV: {
179
+ type: 'string',
180
+ },
181
+ BW: {
182
+ type: 'string',
183
+ },
184
+ BY: {
185
+ type: 'string',
186
+ },
187
+ BZ: {
188
+ type: 'string',
189
+ },
190
+ CA: {
191
+ type: 'string',
192
+ },
193
+ CC: {
194
+ type: 'string',
195
+ },
196
+ CD: {
197
+ type: 'string',
198
+ },
199
+ CF: {
200
+ type: 'string',
201
+ },
202
+ CG: {
203
+ type: 'string',
204
+ },
205
+ CH: {
206
+ type: 'string',
207
+ },
208
+ CI: {
209
+ type: 'string',
210
+ },
211
+ CK: {
212
+ type: 'string',
213
+ },
214
+ CL: {
215
+ type: 'string',
216
+ },
217
+ CM: {
218
+ type: 'string',
219
+ },
220
+ CN: {
221
+ type: 'string',
222
+ },
223
+ CO: {
224
+ type: 'string',
225
+ },
226
+ CR: {
227
+ type: 'string',
228
+ },
229
+ CU: {
230
+ type: 'string',
231
+ },
232
+ CV: {
233
+ type: 'string',
234
+ },
235
+ CW: {
236
+ type: 'string',
237
+ },
238
+ CX: {
239
+ type: 'string',
240
+ },
241
+ CY: {
242
+ type: 'string',
243
+ },
244
+ CZ: {
245
+ type: 'string',
246
+ },
247
+ DE: {
248
+ type: 'string',
249
+ },
250
+ DJ: {
251
+ type: 'string',
252
+ },
253
+ DK: {
254
+ type: 'string',
255
+ },
256
+ DM: {
257
+ type: 'string',
258
+ },
259
+ DO: {
260
+ type: 'string',
261
+ },
262
+ DZ: {
263
+ type: 'string',
264
+ },
265
+ EC: {
266
+ type: 'string',
267
+ },
268
+ EE: {
269
+ type: 'string',
270
+ },
271
+ EG: {
272
+ type: 'string',
273
+ },
274
+ EH: {
275
+ type: 'string',
276
+ },
277
+ ER: {
278
+ type: 'string',
279
+ },
280
+ ES: {
281
+ type: 'string',
282
+ },
283
+ ET: {
284
+ type: 'string',
285
+ },
286
+ FI: {
287
+ type: 'string',
288
+ },
289
+ FJ: {
290
+ type: 'string',
291
+ },
292
+ FK: {
293
+ type: 'string',
294
+ },
295
+ FM: {
296
+ type: 'string',
297
+ },
298
+ FO: {
299
+ type: 'string',
300
+ },
301
+ FR: {
302
+ type: 'string',
303
+ },
304
+ GA: {
305
+ type: 'string',
306
+ },
307
+ GB: {
308
+ type: 'string',
309
+ },
310
+ GD: {
311
+ type: 'string',
312
+ },
313
+ GE: {
314
+ type: 'string',
315
+ },
316
+ GF: {
317
+ type: 'string',
318
+ },
319
+ GG: {
320
+ type: 'string',
321
+ },
322
+ GH: {
323
+ type: 'string',
324
+ },
325
+ GI: {
326
+ type: 'string',
327
+ },
328
+ GL: {
329
+ type: 'string',
330
+ },
331
+ GM: {
332
+ type: 'string',
333
+ },
334
+ GN: {
335
+ type: 'string',
336
+ },
337
+ GP: {
338
+ type: 'string',
339
+ },
340
+ GQ: {
341
+ type: 'string',
342
+ },
343
+ GR: {
344
+ type: 'string',
345
+ },
346
+ GS: {
347
+ type: 'string',
348
+ },
349
+ GT: {
350
+ type: 'string',
351
+ },
352
+ GU: {
353
+ type: 'string',
354
+ },
355
+ GW: {
356
+ type: 'string',
357
+ },
358
+ GY: {
359
+ type: 'string',
360
+ },
361
+ HK: {
362
+ type: 'string',
363
+ },
364
+ HM: {
365
+ type: 'string',
366
+ },
367
+ HN: {
368
+ type: 'string',
369
+ },
370
+ HR: {
371
+ type: 'string',
372
+ },
373
+ HT: {
374
+ type: 'string',
375
+ },
376
+ HU: {
377
+ type: 'string',
378
+ },
379
+ ID: {
380
+ type: 'string',
381
+ },
382
+ IE: {
383
+ type: 'string',
384
+ },
385
+ IL: {
386
+ type: 'string',
387
+ },
388
+ IM: {
389
+ type: 'string',
390
+ },
391
+ IN: {
392
+ type: 'string',
393
+ },
394
+ IO: {
395
+ type: 'string',
396
+ },
397
+ IQ: {
398
+ type: 'string',
399
+ },
400
+ IR: {
401
+ type: 'string',
402
+ },
403
+ IS: {
404
+ type: 'string',
405
+ },
406
+ IT: {
407
+ type: 'string',
408
+ },
409
+ JE: {
410
+ type: 'string',
411
+ },
412
+ JM: {
413
+ type: 'string',
414
+ },
415
+ JO: {
416
+ type: 'string',
417
+ },
418
+ JP: {
419
+ type: 'string',
420
+ },
421
+ KE: {
422
+ type: 'string',
423
+ },
424
+ KG: {
425
+ type: 'string',
426
+ },
427
+ KH: {
428
+ type: 'string',
429
+ },
430
+ KI: {
431
+ type: 'string',
432
+ },
433
+ KM: {
434
+ type: 'string',
435
+ },
436
+ KN: {
437
+ type: 'string',
438
+ },
439
+ KP: {
440
+ type: 'string',
441
+ },
442
+ KR: {
443
+ type: 'string',
444
+ },
445
+ KW: {
446
+ type: 'string',
447
+ },
448
+ KY: {
449
+ type: 'string',
450
+ },
451
+ KZ: {
452
+ type: 'string',
453
+ },
454
+ LA: {
455
+ type: 'string',
456
+ },
457
+ LB: {
458
+ type: 'string',
459
+ },
460
+ LC: {
461
+ type: 'string',
462
+ },
463
+ LI: {
464
+ type: 'string',
465
+ },
466
+ LK: {
467
+ type: 'string',
468
+ },
469
+ LR: {
470
+ type: 'string',
471
+ },
472
+ LS: {
473
+ type: 'string',
474
+ },
475
+ LT: {
476
+ type: 'string',
477
+ },
478
+ LU: {
479
+ type: 'string',
480
+ },
481
+ LV: {
482
+ type: 'string',
483
+ },
484
+ LY: {
485
+ type: 'string',
486
+ },
487
+ MA: {
488
+ type: 'string',
489
+ },
490
+ MC: {
491
+ type: 'string',
492
+ },
493
+ MD: {
494
+ type: 'string',
495
+ },
496
+ ME: {
497
+ type: 'string',
498
+ },
499
+ MF: {
500
+ type: 'string',
501
+ },
502
+ MG: {
503
+ type: 'string',
504
+ },
505
+ MH: {
506
+ type: 'string',
507
+ },
508
+ MK: {
509
+ type: 'string',
510
+ },
511
+ ML: {
512
+ type: 'string',
513
+ },
514
+ MM: {
515
+ type: 'string',
516
+ },
517
+ MN: {
518
+ type: 'string',
519
+ },
520
+ MO: {
521
+ type: 'string',
522
+ },
523
+ MP: {
524
+ type: 'string',
525
+ },
526
+ MQ: {
527
+ type: 'string',
528
+ },
529
+ MR: {
530
+ type: 'string',
531
+ },
532
+ MS: {
533
+ type: 'string',
534
+ },
535
+ MT: {
536
+ type: 'string',
537
+ },
538
+ MU: {
539
+ type: 'string',
540
+ },
541
+ MV: {
542
+ type: 'string',
543
+ },
544
+ MW: {
545
+ type: 'string',
546
+ },
547
+ MX: {
548
+ type: 'string',
549
+ },
550
+ MY: {
551
+ type: 'string',
552
+ },
553
+ MZ: {
554
+ type: 'string',
555
+ },
556
+ NA: {
557
+ type: 'string',
558
+ },
559
+ NC: {
560
+ type: 'string',
561
+ },
562
+ NE: {
563
+ type: 'string',
564
+ },
565
+ NF: {
566
+ type: 'string',
567
+ },
568
+ NG: {
569
+ type: 'string',
570
+ },
571
+ NI: {
572
+ type: 'string',
573
+ },
574
+ NL: {
575
+ type: 'string',
576
+ },
577
+ NO: {
578
+ type: 'string',
579
+ },
580
+ NP: {
581
+ type: 'string',
582
+ },
583
+ NR: {
584
+ type: 'string',
585
+ },
586
+ NU: {
587
+ type: 'string',
588
+ },
589
+ NZ: {
590
+ type: 'string',
591
+ },
592
+ OM: {
593
+ type: 'string',
594
+ },
595
+ PA: {
596
+ type: 'string',
597
+ },
598
+ PE: {
599
+ type: 'string',
600
+ },
601
+ PF: {
602
+ type: 'string',
603
+ },
604
+ PG: {
605
+ type: 'string',
606
+ },
607
+ PH: {
608
+ type: 'string',
609
+ },
610
+ PK: {
611
+ type: 'string',
612
+ },
613
+ PL: {
614
+ type: 'string',
615
+ },
616
+ PM: {
617
+ type: 'string',
618
+ },
619
+ PN: {
620
+ type: 'string',
621
+ },
622
+ PR: {
623
+ type: 'string',
624
+ },
625
+ PS: {
626
+ type: 'string',
627
+ },
628
+ PT: {
629
+ type: 'string',
630
+ },
631
+ PW: {
632
+ type: 'string',
633
+ },
634
+ PY: {
635
+ type: 'string',
636
+ },
637
+ QA: {
638
+ type: 'string',
639
+ },
640
+ RE: {
641
+ type: 'string',
642
+ },
643
+ RO: {
644
+ type: 'string',
645
+ },
646
+ RS: {
647
+ type: 'string',
648
+ },
649
+ RU: {
650
+ type: 'string',
651
+ },
652
+ RW: {
653
+ type: 'string',
654
+ },
655
+ SA: {
656
+ type: 'string',
657
+ },
658
+ SB: {
659
+ type: 'string',
660
+ },
661
+ SC: {
662
+ type: 'string',
663
+ },
664
+ SD: {
665
+ type: 'string',
666
+ },
667
+ SE: {
668
+ type: 'string',
669
+ },
670
+ SG: {
671
+ type: 'string',
672
+ },
673
+ SH: {
674
+ type: 'string',
675
+ },
676
+ SI: {
677
+ type: 'string',
678
+ },
679
+ SJ: {
680
+ type: 'string',
681
+ },
682
+ SK: {
683
+ type: 'string',
684
+ },
685
+ SL: {
686
+ type: 'string',
687
+ },
688
+ SM: {
689
+ type: 'string',
690
+ },
691
+ SN: {
692
+ type: 'string',
693
+ },
694
+ SO: {
695
+ type: 'string',
696
+ },
697
+ SR: {
698
+ type: 'string',
699
+ },
700
+ SS: {
701
+ type: 'string',
702
+ },
703
+ ST: {
704
+ type: 'string',
705
+ },
706
+ SV: {
707
+ type: 'string',
708
+ },
709
+ SX: {
710
+ type: 'string',
711
+ },
712
+ SY: {
713
+ type: 'string',
714
+ },
715
+ SZ: {
716
+ type: 'string',
717
+ },
718
+ TC: {
719
+ type: 'string',
720
+ },
721
+ TD: {
722
+ type: 'string',
723
+ },
724
+ TF: {
725
+ type: 'string',
726
+ },
727
+ TG: {
728
+ type: 'string',
729
+ },
730
+ TH: {
731
+ type: 'string',
732
+ },
733
+ TJ: {
734
+ type: 'string',
735
+ },
736
+ TK: {
737
+ type: 'string',
738
+ },
739
+ TL: {
740
+ type: 'string',
741
+ },
742
+ TM: {
743
+ type: 'string',
744
+ },
745
+ TN: {
746
+ type: 'string',
747
+ },
748
+ TO: {
749
+ type: 'string',
750
+ },
751
+ TR: {
752
+ type: 'string',
753
+ },
754
+ TT: {
755
+ type: 'string',
756
+ },
757
+ TV: {
758
+ type: 'string',
759
+ },
760
+ TW: {
761
+ type: 'string',
762
+ },
763
+ TZ: {
764
+ type: 'string',
765
+ },
766
+ UA: {
767
+ type: 'string',
768
+ },
769
+ UG: {
770
+ type: 'string',
771
+ },
772
+ UM: {
773
+ type: 'string',
774
+ },
775
+ US: {
776
+ type: 'string',
777
+ },
778
+ UY: {
779
+ type: 'string',
780
+ },
781
+ UZ: {
782
+ type: 'string',
783
+ },
784
+ VA: {
785
+ type: 'string',
786
+ },
787
+ VC: {
788
+ type: 'string',
789
+ },
790
+ VE: {
791
+ type: 'string',
792
+ },
793
+ VG: {
794
+ type: 'string',
795
+ },
796
+ VI: {
797
+ type: 'string',
798
+ },
799
+ VN: {
800
+ type: 'string',
801
+ },
802
+ VU: {
803
+ type: 'string',
804
+ },
805
+ WF: {
806
+ type: 'string',
807
+ },
808
+ WS: {
809
+ type: 'string',
810
+ },
811
+ XK: {
812
+ type: 'string',
813
+ },
814
+ YE: {
815
+ type: 'string',
816
+ },
817
+ YT: {
818
+ type: 'string',
819
+ },
820
+ ZA: {
821
+ type: 'string',
822
+ },
823
+ ZM: {
824
+ type: 'string',
825
+ },
826
+ ZW: {
827
+ type: 'string',
828
+ },
829
+ },
830
+ },
831
+ image: {
832
+ type: 'string',
833
+ description:
834
+ 'The image of the short link generated via `api.codeqr.io/metatags`. Will be used for custom link preview if `proxy` is true.',
835
+ },
836
+ ios: {
837
+ type: 'string',
838
+ description: 'The iOS destination URL for the short link for iOS device targeting.',
839
+ },
840
+ isFormMandatory: {
841
+ type: 'boolean',
842
+ description: 'If the form is mandatory for the page.',
843
+ },
844
+ key: {
845
+ type: 'string',
846
+ description:
847
+ 'The slug of the short link. If not provided, a random 7-character slug will be generated.',
848
+ },
849
+ pageId: {
850
+ type: 'string',
851
+ description: 'The ID of the page to redirect to before the link destination.',
852
+ },
853
+ pageUrl: {
854
+ type: 'string',
855
+ description: 'The URL of the page to redirect to before the link destination.',
856
+ },
857
+ password: {
858
+ type: 'string',
859
+ description: 'The password required to access the short link destination URL.',
860
+ },
861
+ prefix: {
862
+ type: 'string',
863
+ description:
864
+ 'The prefix of the short link slug for randomly generated keys (for example, if the prefix is `/c/`, the generated keys will be in the format `/c/:key`). Will be ignored if `key` is provided.',
865
+ },
866
+ preRedirection: {
867
+ type: 'boolean',
868
+ description: 'Whether the short link has pre-redirection.',
869
+ },
870
+ proxy: {
871
+ type: 'boolean',
872
+ description: 'Whether the short link uses the custom link preview feature.',
873
+ },
874
+ publicStats: {
875
+ type: 'boolean',
876
+ description: 'Whether the short link statistics are publicly accessible.',
877
+ },
878
+ rewrite: {
879
+ type: 'boolean',
880
+ description: 'Whether the short link uses link cloaking.',
881
+ },
882
+ tagId: {
883
+ type: 'string',
884
+ description:
885
+ 'The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead.',
886
+ },
887
+ tagIds: {
888
+ anyOf: [
889
+ {
890
+ type: 'string',
891
+ },
892
+ {
893
+ type: 'array',
894
+ items: {
895
+ type: 'string',
896
+ },
897
+ },
898
+ ],
899
+ description: 'The unique IDs of the tags assigned to the short link.',
900
+ },
901
+ tagNames: {
902
+ anyOf: [
903
+ {
904
+ type: 'string',
905
+ },
906
+ {
907
+ type: 'array',
908
+ items: {
909
+ type: 'string',
910
+ },
911
+ },
912
+ ],
913
+ description: 'The unique name of the tags assigned to the short link (case insensitive).',
914
+ },
915
+ title: {
916
+ type: 'string',
917
+ description:
918
+ 'The title of the short link generated via `api.codeqr.io/metatags`. Will be used for custom link preview if `proxy` is true.',
919
+ },
920
+ trackConversion: {
921
+ type: 'boolean',
922
+ description: 'Whether to track conversions for the short link.',
923
+ },
924
+ video: {
925
+ type: 'string',
926
+ description: 'The video of the short link.',
927
+ },
928
+ webhookIds: {
929
+ type: 'array',
930
+ description:
931
+ 'An array of webhook IDs to trigger when the link is clicked. These webhooks will receive click event data.',
932
+ items: {
933
+ type: 'string',
934
+ },
935
+ },
936
+ },
937
+ required: ['url'],
938
+ },
939
+ annotations: {},
940
+ };
941
+
942
+ export const handler = async (client: Codeqr, args: Record<string, unknown> | undefined) => {
943
+ const body = args as any;
944
+ return asTextContentResult(await client.links.upsert(body));
945
+ };
946
+
947
+ export default { metadata, tool, handler };