@forumviriumhelsinki/podio-mcp 2.3.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 (197) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +491 -0
  3. package/build/__tests__/integration/setup.integration.d.ts +104 -0
  4. package/build/__tests__/integration/setup.integration.d.ts.map +1 -0
  5. package/build/__tests__/integration/setup.integration.js +233 -0
  6. package/build/__tests__/integration/setup.integration.js.map +1 -0
  7. package/build/__tests__/mock-data/items-mock-data.d.ts +168 -0
  8. package/build/__tests__/mock-data/items-mock-data.d.ts.map +1 -0
  9. package/build/__tests__/mock-data/items-mock-data.js +370 -0
  10. package/build/__tests__/mock-data/items-mock-data.js.map +1 -0
  11. package/build/__tests__/mock-data/notification-mock-data.d.ts +55 -0
  12. package/build/__tests__/mock-data/notification-mock-data.d.ts.map +1 -0
  13. package/build/__tests__/mock-data/notification-mock-data.js +190 -0
  14. package/build/__tests__/mock-data/notification-mock-data.js.map +1 -0
  15. package/build/__tests__/mock-data/project-epic-mock-data.d.ts +45 -0
  16. package/build/__tests__/mock-data/project-epic-mock-data.d.ts.map +1 -0
  17. package/build/__tests__/mock-data/project-epic-mock-data.js +85 -0
  18. package/build/__tests__/mock-data/project-epic-mock-data.js.map +1 -0
  19. package/build/__tests__/mock-data/tasks-mock-data.d.ts +27 -0
  20. package/build/__tests__/mock-data/tasks-mock-data.d.ts.map +1 -0
  21. package/build/__tests__/mock-data/tasks-mock-data.js +104 -0
  22. package/build/__tests__/mock-data/tasks-mock-data.js.map +1 -0
  23. package/build/__tests__/mock-data/utility-mock-data.d.ts +19 -0
  24. package/build/__tests__/mock-data/utility-mock-data.d.ts.map +1 -0
  25. package/build/__tests__/mock-data/utility-mock-data.js +165 -0
  26. package/build/__tests__/mock-data/utility-mock-data.js.map +1 -0
  27. package/build/__tests__/setup.d.ts +8 -0
  28. package/build/__tests__/setup.d.ts.map +1 -0
  29. package/build/__tests__/setup.js +31 -0
  30. package/build/__tests__/setup.js.map +1 -0
  31. package/build/__tests__/utils/test-helpers.d.ts +110 -0
  32. package/build/__tests__/utils/test-helpers.d.ts.map +1 -0
  33. package/build/__tests__/utils/test-helpers.js +222 -0
  34. package/build/__tests__/utils/test-helpers.js.map +1 -0
  35. package/build/api/podio-api-client.d.ts +364 -0
  36. package/build/api/podio-api-client.d.ts.map +1 -0
  37. package/build/api/podio-api-client.js +696 -0
  38. package/build/api/podio-api-client.js.map +1 -0
  39. package/build/cache/app-cache.d.ts +77 -0
  40. package/build/cache/app-cache.d.ts.map +1 -0
  41. package/build/cache/app-cache.js +230 -0
  42. package/build/cache/app-cache.js.map +1 -0
  43. package/build/cache/base-cache-manager.d.ts +149 -0
  44. package/build/cache/base-cache-manager.d.ts.map +1 -0
  45. package/build/cache/base-cache-manager.js +312 -0
  46. package/build/cache/base-cache-manager.js.map +1 -0
  47. package/build/cache/cache-manager.d.ts +230 -0
  48. package/build/cache/cache-manager.d.ts.map +1 -0
  49. package/build/cache/cache-manager.js +362 -0
  50. package/build/cache/cache-manager.js.map +1 -0
  51. package/build/cache/cache-test.d.ts +9 -0
  52. package/build/cache/cache-test.d.ts.map +1 -0
  53. package/build/cache/cache-test.js +169 -0
  54. package/build/cache/cache-test.js.map +1 -0
  55. package/build/cache/index.d.ts +18 -0
  56. package/build/cache/index.d.ts.map +1 -0
  57. package/build/cache/index.js +20 -0
  58. package/build/cache/index.js.map +1 -0
  59. package/build/cache/migration-helper.d.ts +44 -0
  60. package/build/cache/migration-helper.d.ts.map +1 -0
  61. package/build/cache/migration-helper.js +235 -0
  62. package/build/cache/migration-helper.js.map +1 -0
  63. package/build/cache/project-epic-cache.d.ts +108 -0
  64. package/build/cache/project-epic-cache.d.ts.map +1 -0
  65. package/build/cache/project-epic-cache.js +278 -0
  66. package/build/cache/project-epic-cache.js.map +1 -0
  67. package/build/cache/space-members-cache.d.ts +99 -0
  68. package/build/cache/space-members-cache.d.ts.map +1 -0
  69. package/build/cache/space-members-cache.js +305 -0
  70. package/build/cache/space-members-cache.js.map +1 -0
  71. package/build/cache/storage-adapters.d.ts +100 -0
  72. package/build/cache/storage-adapters.d.ts.map +1 -0
  73. package/build/cache/storage-adapters.js +297 -0
  74. package/build/cache/storage-adapters.js.map +1 -0
  75. package/build/errors/api-errors.d.ts +52 -0
  76. package/build/errors/api-errors.d.ts.map +1 -0
  77. package/build/errors/api-errors.js +86 -0
  78. package/build/errors/api-errors.js.map +1 -0
  79. package/build/errors/auth-errors.d.ts +67 -0
  80. package/build/errors/auth-errors.d.ts.map +1 -0
  81. package/build/errors/auth-errors.js +114 -0
  82. package/build/errors/auth-errors.js.map +1 -0
  83. package/build/errors/base.d.ts +102 -0
  84. package/build/errors/base.d.ts.map +1 -0
  85. package/build/errors/base.js +131 -0
  86. package/build/errors/base.js.map +1 -0
  87. package/build/errors/cache-errors.d.ts +53 -0
  88. package/build/errors/cache-errors.d.ts.map +1 -0
  89. package/build/errors/cache-errors.js +83 -0
  90. package/build/errors/cache-errors.js.map +1 -0
  91. package/build/errors/config-errors.d.ts +58 -0
  92. package/build/errors/config-errors.d.ts.map +1 -0
  93. package/build/errors/config-errors.js +96 -0
  94. package/build/errors/config-errors.js.map +1 -0
  95. package/build/errors/index.d.ts +101 -0
  96. package/build/errors/index.d.ts.map +1 -0
  97. package/build/errors/index.js +135 -0
  98. package/build/errors/index.js.map +1 -0
  99. package/build/errors/structure-errors.d.ts +89 -0
  100. package/build/errors/structure-errors.d.ts.map +1 -0
  101. package/build/errors/structure-errors.js +182 -0
  102. package/build/errors/structure-errors.js.map +1 -0
  103. package/build/errors/validation-errors.d.ts +81 -0
  104. package/build/errors/validation-errors.d.ts.map +1 -0
  105. package/build/errors/validation-errors.js +169 -0
  106. package/build/errors/validation-errors.js.map +1 -0
  107. package/build/fields/field-mapper.d.ts +245 -0
  108. package/build/fields/field-mapper.d.ts.map +1 -0
  109. package/build/fields/field-mapper.js +404 -0
  110. package/build/fields/field-mapper.js.map +1 -0
  111. package/build/index.d.ts +550 -0
  112. package/build/index.d.ts.map +1 -0
  113. package/build/index.js +1527 -0
  114. package/build/index.js.map +1 -0
  115. package/build/oauth-helper.d.ts +189 -0
  116. package/build/oauth-helper.d.ts.map +1 -0
  117. package/build/oauth-helper.js +422 -0
  118. package/build/oauth-helper.js.map +1 -0
  119. package/build/services/app-structure-service.d.ts +49 -0
  120. package/build/services/app-structure-service.d.ts.map +1 -0
  121. package/build/services/app-structure-service.js +122 -0
  122. package/build/services/app-structure-service.js.map +1 -0
  123. package/build/services/code-execution-service.d.ts +88 -0
  124. package/build/services/code-execution-service.d.ts.map +1 -0
  125. package/build/services/code-execution-service.js +342 -0
  126. package/build/services/code-execution-service.js.map +1 -0
  127. package/build/services/comment-service.d.ts +66 -0
  128. package/build/services/comment-service.d.ts.map +1 -0
  129. package/build/services/comment-service.js +139 -0
  130. package/build/services/comment-service.js.map +1 -0
  131. package/build/services/index.d.ts +16 -0
  132. package/build/services/index.d.ts.map +1 -0
  133. package/build/services/index.js +15 -0
  134. package/build/services/index.js.map +1 -0
  135. package/build/services/item-service.d.ts +104 -0
  136. package/build/services/item-service.d.ts.map +1 -0
  137. package/build/services/item-service.js +368 -0
  138. package/build/services/item-service.js.map +1 -0
  139. package/build/services/notification-service.d.ts +125 -0
  140. package/build/services/notification-service.d.ts.map +1 -0
  141. package/build/services/notification-service.js +321 -0
  142. package/build/services/notification-service.js.map +1 -0
  143. package/build/services/project-epic-service.d.ts +73 -0
  144. package/build/services/project-epic-service.d.ts.map +1 -0
  145. package/build/services/project-epic-service.js +248 -0
  146. package/build/services/project-epic-service.js.map +1 -0
  147. package/build/services/response-formatter.d.ts +190 -0
  148. package/build/services/response-formatter.d.ts.map +1 -0
  149. package/build/services/response-formatter.js +1221 -0
  150. package/build/services/response-formatter.js.map +1 -0
  151. package/build/services/search-service.d.ts +103 -0
  152. package/build/services/search-service.d.ts.map +1 -0
  153. package/build/services/search-service.js +273 -0
  154. package/build/services/search-service.js.map +1 -0
  155. package/build/services/task-service.d.ts +70 -0
  156. package/build/services/task-service.d.ts.map +1 -0
  157. package/build/services/task-service.js +156 -0
  158. package/build/services/task-service.js.map +1 -0
  159. package/build/tools/index.d.ts +8 -0
  160. package/build/tools/index.d.ts.map +1 -0
  161. package/build/tools/index.js +8 -0
  162. package/build/tools/index.js.map +1 -0
  163. package/build/tools/tool-definitions.d.ts +89 -0
  164. package/build/tools/tool-definitions.d.ts.map +1 -0
  165. package/build/tools/tool-definitions.js +1167 -0
  166. package/build/tools/tool-definitions.js.map +1 -0
  167. package/build/types/api-types.d.ts +106 -0
  168. package/build/types/api-types.d.ts.map +1 -0
  169. package/build/types/api-types.js +11 -0
  170. package/build/types/api-types.js.map +1 -0
  171. package/build/types/cache-types.d.ts +52 -0
  172. package/build/types/cache-types.d.ts.map +1 -0
  173. package/build/types/cache-types.js +12 -0
  174. package/build/types/cache-types.js.map +1 -0
  175. package/build/types/index.d.ts +31 -0
  176. package/build/types/index.d.ts.map +1 -0
  177. package/build/types/index.js +25 -0
  178. package/build/types/index.js.map +1 -0
  179. package/build/types/notification-types.d.ts +154 -0
  180. package/build/types/notification-types.d.ts.map +1 -0
  181. package/build/types/notification-types.js +7 -0
  182. package/build/types/notification-types.js.map +1 -0
  183. package/build/types/podio-types.d.ts +250 -0
  184. package/build/types/podio-types.d.ts.map +1 -0
  185. package/build/types/podio-types.js +11 -0
  186. package/build/types/podio-types.js.map +1 -0
  187. package/build/types/search-types.d.ts +188 -0
  188. package/build/types/search-types.d.ts.map +1 -0
  189. package/build/types/search-types.js +43 -0
  190. package/build/types/search-types.js.map +1 -0
  191. package/build/utils/debug.d.ts +58 -0
  192. package/build/utils/debug.d.ts.map +1 -0
  193. package/build/utils/debug.js +147 -0
  194. package/build/utils/debug.js.map +1 -0
  195. package/examples/claude-config-example.json +13 -0
  196. package/package.json +87 -0
  197. package/scripts/generate-claude-config.js +107 -0
@@ -0,0 +1,1167 @@
1
+ /**
2
+ * Tool Definitions and Configuration
3
+ *
4
+ * This module provides a configuration-based system for defining MCP tools,
5
+ * organized by functional categories for better maintainability and testing.
6
+ */
7
+ export class ToolDefinitions {
8
+ static instance;
9
+ // Tool Categories
10
+ appManagement = {
11
+ name: 'App Management',
12
+ description: 'Tools for managing Podio app structures and caching',
13
+ tools: [
14
+ {
15
+ name: 'get_app_structure',
16
+ description: 'Get the structure of a Podio app by organization, space, and app labels. Uses cache when available. This is called automatically by other tools when needed.',
17
+ category: 'app-management',
18
+ inputSchema: {
19
+ type: 'object',
20
+ properties: {
21
+ org_label: {
22
+ type: 'string',
23
+ description: 'Organization label (required - found in Podio app URL: /org_label/space_label/apps/app_label)',
24
+ },
25
+ space_label: {
26
+ type: 'string',
27
+ description: 'Space label (required - found in Podio app URL: /org_label/space_label/apps/app_label)',
28
+ },
29
+ app_label: {
30
+ type: 'string',
31
+ description: 'App label (required - found in Podio app URL: /org_label/space_label/apps/app_label)',
32
+ },
33
+ force_refresh: {
34
+ type: 'boolean',
35
+ description: 'Force refresh from API even if cached data exists (default: false)',
36
+ },
37
+ },
38
+ required: ['org_label', 'space_label', 'app_label'],
39
+ },
40
+ },
41
+ {
42
+ name: 'cache_app_structure',
43
+ description: 'Manually discover and cache an app structure by coordinates',
44
+ category: 'app-management',
45
+ inputSchema: {
46
+ type: 'object',
47
+ properties: {
48
+ org_label: {
49
+ type: 'string',
50
+ description: 'Organization label for the app to cache',
51
+ },
52
+ space_label: {
53
+ type: 'string',
54
+ description: 'Space label for the app to cache',
55
+ },
56
+ app_label: {
57
+ type: 'string',
58
+ description: 'App label for the app to cache',
59
+ },
60
+ },
61
+ required: ['org_label', 'space_label', 'app_label'],
62
+ },
63
+ },
64
+ {
65
+ name: 'list_cached_apps',
66
+ description: 'Show all cached app structures with their details',
67
+ category: 'app-management',
68
+ inputSchema: {
69
+ type: 'object',
70
+ properties: {},
71
+ },
72
+ },
73
+ {
74
+ name: 'refresh_app_cache',
75
+ description: 'Force refresh specific or all cached apps',
76
+ category: 'app-management',
77
+ inputSchema: {
78
+ type: 'object',
79
+ properties: {
80
+ app_id: {
81
+ type: 'number',
82
+ description: 'Specific app ID to refresh (optional - refreshes all if not provided)',
83
+ },
84
+ },
85
+ },
86
+ },
87
+ {
88
+ name: 'clear_app_cache',
89
+ description: 'Remove specific or all apps from cache',
90
+ category: 'app-management',
91
+ inputSchema: {
92
+ type: 'object',
93
+ properties: {
94
+ app_id: {
95
+ type: 'number',
96
+ description: 'Specific app ID to remove (optional - clears all if not provided)',
97
+ },
98
+ org_label: {
99
+ type: 'string',
100
+ description: 'Organization label to clear specific app from memory',
101
+ },
102
+ space_label: {
103
+ type: 'string',
104
+ description: 'Space label to clear specific app from memory',
105
+ },
106
+ app_label: {
107
+ type: 'string',
108
+ description: 'App label to clear specific app from memory',
109
+ },
110
+ },
111
+ },
112
+ },
113
+ {
114
+ name: 'set_active_app',
115
+ description: 'Set which loaded app is the active/default context for operations',
116
+ category: 'app-management',
117
+ inputSchema: {
118
+ type: 'object',
119
+ properties: {
120
+ org_label: {
121
+ type: 'string',
122
+ description: 'Organization label of the app to set as active',
123
+ },
124
+ space_label: {
125
+ type: 'string',
126
+ description: 'Space label of the app to set as active',
127
+ },
128
+ app_label: {
129
+ type: 'string',
130
+ description: 'App label of the app to set as active',
131
+ },
132
+ },
133
+ required: ['org_label', 'space_label', 'app_label'],
134
+ },
135
+ },
136
+ ],
137
+ };
138
+ itemOperations = {
139
+ name: 'Item Operations',
140
+ description: 'Tools for managing Podio items (CRUD operations)',
141
+ tools: [
142
+ {
143
+ name: 'list_items',
144
+ description: 'List items from a Podio app with optional filtering. Requires workspace coordinates if no app structure is loaded.',
145
+ category: 'item-operations',
146
+ inputSchema: {
147
+ type: 'object',
148
+ properties: {
149
+ status_filter: {
150
+ type: 'string',
151
+ description: 'Filter by status (e.g., "In Progress", "Completed")',
152
+ },
153
+ responsible_filter: {
154
+ type: 'string',
155
+ description: 'Filter by responsible person name (uses substring matching, so works with multi-assignee items)',
156
+ },
157
+ limit: {
158
+ type: 'number',
159
+ description: 'Maximum number of items to return',
160
+ },
161
+ org_label: {
162
+ type: 'string',
163
+ description: 'Organization label (found in Podio app URL: /org_label/space_label/apps/app_label). Required if app structure not loaded.',
164
+ },
165
+ space_label: {
166
+ type: 'string',
167
+ description: 'Space label (found in Podio app URL: /org_label/space_label/apps/app_label). Required if app structure not loaded.',
168
+ },
169
+ app_label: {
170
+ type: 'string',
171
+ description: 'App label (found in Podio app URL: /org_label/space_label/apps/app_label). Required if app structure not loaded.',
172
+ },
173
+ },
174
+ },
175
+ },
176
+ {
177
+ name: 'create_item',
178
+ description: 'Create a new item in a Podio app. Requires workspace coordinates if no app structure is loaded.',
179
+ category: 'item-operations',
180
+ inputSchema: {
181
+ type: 'object',
182
+ properties: {
183
+ title: {
184
+ type: 'string',
185
+ description: 'Title of the new item',
186
+ },
187
+ description: {
188
+ type: 'string',
189
+ description: 'Description of the new item',
190
+ },
191
+ status: {
192
+ type: 'string',
193
+ description: 'Status of the new item',
194
+ },
195
+ responsible: {
196
+ type: 'string',
197
+ description: 'Name of the responsible person',
198
+ },
199
+ project: {
200
+ type: 'string',
201
+ description: 'Project name or ID for the new item',
202
+ },
203
+ epic: {
204
+ type: 'string',
205
+ description: 'Epic name or ID for the new item',
206
+ },
207
+ org_label: {
208
+ type: 'string',
209
+ description: 'Organization label (found in Podio app URL: /org_label/space_label/apps/app_label). Required if app structure not loaded.',
210
+ },
211
+ space_label: {
212
+ type: 'string',
213
+ description: 'Space label (found in Podio app URL: /org_label/space_label/apps/app_label). Required if app structure not loaded.',
214
+ },
215
+ app_label: {
216
+ type: 'string',
217
+ description: 'App label (found in Podio app URL: /org_label/space_label/apps/app_label). Required if app structure not loaded.',
218
+ },
219
+ },
220
+ required: ['title'],
221
+ },
222
+ },
223
+ {
224
+ name: 'update_item',
225
+ description: 'Update an existing item using its global ID (not ticket number). Use list_items first to find the global ID if you only have a ticket number. Requires workspace coordinates if no app structure is loaded.',
226
+ category: 'item-operations',
227
+ inputSchema: {
228
+ type: 'object',
229
+ properties: {
230
+ item_id: {
231
+ type: 'number',
232
+ description: 'Global ID of the item to update (not the ticket/item number)',
233
+ },
234
+ title: {
235
+ type: 'string',
236
+ description: 'New title for the item',
237
+ },
238
+ description: {
239
+ type: 'string',
240
+ description: 'New description for the item',
241
+ },
242
+ status: {
243
+ type: 'string',
244
+ description: 'New status for the item',
245
+ },
246
+ responsible: {
247
+ type: 'string',
248
+ description: 'Name or email of the responsible person',
249
+ },
250
+ project: {
251
+ type: 'string',
252
+ description: 'New project name or ID for the item',
253
+ },
254
+ epic: {
255
+ type: 'string',
256
+ description: 'New epic name or ID for the item',
257
+ },
258
+ org_label: {
259
+ type: 'string',
260
+ description: 'Organization label (found in Podio app URL: /org_label/space_label/apps/app_label). Required if app structure not loaded.',
261
+ },
262
+ space_label: {
263
+ type: 'string',
264
+ description: 'Space label (found in Podio app URL: /org_label/space_label/apps/app_label). Required if app structure not loaded.',
265
+ },
266
+ app_label: {
267
+ type: 'string',
268
+ description: 'App label (found in Podio app URL: /org_label/space_label/apps/app_label). Required if app structure not loaded.',
269
+ },
270
+ },
271
+ required: ['item_id'],
272
+ },
273
+ },
274
+ {
275
+ name: 'delete_item',
276
+ description: 'Delete an item using its global ID (not ticket number). Use list_items first to find the global ID if you only have a ticket number.',
277
+ category: 'item-operations',
278
+ inputSchema: {
279
+ type: 'object',
280
+ properties: {
281
+ item_id: {
282
+ type: 'number',
283
+ description: 'Global ID of the item to delete (not the ticket/item number)',
284
+ },
285
+ },
286
+ required: ['item_id'],
287
+ },
288
+ },
289
+ {
290
+ name: 'get_item_details',
291
+ description: 'Get detailed information about a specific item using its global ID (not ticket number). Use list_items first if you only have a ticket number.',
292
+ category: 'item-operations',
293
+ inputSchema: {
294
+ type: 'object',
295
+ properties: {
296
+ item_id: {
297
+ type: 'number',
298
+ description: 'Global ID of the item (not the ticket/item number)',
299
+ },
300
+ },
301
+ required: ['item_id'],
302
+ },
303
+ },
304
+ {
305
+ name: 'get_item_by_app_item_id',
306
+ description: 'Get detailed information about a specific item using its ticket/item number (app-local ID). Use this when you have a ticket number like "ticket 800" or "item #123".',
307
+ category: 'item-operations',
308
+ inputSchema: {
309
+ type: 'object',
310
+ properties: {
311
+ app_item_id: {
312
+ type: 'number',
313
+ description: 'Ticket/item number (app-specific sequential ID)',
314
+ },
315
+ },
316
+ required: ['app_item_id'],
317
+ },
318
+ },
319
+ {
320
+ name: 'update_item_by_app_item_id',
321
+ description: 'Update an existing item using its ticket/item number (app-local ID). Use this when you have a ticket number like "ticket 800" or "item #123".',
322
+ category: 'item-operations',
323
+ inputSchema: {
324
+ type: 'object',
325
+ properties: {
326
+ app_item_id: {
327
+ type: 'number',
328
+ description: 'Ticket/item number (app-specific sequential ID)',
329
+ },
330
+ title: {
331
+ type: 'string',
332
+ description: 'New title for the item',
333
+ },
334
+ description: {
335
+ type: 'string',
336
+ description: 'New description for the item',
337
+ },
338
+ status: {
339
+ type: 'string',
340
+ description: 'New status for the item',
341
+ },
342
+ responsible: {
343
+ type: 'string',
344
+ description: 'Name or email of the responsible person',
345
+ },
346
+ project: {
347
+ type: 'string',
348
+ description: 'New project name or ID for the item',
349
+ },
350
+ epic: {
351
+ type: 'string',
352
+ description: 'New epic name or ID for the item',
353
+ },
354
+ },
355
+ required: ['app_item_id'],
356
+ },
357
+ },
358
+ {
359
+ name: 'delete_item_by_app_item_id',
360
+ description: 'Delete an item using its ticket/item number (app-local ID). Use this when you have a ticket number like "ticket 800" or "item #123".',
361
+ category: 'item-operations',
362
+ inputSchema: {
363
+ type: 'object',
364
+ properties: {
365
+ app_item_id: {
366
+ type: 'number',
367
+ description: 'Ticket/item number (app-specific sequential ID)',
368
+ },
369
+ },
370
+ required: ['app_item_id'],
371
+ },
372
+ },
373
+ ],
374
+ };
375
+ taskManagement = {
376
+ name: 'Task Management',
377
+ description: 'Tools for managing Podio tasks',
378
+ tools: [
379
+ {
380
+ name: 'list_tasks',
381
+ description: 'List Podio tasks with optional filtering',
382
+ category: 'task-management',
383
+ inputSchema: {
384
+ type: 'object',
385
+ properties: {
386
+ assigned_to: {
387
+ type: 'string',
388
+ description: 'Filter tasks by assignee (use "me" for your tasks)',
389
+ },
390
+ status: {
391
+ type: 'string',
392
+ description: 'Filter tasks by status ("active" or "completed")',
393
+ },
394
+ limit: {
395
+ type: 'number',
396
+ description: 'Maximum number of tasks to return',
397
+ },
398
+ },
399
+ },
400
+ },
401
+ {
402
+ name: 'create_task',
403
+ description: 'Create a new task in Podio',
404
+ category: 'task-management',
405
+ inputSchema: {
406
+ type: 'object',
407
+ properties: {
408
+ text: {
409
+ type: 'string',
410
+ description: 'Task title/text',
411
+ },
412
+ description: {
413
+ type: 'string',
414
+ description: 'Task description',
415
+ },
416
+ due_date: {
417
+ type: 'string',
418
+ description: 'Due date in YYYY-MM-DD format',
419
+ },
420
+ assigned_to: {
421
+ type: 'string',
422
+ description: 'User ID or email of the person to assign the task to',
423
+ },
424
+ ref_type: {
425
+ type: 'string',
426
+ description: 'Reference type (e.g., "item")',
427
+ },
428
+ ref_id: {
429
+ type: 'number',
430
+ description: 'Reference ID (e.g., item ID to attach task to)',
431
+ },
432
+ },
433
+ required: ['text'],
434
+ },
435
+ },
436
+ {
437
+ name: 'create_task_for_item',
438
+ description: 'Create a new task attached to a specific Podio item',
439
+ category: 'task-management',
440
+ inputSchema: {
441
+ type: 'object',
442
+ properties: {
443
+ item_id: {
444
+ type: 'number',
445
+ description: 'ID of the item to attach the task to',
446
+ },
447
+ text: {
448
+ type: 'string',
449
+ description: 'Task title/text',
450
+ },
451
+ description: {
452
+ type: 'string',
453
+ description: 'Task description',
454
+ },
455
+ due_date: {
456
+ type: 'string',
457
+ description: 'Due date in YYYY-MM-DD format',
458
+ },
459
+ assigned_to: {
460
+ type: 'string',
461
+ description: 'User ID or email of the person to assign the task to',
462
+ },
463
+ },
464
+ required: ['item_id', 'text'],
465
+ },
466
+ },
467
+ {
468
+ name: 'update_task',
469
+ description: 'Update an existing task in Podio',
470
+ category: 'task-management',
471
+ inputSchema: {
472
+ type: 'object',
473
+ properties: {
474
+ task_id: {
475
+ type: 'number',
476
+ description: 'ID of the task to update',
477
+ },
478
+ text: {
479
+ type: 'string',
480
+ description: 'New task title/text',
481
+ },
482
+ description: {
483
+ type: 'string',
484
+ description: 'New task description',
485
+ },
486
+ due_date: {
487
+ type: 'string',
488
+ description: 'New due date in YYYY-MM-DD format',
489
+ },
490
+ completed: {
491
+ type: 'boolean',
492
+ description: 'Mark task as completed or not completed',
493
+ },
494
+ },
495
+ required: ['task_id'],
496
+ },
497
+ },
498
+ {
499
+ name: 'delete_task',
500
+ description: 'Delete a task from Podio',
501
+ category: 'task-management',
502
+ inputSchema: {
503
+ type: 'object',
504
+ properties: {
505
+ task_id: {
506
+ type: 'number',
507
+ description: 'ID of the task to delete',
508
+ },
509
+ },
510
+ required: ['task_id'],
511
+ },
512
+ },
513
+ {
514
+ name: 'get_task_details',
515
+ description: 'Get detailed information about a specific task',
516
+ category: 'task-management',
517
+ inputSchema: {
518
+ type: 'object',
519
+ properties: {
520
+ task_id: {
521
+ type: 'number',
522
+ description: 'ID of the task to get details for',
523
+ },
524
+ },
525
+ required: ['task_id'],
526
+ },
527
+ },
528
+ ],
529
+ };
530
+ projectEpicManagement = {
531
+ name: 'Project/Epic Management',
532
+ description: 'Tools for managing projects and epics',
533
+ tools: [
534
+ {
535
+ name: 'list_projects',
536
+ description: 'List all available projects from the referenced project app',
537
+ category: 'project-epic-management',
538
+ inputSchema: {
539
+ type: 'object',
540
+ properties: {
541
+ refresh_cache: {
542
+ type: 'boolean',
543
+ description: 'Force refresh of the projects cache',
544
+ },
545
+ },
546
+ },
547
+ },
548
+ {
549
+ name: 'list_epics',
550
+ description: 'List all available epics from the referenced epic app',
551
+ category: 'project-epic-management',
552
+ inputSchema: {
553
+ type: 'object',
554
+ properties: {
555
+ refresh_cache: {
556
+ type: 'boolean',
557
+ description: 'Force refresh of the epics cache',
558
+ },
559
+ },
560
+ },
561
+ },
562
+ {
563
+ name: 'suggest_project_epic',
564
+ description: 'AI-powered project and epic suggestions using sophisticated matching algorithms with fuzzy search, Levenshtein distance, and weighted scoring (title 1.0x, description 0.5x, labels 0.3x). Uses cached data with 30-minute TTL for fast lookups.',
565
+ category: 'project-epic-management',
566
+ inputSchema: {
567
+ type: 'object',
568
+ properties: {
569
+ title: {
570
+ type: 'string',
571
+ description: 'Title of the item to suggest project/epic for (used with full 1.0x weight in scoring)',
572
+ },
573
+ description: {
574
+ type: 'string',
575
+ description: 'Optional description providing additional context (weighted 0.5x in scoring algorithm)',
576
+ },
577
+ },
578
+ required: ['title'],
579
+ },
580
+ },
581
+ ],
582
+ };
583
+ notificationManagement = {
584
+ name: 'Notification Management',
585
+ description: 'Tools for managing Podio notifications',
586
+ tools: [
587
+ {
588
+ name: 'list_notifications',
589
+ description: 'List Podio notifications with optional filtering by status, type, viewed status, and date range',
590
+ category: 'notification-management',
591
+ inputSchema: {
592
+ type: 'object',
593
+ properties: {
594
+ status: {
595
+ type: 'string',
596
+ description: 'Filter by notification status ("active", "read", or "deleted")',
597
+ },
598
+ type: {
599
+ type: 'string',
600
+ description: 'Filter by notification type (e.g., "comment", "file", "meeting", "item")',
601
+ },
602
+ viewed: {
603
+ type: 'boolean',
604
+ description: 'Filter by viewed status (true for viewed, false for unread)',
605
+ },
606
+ limit: {
607
+ type: 'number',
608
+ description: 'Maximum number of notifications to return (default: 20)',
609
+ },
610
+ offset: {
611
+ type: 'number',
612
+ description: 'Number of notifications to skip for pagination (default: 0)',
613
+ },
614
+ created_from: {
615
+ type: 'string',
616
+ description: 'Filter notifications created after this date (YYYY-MM-DD format)',
617
+ },
618
+ created_to: {
619
+ type: 'string',
620
+ description: 'Filter notifications created before this date (YYYY-MM-DD format)',
621
+ },
622
+ space_id: {
623
+ type: 'number',
624
+ description: 'Filter notifications from specific space ID',
625
+ },
626
+ app_id: {
627
+ type: 'number',
628
+ description: 'Filter notifications from specific app ID',
629
+ },
630
+ },
631
+ },
632
+ },
633
+ {
634
+ name: 'get_notification_details',
635
+ description: 'Get detailed information about a specific notification',
636
+ category: 'notification-management',
637
+ inputSchema: {
638
+ type: 'object',
639
+ properties: {
640
+ notification_id: {
641
+ type: 'number',
642
+ description: 'ID of the notification to get details for',
643
+ },
644
+ },
645
+ required: ['notification_id'],
646
+ },
647
+ },
648
+ {
649
+ name: 'get_unread_count',
650
+ description: 'Get the count of unread notifications in the inbox',
651
+ category: 'notification-management',
652
+ inputSchema: {
653
+ type: 'object',
654
+ properties: {},
655
+ },
656
+ },
657
+ {
658
+ name: 'get_notification_settings',
659
+ description: 'Get notification preferences and settings for the current user',
660
+ category: 'notification-management',
661
+ inputSchema: {
662
+ type: 'object',
663
+ properties: {},
664
+ },
665
+ },
666
+ ],
667
+ };
668
+ utilityTools = {
669
+ name: 'Utility Tools',
670
+ description: 'Utility and inspection tools',
671
+ tools: [
672
+ {
673
+ name: 'inspect_field_structure',
674
+ description: 'Inspect the structure of all fields in the app, especially project and epic fields',
675
+ category: 'utility',
676
+ inputSchema: {
677
+ type: 'object',
678
+ properties: {
679
+ field_name: {
680
+ type: 'string',
681
+ description: 'Specific field name to inspect (optional - will inspect all fields if not provided)',
682
+ },
683
+ },
684
+ },
685
+ },
686
+ {
687
+ name: 'list_space_members',
688
+ description: 'List all members of the current space for assignment purposes',
689
+ category: 'utility',
690
+ inputSchema: {
691
+ type: 'object',
692
+ properties: {
693
+ refresh_cache: {
694
+ type: 'boolean',
695
+ description: 'Force refresh of the space members cache',
696
+ },
697
+ },
698
+ },
699
+ },
700
+ ],
701
+ };
702
+ searchOperations = {
703
+ name: 'Search Operations',
704
+ description: 'Tools for searching across Podio content',
705
+ tools: [
706
+ {
707
+ name: 'search_podio',
708
+ description: 'Search across Podio content with scope selection (global, space, app, organization). Supports filtering by content type, date ranges, and specific fields.',
709
+ category: 'search-operations',
710
+ inputSchema: {
711
+ type: 'object',
712
+ properties: {
713
+ query: {
714
+ type: 'string',
715
+ description: 'Search query text (required)',
716
+ },
717
+ scope: {
718
+ type: 'string',
719
+ description: 'Search scope: "global" (default), "space", "app", or "organization"',
720
+ },
721
+ type: {
722
+ type: 'string',
723
+ description: 'Filter by content type: "item", "task", "status", "file", "conversation", "profile", "app", or "space". Can be comma-separated for multiple types.',
724
+ },
725
+ space_id: {
726
+ type: 'number',
727
+ description: 'Space ID for space or app scoped searches',
728
+ },
729
+ app_id: {
730
+ type: 'number',
731
+ description: 'App ID for app scoped searches',
732
+ },
733
+ org_id: {
734
+ type: 'number',
735
+ description: 'Organization ID for organization scoped searches',
736
+ },
737
+ limit: {
738
+ type: 'number',
739
+ description: 'Maximum number of results to return (default: 20, max: 100)',
740
+ },
741
+ offset: {
742
+ type: 'number',
743
+ description: 'Number of results to skip for pagination (default: 0)',
744
+ },
745
+ created_from: {
746
+ type: 'string',
747
+ description: 'Search content created after this date (YYYY-MM-DD format)',
748
+ },
749
+ created_to: {
750
+ type: 'string',
751
+ description: 'Search content created before this date (YYYY-MM-DD format)',
752
+ },
753
+ fields: {
754
+ type: 'string',
755
+ description: 'Comma-separated list of specific fields to search in (e.g., "title,description,comments")',
756
+ },
757
+ group_results: {
758
+ type: 'boolean',
759
+ description: 'Group results by content type for better organization (default: false)',
760
+ },
761
+ },
762
+ required: ['query'],
763
+ },
764
+ },
765
+ {
766
+ name: 'search_in_app',
767
+ description: 'Quick search within a specific Podio app. Automatically uses app scope and current app context if available.',
768
+ category: 'search-operations',
769
+ inputSchema: {
770
+ type: 'object',
771
+ properties: {
772
+ query: {
773
+ type: 'string',
774
+ description: 'Search query text',
775
+ },
776
+ app_id: {
777
+ type: 'number',
778
+ description: 'App ID to search in (uses current app if not provided)',
779
+ },
780
+ type: {
781
+ type: 'string',
782
+ description: 'Filter by content type: "item", "task", "status", "file". Can be comma-separated for multiple types.',
783
+ },
784
+ limit: {
785
+ type: 'number',
786
+ description: 'Maximum number of results to return (default: 20)',
787
+ },
788
+ offset: {
789
+ type: 'number',
790
+ description: 'Number of results to skip for pagination (default: 0)',
791
+ },
792
+ fields: {
793
+ type: 'string',
794
+ description: 'Comma-separated list of specific fields to search in',
795
+ },
796
+ },
797
+ required: ['query'],
798
+ },
799
+ },
800
+ {
801
+ name: 'search_in_space',
802
+ description: 'Quick search within a specific Podio space. Automatically uses space scope and current space context if available.',
803
+ category: 'search-operations',
804
+ inputSchema: {
805
+ type: 'object',
806
+ properties: {
807
+ query: {
808
+ type: 'string',
809
+ description: 'Search query text',
810
+ },
811
+ space_id: {
812
+ type: 'number',
813
+ description: 'Space ID to search in (uses current space if not provided)',
814
+ },
815
+ type: {
816
+ type: 'string',
817
+ description: 'Filter by content type: "item", "task", "status", "file", "app". Can be comma-separated for multiple types.',
818
+ },
819
+ limit: {
820
+ type: 'number',
821
+ description: 'Maximum number of results to return (default: 20)',
822
+ },
823
+ offset: {
824
+ type: 'number',
825
+ description: 'Number of results to skip for pagination (default: 0)',
826
+ },
827
+ fields: {
828
+ type: 'string',
829
+ description: 'Comma-separated list of specific fields to search in',
830
+ },
831
+ },
832
+ required: ['query'],
833
+ },
834
+ },
835
+ {
836
+ name: 'get_search_history',
837
+ description: 'Get recent search queries for quick re-search or suggestions',
838
+ category: 'search-operations',
839
+ inputSchema: {
840
+ type: 'object',
841
+ properties: {
842
+ limit: {
843
+ type: 'number',
844
+ description: 'Maximum number of recent searches to return (default: 10)',
845
+ },
846
+ },
847
+ },
848
+ },
849
+ {
850
+ name: 'clear_search_history',
851
+ description: 'Clear search history and cached search results',
852
+ category: 'search-operations',
853
+ inputSchema: {
854
+ type: 'object',
855
+ properties: {},
856
+ },
857
+ },
858
+ ],
859
+ };
860
+ commentActivityOperations = {
861
+ name: 'Comment & Activity Operations',
862
+ description: 'Tools for managing comments and viewing item activity',
863
+ tools: [
864
+ {
865
+ name: 'list_item_comments',
866
+ description: 'Get all comments for a specific item',
867
+ category: 'comment-activity-operations',
868
+ inputSchema: {
869
+ type: 'object',
870
+ properties: {
871
+ item_id: {
872
+ type: 'number',
873
+ description: 'ID of the item to get comments for',
874
+ },
875
+ },
876
+ required: ['item_id'],
877
+ },
878
+ },
879
+ {
880
+ name: 'create_item_comment',
881
+ description: 'Add a comment to an item',
882
+ category: 'comment-activity-operations',
883
+ inputSchema: {
884
+ type: 'object',
885
+ properties: {
886
+ item_id: {
887
+ type: 'number',
888
+ description: 'ID of the item to comment on',
889
+ },
890
+ text: {
891
+ type: 'string',
892
+ description: 'Comment text content',
893
+ },
894
+ },
895
+ required: ['item_id', 'text'],
896
+ },
897
+ },
898
+ {
899
+ name: 'get_comment_details',
900
+ description: 'Get detailed information about a specific comment',
901
+ category: 'comment-activity-operations',
902
+ inputSchema: {
903
+ type: 'object',
904
+ properties: {
905
+ comment_id: {
906
+ type: 'number',
907
+ description: 'ID of the comment to get details for',
908
+ },
909
+ },
910
+ required: ['comment_id'],
911
+ },
912
+ },
913
+ {
914
+ name: 'update_comment',
915
+ description: 'Update an existing comment',
916
+ category: 'comment-activity-operations',
917
+ inputSchema: {
918
+ type: 'object',
919
+ properties: {
920
+ comment_id: {
921
+ type: 'number',
922
+ description: 'ID of the comment to update',
923
+ },
924
+ text: {
925
+ type: 'string',
926
+ description: 'New comment text content',
927
+ },
928
+ },
929
+ required: ['comment_id', 'text'],
930
+ },
931
+ },
932
+ {
933
+ name: 'delete_comment',
934
+ description: 'Delete a comment',
935
+ category: 'comment-activity-operations',
936
+ inputSchema: {
937
+ type: 'object',
938
+ properties: {
939
+ comment_id: {
940
+ type: 'number',
941
+ description: 'ID of the comment to delete',
942
+ },
943
+ },
944
+ required: ['comment_id'],
945
+ },
946
+ },
947
+ {
948
+ name: 'list_item_activity',
949
+ description: 'Get activity/revision history for a specific item',
950
+ category: 'comment-activity-operations',
951
+ inputSchema: {
952
+ type: 'object',
953
+ properties: {
954
+ item_id: {
955
+ type: 'number',
956
+ description: 'ID of the item to get activity for',
957
+ },
958
+ },
959
+ required: ['item_id'],
960
+ },
961
+ },
962
+ {
963
+ name: 'get_item_revision',
964
+ description: 'Get details of a specific item revision',
965
+ category: 'comment-activity-operations',
966
+ inputSchema: {
967
+ type: 'object',
968
+ properties: {
969
+ item_id: {
970
+ type: 'number',
971
+ description: 'ID of the item',
972
+ },
973
+ revision_id: {
974
+ type: 'number',
975
+ description: 'ID of the revision to get',
976
+ },
977
+ },
978
+ required: ['item_id', 'revision_id'],
979
+ },
980
+ },
981
+ {
982
+ name: 'get_item_revision_diff',
983
+ description: 'Get the difference between two item revisions',
984
+ category: 'comment-activity-operations',
985
+ inputSchema: {
986
+ type: 'object',
987
+ properties: {
988
+ item_id: {
989
+ type: 'number',
990
+ description: 'ID of the item',
991
+ },
992
+ from_revision: {
993
+ type: 'number',
994
+ description: 'Starting revision number',
995
+ },
996
+ to_revision: {
997
+ type: 'number',
998
+ description: 'Ending revision number',
999
+ },
1000
+ },
1001
+ required: ['item_id', 'from_revision', 'to_revision'],
1002
+ },
1003
+ },
1004
+ ],
1005
+ };
1006
+ codeExecution = {
1007
+ name: 'Code Execution',
1008
+ description: 'Execute code in a sandboxed environment for complex multi-step operations with reduced token usage',
1009
+ tools: [
1010
+ {
1011
+ name: 'execute_code',
1012
+ description: '⚠️ PHASE 1: Execute standalone TypeScript/JavaScript code in a sandboxed Deno environment. Currently supports data transformations, calculations, and JSON operations. DOES NOT support Podio API calls yet (coming in Phase 2). Use for: processing arrays, filtering data, calculations, transformations. Returns JSON results. Security: sandboxed, 60s timeout, 1MB result limit.',
1013
+ category: 'code-execution',
1014
+ inputSchema: {
1015
+ type: 'object',
1016
+ properties: {
1017
+ code: {
1018
+ type: 'string',
1019
+ description: 'TypeScript or JavaScript code to execute. MUST be standalone code (no Podio API access in Phase 1). Can use context variable for input data. Must return a JSON-serializable result. Example: "const sum = context.numbers.reduce((a,b) => a+b, 0); return { sum };"',
1020
+ },
1021
+ timeout: {
1022
+ type: 'number',
1023
+ description: 'Execution timeout in milliseconds (default: 30000, max: 60000)',
1024
+ },
1025
+ context: {
1026
+ type: 'object',
1027
+ description: 'Optional context object to pass to the code (will be available as `context` variable). Use this to pass data for processing.',
1028
+ },
1029
+ },
1030
+ required: ['code'],
1031
+ },
1032
+ },
1033
+ {
1034
+ name: 'list_code_functions',
1035
+ description: 'List all available functions in the filesystem code execution API. Use this to discover what operations can be performed with code execution.',
1036
+ category: 'code-execution',
1037
+ inputSchema: {
1038
+ type: 'object',
1039
+ properties: {},
1040
+ },
1041
+ },
1042
+ ],
1043
+ };
1044
+ constructor() { }
1045
+ /**
1046
+ * Get singleton instance of ToolDefinitions
1047
+ */
1048
+ static getInstance() {
1049
+ if (!ToolDefinitions.instance) {
1050
+ ToolDefinitions.instance = new ToolDefinitions();
1051
+ }
1052
+ return ToolDefinitions.instance;
1053
+ }
1054
+ /**
1055
+ * Get all tool categories
1056
+ */
1057
+ getCategories() {
1058
+ return [
1059
+ this.appManagement,
1060
+ this.itemOperations,
1061
+ this.taskManagement,
1062
+ this.projectEpicManagement,
1063
+ this.notificationManagement,
1064
+ this.searchOperations,
1065
+ this.commentActivityOperations,
1066
+ this.utilityTools,
1067
+ this.codeExecution,
1068
+ ];
1069
+ }
1070
+ /**
1071
+ * Get tools by category
1072
+ */
1073
+ getToolsByCategory(categoryName) {
1074
+ const category = this.getCategories().find((cat) => cat.name.toLowerCase().replace(/[^a-z0-9]/g, '-') === categoryName.toLowerCase());
1075
+ return category ? category.tools : [];
1076
+ }
1077
+ /**
1078
+ * Get a specific tool definition by name
1079
+ */
1080
+ getToolByName(toolName) {
1081
+ const allTools = this.getAllTools();
1082
+ return allTools.find((tool) => tool.name === toolName);
1083
+ }
1084
+ /**
1085
+ * Get all tools as a flat array (compatible with MCP server)
1086
+ */
1087
+ getAllTools() {
1088
+ const allTools = [];
1089
+ this.getCategories().forEach((category) => {
1090
+ allTools.push(...category.tools);
1091
+ });
1092
+ return allTools;
1093
+ }
1094
+ getMcpTools() {
1095
+ return this.getAllTools().map(({ category, ...rest }) => rest);
1096
+ }
1097
+ /**
1098
+ * Validate a tool's input schema
1099
+ */
1100
+ validateToolSchema(toolName, input) {
1101
+ const tool = this.getToolByName(toolName);
1102
+ if (!tool) {
1103
+ return { valid: false, errors: [`Tool '${toolName}' not found`] };
1104
+ }
1105
+ const errors = [];
1106
+ const { required = [], properties } = tool.inputSchema;
1107
+ // Check required fields
1108
+ for (const requiredField of required) {
1109
+ if (!(requiredField in input)) {
1110
+ errors.push(`Required field '${requiredField}' is missing`);
1111
+ }
1112
+ }
1113
+ // Check field types (basic validation)
1114
+ for (const [fieldName, value] of Object.entries(input)) {
1115
+ const fieldSchema = properties[fieldName];
1116
+ if (!fieldSchema) {
1117
+ errors.push(`Unknown field '${fieldName}'`);
1118
+ continue;
1119
+ }
1120
+ const expectedType = fieldSchema.type;
1121
+ const actualType = typeof value;
1122
+ if (expectedType === 'number' && actualType !== 'number') {
1123
+ errors.push(`Field '${fieldName}' should be a number, got ${actualType}`);
1124
+ }
1125
+ else if (expectedType === 'string' && actualType !== 'string') {
1126
+ errors.push(`Field '${fieldName}' should be a string, got ${actualType}`);
1127
+ }
1128
+ else if (expectedType === 'boolean' && actualType !== 'boolean') {
1129
+ errors.push(`Field '${fieldName}' should be a boolean, got ${actualType}`);
1130
+ }
1131
+ }
1132
+ return { valid: errors.length === 0, errors };
1133
+ }
1134
+ /**
1135
+ * Get tool statistics
1136
+ */
1137
+ getStatistics() {
1138
+ const allTools = this.getAllTools();
1139
+ const categoryCounts = {};
1140
+ let toolsWithRequiredParams = 0;
1141
+ this.getCategories().forEach((category) => {
1142
+ categoryCounts[category.name] = category.tools.length;
1143
+ });
1144
+ allTools.forEach((tool) => {
1145
+ if (tool.inputSchema.required && tool.inputSchema.required.length > 0) {
1146
+ toolsWithRequiredParams++;
1147
+ }
1148
+ });
1149
+ return {
1150
+ totalTools: allTools.length,
1151
+ categoryCounts,
1152
+ toolsWithRequiredParams,
1153
+ };
1154
+ }
1155
+ }
1156
+ /**
1157
+ * Export the singleton instance for easy use
1158
+ */
1159
+ export const toolDefinitions = ToolDefinitions.getInstance();
1160
+ /**
1161
+ * Export commonly used functions
1162
+ */
1163
+ export const getAllTools = () => toolDefinitions.getAllTools();
1164
+ export const getMcpTools = () => toolDefinitions.getMcpTools();
1165
+ export const getToolByName = (name) => toolDefinitions.getToolByName(name);
1166
+ export const validateToolSchema = (toolName, input) => toolDefinitions.validateToolSchema(toolName, input);
1167
+ //# sourceMappingURL=tool-definitions.js.map