@doist/todoist-ai 4.16.1 → 4.17.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 (65) hide show
  1. package/dist/filter-helpers.d.ts +1 -1
  2. package/dist/filter-helpers.d.ts.map +1 -1
  3. package/dist/index.d.ts +990 -411
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +2 -2
  6. package/dist/main.js +1 -1
  7. package/dist/mcp-helpers.d.ts +2 -38
  8. package/dist/mcp-helpers.d.ts.map +1 -1
  9. package/dist/mcp-server-BMGcSL1c.js +3058 -0
  10. package/dist/todoist-tool.d.ts +12 -2
  11. package/dist/todoist-tool.d.ts.map +1 -1
  12. package/dist/tool-helpers.d.ts +20 -18
  13. package/dist/tool-helpers.d.ts.map +1 -1
  14. package/dist/tools/add-comments.d.ts +69 -17
  15. package/dist/tools/add-comments.d.ts.map +1 -1
  16. package/dist/tools/add-projects.d.ts +36 -17
  17. package/dist/tools/add-projects.d.ts.map +1 -1
  18. package/dist/tools/add-sections.d.ts +14 -15
  19. package/dist/tools/add-sections.d.ts.map +1 -1
  20. package/dist/tools/add-tasks.d.ts +71 -30
  21. package/dist/tools/add-tasks.d.ts.map +1 -1
  22. package/dist/tools/complete-tasks.d.ts +20 -15
  23. package/dist/tools/complete-tasks.d.ts.map +1 -1
  24. package/dist/tools/delete-object.d.ts +15 -16
  25. package/dist/tools/delete-object.d.ts.map +1 -1
  26. package/dist/tools/fetch.d.ts +10 -8
  27. package/dist/tools/fetch.d.ts.map +1 -1
  28. package/dist/tools/find-activity.d.ts +46 -23
  29. package/dist/tools/find-activity.d.ts.map +1 -1
  30. package/dist/tools/find-comments.d.ts +69 -17
  31. package/dist/tools/find-comments.d.ts.map +1 -1
  32. package/dist/tools/find-completed-tasks.d.ts +70 -26
  33. package/dist/tools/find-completed-tasks.d.ts.map +1 -1
  34. package/dist/tools/find-project-collaborators.d.ts +51 -20
  35. package/dist/tools/find-project-collaborators.d.ts.map +1 -1
  36. package/dist/tools/find-projects.d.ts +37 -17
  37. package/dist/tools/find-projects.d.ts.map +1 -1
  38. package/dist/tools/find-sections.d.ts +15 -15
  39. package/dist/tools/find-sections.d.ts.map +1 -1
  40. package/dist/tools/find-tasks-by-date.d.ts +68 -24
  41. package/dist/tools/find-tasks-by-date.d.ts.map +1 -1
  42. package/dist/tools/find-tasks.d.ts +70 -26
  43. package/dist/tools/find-tasks.d.ts.map +1 -1
  44. package/dist/tools/get-overview.d.ts +31 -15
  45. package/dist/tools/get-overview.d.ts.map +1 -1
  46. package/dist/tools/manage-assignments.d.ts +41 -18
  47. package/dist/tools/manage-assignments.d.ts.map +1 -1
  48. package/dist/tools/search.d.ts +27 -7
  49. package/dist/tools/search.d.ts.map +1 -1
  50. package/dist/tools/update-comments.d.ts +74 -15
  51. package/dist/tools/update-comments.d.ts.map +1 -1
  52. package/dist/tools/update-projects.d.ts +47 -17
  53. package/dist/tools/update-projects.d.ts.map +1 -1
  54. package/dist/tools/update-sections.d.ts +15 -15
  55. package/dist/tools/update-sections.d.ts.map +1 -1
  56. package/dist/tools/update-tasks.d.ts +82 -30
  57. package/dist/tools/update-tasks.d.ts.map +1 -1
  58. package/dist/tools/user-info.d.ts +19 -15
  59. package/dist/tools/user-info.d.ts.map +1 -1
  60. package/dist/utils/output-schemas.d.ts +233 -0
  61. package/dist/utils/output-schemas.d.ts.map +1 -0
  62. package/dist/utils/test-helpers.d.ts +1 -33
  63. package/dist/utils/test-helpers.d.ts.map +1 -1
  64. package/package.json +13 -13
  65. package/dist/mcp-server-6tm7Rhyz.js +0 -2840
package/dist/index.d.ts CHANGED
@@ -42,48 +42,100 @@ declare const tools: {
42
42
  }, "strip", import('zod').ZodTypeAny, {
43
43
  content: string;
44
44
  description?: string | undefined;
45
+ deadlineDate?: string | undefined;
46
+ priority?: "p1" | "p2" | "p3" | "p4" | undefined;
45
47
  projectId?: string | undefined;
46
- parentId?: string | undefined;
47
48
  sectionId?: string | undefined;
49
+ parentId?: string | undefined;
48
50
  labels?: string[] | undefined;
49
51
  duration?: string | undefined;
50
- priority?: "p1" | "p2" | "p3" | "p4" | undefined;
51
52
  dueString?: string | undefined;
52
- deadlineDate?: string | undefined;
53
53
  responsibleUser?: string | undefined;
54
54
  }, {
55
55
  content: string;
56
56
  description?: string | undefined;
57
+ deadlineDate?: string | undefined;
58
+ priority?: "p1" | "p2" | "p3" | "p4" | undefined;
57
59
  projectId?: string | undefined;
58
- parentId?: string | undefined;
59
60
  sectionId?: string | undefined;
61
+ parentId?: string | undefined;
60
62
  labels?: string[] | undefined;
61
63
  duration?: string | undefined;
62
- priority?: "p1" | "p2" | "p3" | "p4" | undefined;
63
64
  dueString?: string | undefined;
64
- deadlineDate?: string | undefined;
65
65
  responsibleUser?: string | undefined;
66
66
  }>, "many">;
67
67
  };
68
+ outputSchema: {
69
+ tasks: import('zod').ZodArray<import('zod').ZodObject<{
70
+ id: import('zod').ZodString;
71
+ content: import('zod').ZodString;
72
+ description: import('zod').ZodString;
73
+ dueDate: import('zod').ZodOptional<import('zod').ZodString>;
74
+ recurring: import('zod').ZodUnion<[import('zod').ZodBoolean, import('zod').ZodString]>;
75
+ deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
76
+ priority: import('zod').ZodNumber;
77
+ projectId: import('zod').ZodString;
78
+ sectionId: import('zod').ZodOptional<import('zod').ZodString>;
79
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
80
+ labels: import('zod').ZodArray<import('zod').ZodString, "many">;
81
+ duration: import('zod').ZodOptional<import('zod').ZodString>;
82
+ responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
83
+ assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
84
+ checked: import('zod').ZodBoolean;
85
+ completedAt: import('zod').ZodOptional<import('zod').ZodString>;
86
+ }, "strip", import('zod').ZodTypeAny, {
87
+ content: string;
88
+ description: string;
89
+ id: string;
90
+ recurring: string | boolean;
91
+ priority: number;
92
+ projectId: string;
93
+ labels: string[];
94
+ checked: boolean;
95
+ dueDate?: string | undefined;
96
+ deadlineDate?: string | undefined;
97
+ sectionId?: string | undefined;
98
+ parentId?: string | undefined;
99
+ duration?: string | undefined;
100
+ responsibleUid?: string | undefined;
101
+ assignedByUid?: string | undefined;
102
+ completedAt?: string | undefined;
103
+ }, {
104
+ content: string;
105
+ description: string;
106
+ id: string;
107
+ recurring: string | boolean;
108
+ priority: number;
109
+ projectId: string;
110
+ labels: string[];
111
+ checked: boolean;
112
+ dueDate?: string | undefined;
113
+ deadlineDate?: string | undefined;
114
+ sectionId?: string | undefined;
115
+ parentId?: string | undefined;
116
+ duration?: string | undefined;
117
+ responsibleUid?: string | undefined;
118
+ assignedByUid?: string | undefined;
119
+ completedAt?: string | undefined;
120
+ }>, "many">;
121
+ totalCount: import('zod').ZodNumber;
122
+ };
68
123
  execute({ tasks }: {
69
124
  tasks: {
70
125
  content: string;
71
126
  description?: string | undefined;
127
+ deadlineDate?: string | undefined;
128
+ priority?: "p1" | "p2" | "p3" | "p4" | undefined;
72
129
  projectId?: string | undefined;
73
- parentId?: string | undefined;
74
130
  sectionId?: string | undefined;
131
+ parentId?: string | undefined;
75
132
  labels?: string[] | undefined;
76
133
  duration?: string | undefined;
77
- priority?: "p1" | "p2" | "p3" | "p4" | undefined;
78
134
  dueString?: string | undefined;
79
- deadlineDate?: string | undefined;
80
135
  responsibleUser?: string | undefined;
81
136
  }[];
82
137
  }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
83
- content: {
84
- type: "text";
85
- text: string;
86
- }[];
138
+ textContent: string;
87
139
  structuredContent: {
88
140
  tasks: {
89
141
  id: string;
@@ -94,28 +146,17 @@ declare const tools: {
94
146
  deadlineDate: string | undefined;
95
147
  priority: number;
96
148
  projectId: string;
97
- sectionId: string | null;
98
- parentId: string | null;
149
+ sectionId: string | undefined;
150
+ parentId: string | undefined;
99
151
  labels: string[];
100
- duration: string | null;
101
- responsibleUid: string | null;
102
- assignedByUid: string | null;
152
+ duration: string | undefined;
153
+ responsibleUid: string | undefined;
154
+ assignedByUid: string | undefined;
103
155
  checked: boolean;
104
- completedAt: string | null;
156
+ completedAt: string | undefined;
105
157
  }[];
106
158
  totalCount: number;
107
159
  };
108
- } | {
109
- content: ({
110
- type: "text";
111
- text: string;
112
- mimeType?: undefined;
113
- } | {
114
- type: "text";
115
- mimeType: string;
116
- text: string;
117
- })[];
118
- structuredContent?: undefined;
119
160
  }>;
120
161
  };
121
162
  completeTasks: {
@@ -124,13 +165,29 @@ declare const tools: {
124
165
  parameters: {
125
166
  ids: import('zod').ZodArray<import('zod').ZodString, "many">;
126
167
  };
168
+ outputSchema: {
169
+ completed: import('zod').ZodArray<import('zod').ZodString, "many">;
170
+ failures: import('zod').ZodArray<import('zod').ZodObject<{
171
+ item: import('zod').ZodString;
172
+ error: import('zod').ZodString;
173
+ code: import('zod').ZodOptional<import('zod').ZodString>;
174
+ }, "strip", import('zod').ZodTypeAny, {
175
+ item: string;
176
+ error: string;
177
+ code?: string | undefined;
178
+ }, {
179
+ item: string;
180
+ error: string;
181
+ code?: string | undefined;
182
+ }>, "many">;
183
+ totalRequested: import('zod').ZodNumber;
184
+ successCount: import('zod').ZodNumber;
185
+ failureCount: import('zod').ZodNumber;
186
+ };
127
187
  execute(args: {
128
188
  ids: string[];
129
189
  }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
130
- content: {
131
- type: "text";
132
- text: string;
133
- }[];
190
+ textContent: string;
134
191
  structuredContent: {
135
192
  completed: string[];
136
193
  failures: {
@@ -142,17 +199,6 @@ declare const tools: {
142
199
  successCount: number;
143
200
  failureCount: number;
144
201
  };
145
- } | {
146
- content: ({
147
- type: "text";
148
- text: string;
149
- mimeType?: undefined;
150
- } | {
151
- type: "text";
152
- mimeType: string;
153
- text: string;
154
- })[];
155
- structuredContent?: undefined;
156
202
  }>;
157
203
  };
158
204
  updateTasks: {
@@ -177,53 +223,116 @@ declare const tools: {
177
223
  id: string;
178
224
  content?: string | undefined;
179
225
  description?: string | undefined;
226
+ deadlineDate?: string | undefined;
227
+ priority?: "p1" | "p2" | "p3" | "p4" | undefined;
180
228
  projectId?: string | undefined;
181
- parentId?: string | undefined;
182
229
  sectionId?: string | undefined;
230
+ parentId?: string | undefined;
183
231
  labels?: string[] | undefined;
184
232
  duration?: string | undefined;
185
- priority?: "p1" | "p2" | "p3" | "p4" | undefined;
186
233
  dueString?: string | undefined;
187
- deadlineDate?: string | undefined;
188
234
  responsibleUser?: string | undefined;
189
235
  order?: number | undefined;
190
236
  }, {
191
237
  id: string;
192
238
  content?: string | undefined;
193
239
  description?: string | undefined;
240
+ deadlineDate?: string | undefined;
241
+ priority?: "p1" | "p2" | "p3" | "p4" | undefined;
194
242
  projectId?: string | undefined;
195
- parentId?: string | undefined;
196
243
  sectionId?: string | undefined;
244
+ parentId?: string | undefined;
197
245
  labels?: string[] | undefined;
198
246
  duration?: string | undefined;
199
- priority?: "p1" | "p2" | "p3" | "p4" | undefined;
200
247
  dueString?: string | undefined;
201
- deadlineDate?: string | undefined;
202
248
  responsibleUser?: string | undefined;
203
249
  order?: number | undefined;
204
250
  }>, "many">;
205
251
  };
252
+ outputSchema: {
253
+ tasks: import('zod').ZodArray<import('zod').ZodObject<{
254
+ id: import('zod').ZodString;
255
+ content: import('zod').ZodString;
256
+ description: import('zod').ZodString;
257
+ dueDate: import('zod').ZodOptional<import('zod').ZodString>;
258
+ recurring: import('zod').ZodUnion<[import('zod').ZodBoolean, import('zod').ZodString]>;
259
+ deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
260
+ priority: import('zod').ZodNumber;
261
+ projectId: import('zod').ZodString;
262
+ sectionId: import('zod').ZodOptional<import('zod').ZodString>;
263
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
264
+ labels: import('zod').ZodArray<import('zod').ZodString, "many">;
265
+ duration: import('zod').ZodOptional<import('zod').ZodString>;
266
+ responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
267
+ assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
268
+ checked: import('zod').ZodBoolean;
269
+ completedAt: import('zod').ZodOptional<import('zod').ZodString>;
270
+ }, "strip", import('zod').ZodTypeAny, {
271
+ content: string;
272
+ description: string;
273
+ id: string;
274
+ recurring: string | boolean;
275
+ priority: number;
276
+ projectId: string;
277
+ labels: string[];
278
+ checked: boolean;
279
+ dueDate?: string | undefined;
280
+ deadlineDate?: string | undefined;
281
+ sectionId?: string | undefined;
282
+ parentId?: string | undefined;
283
+ duration?: string | undefined;
284
+ responsibleUid?: string | undefined;
285
+ assignedByUid?: string | undefined;
286
+ completedAt?: string | undefined;
287
+ }, {
288
+ content: string;
289
+ description: string;
290
+ id: string;
291
+ recurring: string | boolean;
292
+ priority: number;
293
+ projectId: string;
294
+ labels: string[];
295
+ checked: boolean;
296
+ dueDate?: string | undefined;
297
+ deadlineDate?: string | undefined;
298
+ sectionId?: string | undefined;
299
+ parentId?: string | undefined;
300
+ duration?: string | undefined;
301
+ responsibleUid?: string | undefined;
302
+ assignedByUid?: string | undefined;
303
+ completedAt?: string | undefined;
304
+ }>, "many">;
305
+ totalCount: import('zod').ZodNumber;
306
+ updatedTaskIds: import('zod').ZodArray<import('zod').ZodString, "many">;
307
+ appliedOperations: import('zod').ZodObject<{
308
+ updateCount: import('zod').ZodNumber;
309
+ skippedCount: import('zod').ZodNumber;
310
+ }, "strip", import('zod').ZodTypeAny, {
311
+ updateCount: number;
312
+ skippedCount: number;
313
+ }, {
314
+ updateCount: number;
315
+ skippedCount: number;
316
+ }>;
317
+ };
206
318
  execute(args: {
207
319
  tasks: {
208
320
  id: string;
209
321
  content?: string | undefined;
210
322
  description?: string | undefined;
323
+ deadlineDate?: string | undefined;
324
+ priority?: "p1" | "p2" | "p3" | "p4" | undefined;
211
325
  projectId?: string | undefined;
212
- parentId?: string | undefined;
213
326
  sectionId?: string | undefined;
327
+ parentId?: string | undefined;
214
328
  labels?: string[] | undefined;
215
329
  duration?: string | undefined;
216
- priority?: "p1" | "p2" | "p3" | "p4" | undefined;
217
330
  dueString?: string | undefined;
218
- deadlineDate?: string | undefined;
219
331
  responsibleUser?: string | undefined;
220
332
  order?: number | undefined;
221
333
  }[];
222
334
  }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
223
- content: {
224
- type: "text";
225
- text: string;
226
- }[];
335
+ textContent: string;
227
336
  structuredContent: {
228
337
  tasks: {
229
338
  id: string;
@@ -234,14 +343,14 @@ declare const tools: {
234
343
  deadlineDate: string | undefined;
235
344
  priority: number;
236
345
  projectId: string;
237
- sectionId: string | null;
238
- parentId: string | null;
346
+ sectionId: string | undefined;
347
+ parentId: string | undefined;
239
348
  labels: string[];
240
- duration: string | null;
241
- responsibleUid: string | null;
242
- assignedByUid: string | null;
349
+ duration: string | undefined;
350
+ responsibleUid: string | undefined;
351
+ assignedByUid: string | undefined;
243
352
  checked: boolean;
244
- completedAt: string | null;
353
+ completedAt: string | undefined;
245
354
  }[];
246
355
  totalCount: number;
247
356
  updatedTaskIds: string[];
@@ -250,17 +359,6 @@ declare const tools: {
250
359
  skippedCount: number;
251
360
  };
252
361
  };
253
- } | {
254
- content: ({
255
- type: "text";
256
- text: string;
257
- mimeType?: undefined;
258
- } | {
259
- type: "text";
260
- mimeType: string;
261
- text: string;
262
- })[];
263
- structuredContent?: undefined;
264
362
  }>;
265
363
  };
266
364
  findTasks: {
@@ -278,22 +376,77 @@ declare const tools: {
278
376
  limit: import('zod').ZodDefault<import('zod').ZodNumber>;
279
377
  cursor: import('zod').ZodOptional<import('zod').ZodString>;
280
378
  };
379
+ outputSchema: {
380
+ tasks: import('zod').ZodArray<import('zod').ZodObject<{
381
+ id: import('zod').ZodString;
382
+ content: import('zod').ZodString;
383
+ description: import('zod').ZodString;
384
+ dueDate: import('zod').ZodOptional<import('zod').ZodString>;
385
+ recurring: import('zod').ZodUnion<[import('zod').ZodBoolean, import('zod').ZodString]>;
386
+ deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
387
+ priority: import('zod').ZodNumber;
388
+ projectId: import('zod').ZodString;
389
+ sectionId: import('zod').ZodOptional<import('zod').ZodString>;
390
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
391
+ labels: import('zod').ZodArray<import('zod').ZodString, "many">;
392
+ duration: import('zod').ZodOptional<import('zod').ZodString>;
393
+ responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
394
+ assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
395
+ checked: import('zod').ZodBoolean;
396
+ completedAt: import('zod').ZodOptional<import('zod').ZodString>;
397
+ }, "strip", import('zod').ZodTypeAny, {
398
+ content: string;
399
+ description: string;
400
+ id: string;
401
+ recurring: string | boolean;
402
+ priority: number;
403
+ projectId: string;
404
+ labels: string[];
405
+ checked: boolean;
406
+ dueDate?: string | undefined;
407
+ deadlineDate?: string | undefined;
408
+ sectionId?: string | undefined;
409
+ parentId?: string | undefined;
410
+ duration?: string | undefined;
411
+ responsibleUid?: string | undefined;
412
+ assignedByUid?: string | undefined;
413
+ completedAt?: string | undefined;
414
+ }, {
415
+ content: string;
416
+ description: string;
417
+ id: string;
418
+ recurring: string | boolean;
419
+ priority: number;
420
+ projectId: string;
421
+ labels: string[];
422
+ checked: boolean;
423
+ dueDate?: string | undefined;
424
+ deadlineDate?: string | undefined;
425
+ sectionId?: string | undefined;
426
+ parentId?: string | undefined;
427
+ duration?: string | undefined;
428
+ responsibleUid?: string | undefined;
429
+ assignedByUid?: string | undefined;
430
+ completedAt?: string | undefined;
431
+ }>, "many">;
432
+ nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
433
+ totalCount: import('zod').ZodNumber;
434
+ hasMore: import('zod').ZodBoolean;
435
+ appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
436
+ };
281
437
  execute(args: {
282
438
  limit: number;
283
439
  projectId?: string | undefined;
284
- parentId?: string | undefined;
285
- responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
286
440
  sectionId?: string | undefined;
441
+ parentId?: string | undefined;
287
442
  labels?: string[] | undefined;
443
+ responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
288
444
  cursor?: string | undefined;
289
445
  responsibleUser?: string | undefined;
290
446
  labelsOperator?: "and" | "or" | undefined;
291
447
  searchText?: string | undefined;
292
448
  }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
293
- content: {
294
- type: "text";
295
- text: string;
296
- }[];
449
+ textContent: string;
297
450
  structuredContent: {
298
451
  tasks: {
299
452
  id: string;
@@ -304,42 +457,31 @@ declare const tools: {
304
457
  deadlineDate: string | undefined;
305
458
  priority: number;
306
459
  projectId: string;
307
- sectionId: string | null;
308
- parentId: string | null;
460
+ sectionId: string | undefined;
461
+ parentId: string | undefined;
309
462
  labels: string[];
310
- duration: string | null;
311
- responsibleUid: string | null;
312
- assignedByUid: string | null;
463
+ duration: string | undefined;
464
+ responsibleUid: string | undefined;
465
+ assignedByUid: string | undefined;
313
466
  checked: boolean;
314
- completedAt: string | null;
467
+ completedAt: string | undefined;
315
468
  }[];
316
- nextCursor: string | null;
469
+ nextCursor: string | undefined;
317
470
  totalCount: number;
318
471
  hasMore: boolean;
319
472
  appliedFilters: {
320
473
  limit: number;
321
474
  projectId?: string | undefined;
322
- parentId?: string | undefined;
323
- responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
324
475
  sectionId?: string | undefined;
476
+ parentId?: string | undefined;
325
477
  labels?: string[] | undefined;
478
+ responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
326
479
  cursor?: string | undefined;
327
480
  responsibleUser?: string | undefined;
328
481
  labelsOperator?: "and" | "or" | undefined;
329
482
  searchText?: string | undefined;
330
483
  };
331
484
  };
332
- } | {
333
- content: ({
334
- type: "text";
335
- text: string;
336
- mimeType?: undefined;
337
- } | {
338
- type: "text";
339
- mimeType: string;
340
- text: string;
341
- })[];
342
- structuredContent?: undefined;
343
485
  }>;
344
486
  };
345
487
  findTasksByDate: {
@@ -356,21 +498,76 @@ declare const tools: {
356
498
  responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
357
499
  responsibleUserFiltering: import('zod').ZodOptional<import('zod').ZodEnum<["assigned", "unassignedOrMe", "all"]>>;
358
500
  };
501
+ outputSchema: {
502
+ tasks: import('zod').ZodArray<import('zod').ZodObject<{
503
+ id: import('zod').ZodString;
504
+ content: import('zod').ZodString;
505
+ description: import('zod').ZodString;
506
+ dueDate: import('zod').ZodOptional<import('zod').ZodString>;
507
+ recurring: import('zod').ZodUnion<[import('zod').ZodBoolean, import('zod').ZodString]>;
508
+ deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
509
+ priority: import('zod').ZodNumber;
510
+ projectId: import('zod').ZodString;
511
+ sectionId: import('zod').ZodOptional<import('zod').ZodString>;
512
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
513
+ labels: import('zod').ZodArray<import('zod').ZodString, "many">;
514
+ duration: import('zod').ZodOptional<import('zod').ZodString>;
515
+ responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
516
+ assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
517
+ checked: import('zod').ZodBoolean;
518
+ completedAt: import('zod').ZodOptional<import('zod').ZodString>;
519
+ }, "strip", import('zod').ZodTypeAny, {
520
+ content: string;
521
+ description: string;
522
+ id: string;
523
+ recurring: string | boolean;
524
+ priority: number;
525
+ projectId: string;
526
+ labels: string[];
527
+ checked: boolean;
528
+ dueDate?: string | undefined;
529
+ deadlineDate?: string | undefined;
530
+ sectionId?: string | undefined;
531
+ parentId?: string | undefined;
532
+ duration?: string | undefined;
533
+ responsibleUid?: string | undefined;
534
+ assignedByUid?: string | undefined;
535
+ completedAt?: string | undefined;
536
+ }, {
537
+ content: string;
538
+ description: string;
539
+ id: string;
540
+ recurring: string | boolean;
541
+ priority: number;
542
+ projectId: string;
543
+ labels: string[];
544
+ checked: boolean;
545
+ dueDate?: string | undefined;
546
+ deadlineDate?: string | undefined;
547
+ sectionId?: string | undefined;
548
+ parentId?: string | undefined;
549
+ duration?: string | undefined;
550
+ responsibleUid?: string | undefined;
551
+ assignedByUid?: string | undefined;
552
+ completedAt?: string | undefined;
553
+ }>, "many">;
554
+ nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
555
+ totalCount: import('zod').ZodNumber;
556
+ hasMore: import('zod').ZodBoolean;
557
+ appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
558
+ };
359
559
  execute(args: {
360
560
  limit: number;
361
561
  daysCount: number;
362
- responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
363
562
  labels?: string[] | undefined;
563
+ responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
364
564
  cursor?: string | undefined;
365
565
  responsibleUser?: string | undefined;
366
566
  labelsOperator?: "and" | "or" | undefined;
367
567
  startDate?: string | undefined;
368
568
  overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
369
569
  }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
370
- content: {
371
- type: "text";
372
- text: string;
373
- }[];
570
+ textContent: string;
374
571
  structuredContent: {
375
572
  tasks: {
376
573
  id: string;
@@ -381,23 +578,23 @@ declare const tools: {
381
578
  deadlineDate: string | undefined;
382
579
  priority: number;
383
580
  projectId: string;
384
- sectionId: string | null;
385
- parentId: string | null;
581
+ sectionId: string | undefined;
582
+ parentId: string | undefined;
386
583
  labels: string[];
387
- duration: string | null;
388
- responsibleUid: string | null;
389
- assignedByUid: string | null;
584
+ duration: string | undefined;
585
+ responsibleUid: string | undefined;
586
+ assignedByUid: string | undefined;
390
587
  checked: boolean;
391
- completedAt: string | null;
588
+ completedAt: string | undefined;
392
589
  }[];
393
- nextCursor: string | null;
590
+ nextCursor: string | undefined;
394
591
  totalCount: number;
395
592
  hasMore: boolean;
396
593
  appliedFilters: {
397
594
  limit: number;
398
595
  daysCount: number;
399
- responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
400
596
  labels?: string[] | undefined;
597
+ responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
401
598
  cursor?: string | undefined;
402
599
  responsibleUser?: string | undefined;
403
600
  labelsOperator?: "and" | "or" | undefined;
@@ -405,17 +602,6 @@ declare const tools: {
405
602
  overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
406
603
  };
407
604
  };
408
- } | {
409
- content: ({
410
- type: "text";
411
- text: string;
412
- mimeType?: undefined;
413
- } | {
414
- type: "text";
415
- mimeType: string;
416
- text: string;
417
- })[];
418
- structuredContent?: undefined;
419
605
  }>;
420
606
  };
421
607
  findCompletedTasks: {
@@ -435,24 +621,79 @@ declare const tools: {
435
621
  limit: import('zod').ZodDefault<import('zod').ZodNumber>;
436
622
  cursor: import('zod').ZodOptional<import('zod').ZodString>;
437
623
  };
624
+ outputSchema: {
625
+ tasks: import('zod').ZodArray<import('zod').ZodObject<{
626
+ id: import('zod').ZodString;
627
+ content: import('zod').ZodString;
628
+ description: import('zod').ZodString;
629
+ dueDate: import('zod').ZodOptional<import('zod').ZodString>;
630
+ recurring: import('zod').ZodUnion<[import('zod').ZodBoolean, import('zod').ZodString]>;
631
+ deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
632
+ priority: import('zod').ZodNumber;
633
+ projectId: import('zod').ZodString;
634
+ sectionId: import('zod').ZodOptional<import('zod').ZodString>;
635
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
636
+ labels: import('zod').ZodArray<import('zod').ZodString, "many">;
637
+ duration: import('zod').ZodOptional<import('zod').ZodString>;
638
+ responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
639
+ assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
640
+ checked: import('zod').ZodBoolean;
641
+ completedAt: import('zod').ZodOptional<import('zod').ZodString>;
642
+ }, "strip", import('zod').ZodTypeAny, {
643
+ content: string;
644
+ description: string;
645
+ id: string;
646
+ recurring: string | boolean;
647
+ priority: number;
648
+ projectId: string;
649
+ labels: string[];
650
+ checked: boolean;
651
+ dueDate?: string | undefined;
652
+ deadlineDate?: string | undefined;
653
+ sectionId?: string | undefined;
654
+ parentId?: string | undefined;
655
+ duration?: string | undefined;
656
+ responsibleUid?: string | undefined;
657
+ assignedByUid?: string | undefined;
658
+ completedAt?: string | undefined;
659
+ }, {
660
+ content: string;
661
+ description: string;
662
+ id: string;
663
+ recurring: string | boolean;
664
+ priority: number;
665
+ projectId: string;
666
+ labels: string[];
667
+ checked: boolean;
668
+ dueDate?: string | undefined;
669
+ deadlineDate?: string | undefined;
670
+ sectionId?: string | undefined;
671
+ parentId?: string | undefined;
672
+ duration?: string | undefined;
673
+ responsibleUid?: string | undefined;
674
+ assignedByUid?: string | undefined;
675
+ completedAt?: string | undefined;
676
+ }>, "many">;
677
+ nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
678
+ totalCount: import('zod').ZodNumber;
679
+ hasMore: import('zod').ZodBoolean;
680
+ appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
681
+ };
438
682
  execute(args: {
439
683
  limit: number;
440
684
  getBy: "due" | "completion";
441
685
  since: string;
442
686
  until: string;
443
687
  projectId?: string | undefined;
444
- parentId?: string | undefined;
445
- workspaceId?: string | undefined;
446
688
  sectionId?: string | undefined;
689
+ parentId?: string | undefined;
447
690
  labels?: string[] | undefined;
691
+ workspaceId?: string | undefined;
448
692
  cursor?: string | undefined;
449
693
  responsibleUser?: string | undefined;
450
694
  labelsOperator?: "and" | "or" | undefined;
451
695
  }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
452
- content: {
453
- type: "text";
454
- text: string;
455
- }[];
696
+ textContent: string;
456
697
  structuredContent: {
457
698
  tasks: {
458
699
  id: string;
@@ -463,16 +704,16 @@ declare const tools: {
463
704
  deadlineDate: string | undefined;
464
705
  priority: number;
465
706
  projectId: string;
466
- sectionId: string | null;
467
- parentId: string | null;
707
+ sectionId: string | undefined;
708
+ parentId: string | undefined;
468
709
  labels: string[];
469
- duration: string | null;
470
- responsibleUid: string | null;
471
- assignedByUid: string | null;
710
+ duration: string | undefined;
711
+ responsibleUid: string | undefined;
712
+ assignedByUid: string | undefined;
472
713
  checked: boolean;
473
- completedAt: string | null;
714
+ completedAt: string | undefined;
474
715
  }[];
475
- nextCursor: string | null;
716
+ nextCursor: string | undefined;
476
717
  totalCount: number;
477
718
  hasMore: boolean;
478
719
  appliedFilters: {
@@ -481,26 +722,15 @@ declare const tools: {
481
722
  since: string;
482
723
  until: string;
483
724
  projectId?: string | undefined;
484
- parentId?: string | undefined;
485
- workspaceId?: string | undefined;
486
725
  sectionId?: string | undefined;
726
+ parentId?: string | undefined;
487
727
  labels?: string[] | undefined;
728
+ workspaceId?: string | undefined;
488
729
  cursor?: string | undefined;
489
730
  responsibleUser?: string | undefined;
490
731
  labelsOperator?: "and" | "or" | undefined;
491
732
  };
492
733
  };
493
- } | {
494
- content: ({
495
- type: "text";
496
- text: string;
497
- mimeType?: undefined;
498
- } | {
499
- type: "text";
500
- mimeType: string;
501
- text: string;
502
- })[];
503
- structuredContent?: undefined;
504
734
  }>;
505
735
  };
506
736
  addProjects: {
@@ -524,6 +754,37 @@ declare const tools: {
524
754
  viewStyle?: "list" | "board" | "calendar" | undefined;
525
755
  }>, "many">;
526
756
  };
757
+ outputSchema: {
758
+ projects: import('zod').ZodArray<import('zod').ZodObject<{
759
+ id: import('zod').ZodString;
760
+ name: import('zod').ZodString;
761
+ color: import('zod').ZodString;
762
+ isFavorite: import('zod').ZodBoolean;
763
+ isShared: import('zod').ZodBoolean;
764
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
765
+ inboxProject: import('zod').ZodBoolean;
766
+ viewStyle: import('zod').ZodString;
767
+ }, "strip", import('zod').ZodTypeAny, {
768
+ name: string;
769
+ id: string;
770
+ color: string;
771
+ isFavorite: boolean;
772
+ isShared: boolean;
773
+ inboxProject: boolean;
774
+ viewStyle: string;
775
+ parentId?: string | undefined;
776
+ }, {
777
+ name: string;
778
+ id: string;
779
+ color: string;
780
+ isFavorite: boolean;
781
+ isShared: boolean;
782
+ inboxProject: boolean;
783
+ viewStyle: string;
784
+ parentId?: string | undefined;
785
+ }>, "many">;
786
+ totalCount: import('zod').ZodNumber;
787
+ };
527
788
  execute({ projects }: {
528
789
  projects: {
529
790
  name: string;
@@ -532,12 +793,11 @@ declare const tools: {
532
793
  viewStyle?: "list" | "board" | "calendar" | undefined;
533
794
  }[];
534
795
  }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
535
- content: {
536
- type: "text";
537
- text: string;
538
- }[];
796
+ textContent: string;
539
797
  structuredContent: {
540
798
  projects: ({
799
+ parentId: string | undefined;
800
+ inboxProject: boolean;
541
801
  url: string;
542
802
  id: string;
543
803
  canAssignTasks: boolean;
@@ -555,9 +815,9 @@ declare const tools: {
555
815
  description: string;
556
816
  isCollapsed: boolean;
557
817
  isShared: boolean;
558
- parentId: string | null;
559
- inboxProject: boolean;
560
818
  } | {
819
+ parentId: string | undefined;
820
+ inboxProject: boolean;
561
821
  url: string;
562
822
  id: string;
563
823
  canAssignTasks: boolean;
@@ -585,17 +845,6 @@ declare const tools: {
585
845
  })[];
586
846
  totalCount: number;
587
847
  };
588
- } | {
589
- content: ({
590
- type: "text";
591
- text: string;
592
- mimeType?: undefined;
593
- } | {
594
- type: "text";
595
- mimeType: string;
596
- text: string;
597
- })[];
598
- structuredContent?: undefined;
599
848
  }>;
600
849
  };
601
850
  updateProjects: {
@@ -619,6 +868,48 @@ declare const tools: {
619
868
  viewStyle?: "list" | "board" | "calendar" | undefined;
620
869
  }>, "many">;
621
870
  };
871
+ outputSchema: {
872
+ projects: import('zod').ZodArray<import('zod').ZodObject<{
873
+ id: import('zod').ZodString;
874
+ name: import('zod').ZodString;
875
+ color: import('zod').ZodString;
876
+ isFavorite: import('zod').ZodBoolean;
877
+ isShared: import('zod').ZodBoolean;
878
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
879
+ inboxProject: import('zod').ZodBoolean;
880
+ viewStyle: import('zod').ZodString;
881
+ }, "strip", import('zod').ZodTypeAny, {
882
+ name: string;
883
+ id: string;
884
+ color: string;
885
+ isFavorite: boolean;
886
+ isShared: boolean;
887
+ inboxProject: boolean;
888
+ viewStyle: string;
889
+ parentId?: string | undefined;
890
+ }, {
891
+ name: string;
892
+ id: string;
893
+ color: string;
894
+ isFavorite: boolean;
895
+ isShared: boolean;
896
+ inboxProject: boolean;
897
+ viewStyle: string;
898
+ parentId?: string | undefined;
899
+ }>, "many">;
900
+ totalCount: import('zod').ZodNumber;
901
+ updatedProjectIds: import('zod').ZodArray<import('zod').ZodString, "many">;
902
+ appliedOperations: import('zod').ZodObject<{
903
+ updateCount: import('zod').ZodNumber;
904
+ skippedCount: import('zod').ZodNumber;
905
+ }, "strip", import('zod').ZodTypeAny, {
906
+ updateCount: number;
907
+ skippedCount: number;
908
+ }, {
909
+ updateCount: number;
910
+ skippedCount: number;
911
+ }>;
912
+ };
622
913
  execute(args: {
623
914
  projects: {
624
915
  id: string;
@@ -627,12 +918,11 @@ declare const tools: {
627
918
  viewStyle?: "list" | "board" | "calendar" | undefined;
628
919
  }[];
629
920
  }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
630
- content: {
631
- type: "text";
632
- text: string;
633
- }[];
921
+ textContent: string;
634
922
  structuredContent: {
635
923
  projects: ({
924
+ parentId: string | undefined;
925
+ inboxProject: boolean;
636
926
  url: string;
637
927
  id: string;
638
928
  canAssignTasks: boolean;
@@ -650,9 +940,9 @@ declare const tools: {
650
940
  description: string;
651
941
  isCollapsed: boolean;
652
942
  isShared: boolean;
653
- parentId: string | null;
654
- inboxProject: boolean;
655
943
  } | {
944
+ parentId: string | undefined;
945
+ inboxProject: boolean;
656
946
  url: string;
657
947
  id: string;
658
948
  canAssignTasks: boolean;
@@ -685,17 +975,6 @@ declare const tools: {
685
975
  skippedCount: number;
686
976
  };
687
977
  };
688
- } | {
689
- content: ({
690
- type: "text";
691
- text: string;
692
- mimeType?: undefined;
693
- } | {
694
- type: "text";
695
- mimeType: string;
696
- text: string;
697
- })[];
698
- structuredContent?: undefined;
699
978
  }>;
700
979
  };
701
980
  findProjects: {
@@ -706,15 +985,46 @@ declare const tools: {
706
985
  limit: import('zod').ZodDefault<import('zod').ZodNumber>;
707
986
  cursor: import('zod').ZodOptional<import('zod').ZodString>;
708
987
  };
988
+ outputSchema: {
989
+ projects: import('zod').ZodArray<import('zod').ZodObject<{
990
+ id: import('zod').ZodString;
991
+ name: import('zod').ZodString;
992
+ color: import('zod').ZodString;
993
+ isFavorite: import('zod').ZodBoolean;
994
+ isShared: import('zod').ZodBoolean;
995
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
996
+ inboxProject: import('zod').ZodBoolean;
997
+ viewStyle: import('zod').ZodString;
998
+ }, "strip", import('zod').ZodTypeAny, {
999
+ name: string;
1000
+ id: string;
1001
+ color: string;
1002
+ isFavorite: boolean;
1003
+ isShared: boolean;
1004
+ inboxProject: boolean;
1005
+ viewStyle: string;
1006
+ parentId?: string | undefined;
1007
+ }, {
1008
+ name: string;
1009
+ id: string;
1010
+ color: string;
1011
+ isFavorite: boolean;
1012
+ isShared: boolean;
1013
+ inboxProject: boolean;
1014
+ viewStyle: string;
1015
+ parentId?: string | undefined;
1016
+ }>, "many">;
1017
+ nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
1018
+ totalCount: import('zod').ZodNumber;
1019
+ hasMore: import('zod').ZodBoolean;
1020
+ appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
1021
+ };
709
1022
  execute(args: {
710
1023
  limit: number;
711
1024
  search?: string | undefined;
712
1025
  cursor?: string | undefined;
713
1026
  }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
714
- content: {
715
- type: "text";
716
- text: string;
717
- }[];
1027
+ textContent: string;
718
1028
  structuredContent: {
719
1029
  projects: {
720
1030
  id: string;
@@ -722,11 +1032,11 @@ declare const tools: {
722
1032
  color: string;
723
1033
  isFavorite: boolean;
724
1034
  isShared: boolean;
725
- parentId: string | null;
1035
+ parentId: string | undefined;
726
1036
  inboxProject: boolean;
727
1037
  viewStyle: string;
728
1038
  }[];
729
- nextCursor: string | null;
1039
+ nextCursor: string | undefined;
730
1040
  totalCount: number;
731
1041
  hasMore: boolean;
732
1042
  appliedFilters: {
@@ -735,17 +1045,6 @@ declare const tools: {
735
1045
  cursor?: string | undefined;
736
1046
  };
737
1047
  };
738
- } | {
739
- content: ({
740
- type: "text";
741
- text: string;
742
- mimeType?: undefined;
743
- } | {
744
- type: "text";
745
- mimeType: string;
746
- text: string;
747
- })[];
748
- structuredContent?: undefined;
749
1048
  }>;
750
1049
  };
751
1050
  addSections: {
@@ -763,16 +1062,26 @@ declare const tools: {
763
1062
  projectId: string;
764
1063
  }>, "many">;
765
1064
  };
1065
+ outputSchema: {
1066
+ sections: import('zod').ZodArray<import('zod').ZodObject<{
1067
+ id: import('zod').ZodString;
1068
+ name: import('zod').ZodString;
1069
+ }, "strip", import('zod').ZodTypeAny, {
1070
+ name: string;
1071
+ id: string;
1072
+ }, {
1073
+ name: string;
1074
+ id: string;
1075
+ }>, "many">;
1076
+ totalCount: import('zod').ZodNumber;
1077
+ };
766
1078
  execute({ sections }: {
767
1079
  sections: {
768
1080
  name: string;
769
1081
  projectId: string;
770
1082
  }[];
771
1083
  }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
772
- content: {
773
- type: "text";
774
- text: string;
775
- }[];
1084
+ textContent: string;
776
1085
  structuredContent: {
777
1086
  sections: {
778
1087
  url: string;
@@ -790,17 +1099,6 @@ declare const tools: {
790
1099
  }[];
791
1100
  totalCount: number;
792
1101
  };
793
- } | {
794
- content: ({
795
- type: "text";
796
- text: string;
797
- mimeType?: undefined;
798
- } | {
799
- type: "text";
800
- mimeType: string;
801
- text: string;
802
- })[];
803
- structuredContent?: undefined;
804
1102
  }>;
805
1103
  };
806
1104
  updateSections: {
@@ -818,16 +1116,27 @@ declare const tools: {
818
1116
  id: string;
819
1117
  }>, "many">;
820
1118
  };
1119
+ outputSchema: {
1120
+ sections: import('zod').ZodArray<import('zod').ZodObject<{
1121
+ id: import('zod').ZodString;
1122
+ name: import('zod').ZodString;
1123
+ }, "strip", import('zod').ZodTypeAny, {
1124
+ name: string;
1125
+ id: string;
1126
+ }, {
1127
+ name: string;
1128
+ id: string;
1129
+ }>, "many">;
1130
+ totalCount: import('zod').ZodNumber;
1131
+ updatedSectionIds: import('zod').ZodArray<import('zod').ZodString, "many">;
1132
+ };
821
1133
  execute({ sections }: {
822
1134
  sections: {
823
1135
  name: string;
824
1136
  id: string;
825
1137
  }[];
826
1138
  }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
827
- content: {
828
- type: "text";
829
- text: string;
830
- }[];
1139
+ textContent: string;
831
1140
  structuredContent: {
832
1141
  sections: {
833
1142
  url: string;
@@ -846,17 +1155,6 @@ declare const tools: {
846
1155
  totalCount: number;
847
1156
  updatedSectionIds: string[];
848
1157
  };
849
- } | {
850
- content: ({
851
- type: "text";
852
- text: string;
853
- mimeType?: undefined;
854
- } | {
855
- type: "text";
856
- mimeType: string;
857
- text: string;
858
- })[];
859
- structuredContent?: undefined;
860
1158
  }>;
861
1159
  };
862
1160
  findSections: {
@@ -866,14 +1164,25 @@ declare const tools: {
866
1164
  projectId: import('zod').ZodString;
867
1165
  search: import('zod').ZodOptional<import('zod').ZodString>;
868
1166
  };
1167
+ outputSchema: {
1168
+ sections: import('zod').ZodArray<import('zod').ZodObject<{
1169
+ id: import('zod').ZodString;
1170
+ name: import('zod').ZodString;
1171
+ }, "strip", import('zod').ZodTypeAny, {
1172
+ name: string;
1173
+ id: string;
1174
+ }, {
1175
+ name: string;
1176
+ id: string;
1177
+ }>, "many">;
1178
+ totalCount: import('zod').ZodNumber;
1179
+ appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
1180
+ };
869
1181
  execute(args: {
870
1182
  projectId: string;
871
1183
  search?: string | undefined;
872
1184
  }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
873
- content: {
874
- type: "text";
875
- text: string;
876
- }[];
1185
+ textContent: string;
877
1186
  structuredContent: {
878
1187
  sections: {
879
1188
  id: string;
@@ -885,17 +1194,6 @@ declare const tools: {
885
1194
  search?: string | undefined;
886
1195
  };
887
1196
  };
888
- } | {
889
- content: ({
890
- type: "text";
891
- text: string;
892
- mimeType?: undefined;
893
- } | {
894
- type: "text";
895
- mimeType: string;
896
- text: string;
897
- })[];
898
- structuredContent?: undefined;
899
1197
  }>;
900
1198
  };
901
1199
  addComments: {
@@ -908,25 +1206,88 @@ declare const tools: {
908
1206
  content: import('zod').ZodString;
909
1207
  }, "strip", import('zod').ZodTypeAny, {
910
1208
  content: string;
911
- taskId?: string | undefined;
912
1209
  projectId?: string | undefined;
1210
+ taskId?: string | undefined;
913
1211
  }, {
914
1212
  content: string;
1213
+ projectId?: string | undefined;
915
1214
  taskId?: string | undefined;
1215
+ }>, "many">;
1216
+ };
1217
+ outputSchema: {
1218
+ comments: import('zod').ZodArray<import('zod').ZodObject<{
1219
+ id: import('zod').ZodString;
1220
+ taskId: import('zod').ZodOptional<import('zod').ZodString>;
1221
+ projectId: import('zod').ZodOptional<import('zod').ZodString>;
1222
+ content: import('zod').ZodString;
1223
+ postedAt: import('zod').ZodString;
1224
+ attachment: import('zod').ZodOptional<import('zod').ZodObject<{
1225
+ resourceType: import('zod').ZodString;
1226
+ fileName: import('zod').ZodOptional<import('zod').ZodString>;
1227
+ fileSize: import('zod').ZodOptional<import('zod').ZodNumber>;
1228
+ fileType: import('zod').ZodOptional<import('zod').ZodString>;
1229
+ fileUrl: import('zod').ZodOptional<import('zod').ZodString>;
1230
+ fileDuration: import('zod').ZodOptional<import('zod').ZodNumber>;
1231
+ uploadState: import('zod').ZodOptional<import('zod').ZodEnum<["pending", "completed"]>>;
1232
+ }, "strip", import('zod').ZodTypeAny, {
1233
+ resourceType: string;
1234
+ fileName?: string | undefined;
1235
+ fileSize?: number | undefined;
1236
+ fileType?: string | undefined;
1237
+ fileUrl?: string | undefined;
1238
+ fileDuration?: number | undefined;
1239
+ uploadState?: "pending" | "completed" | undefined;
1240
+ }, {
1241
+ resourceType: string;
1242
+ fileName?: string | undefined;
1243
+ fileSize?: number | undefined;
1244
+ fileType?: string | undefined;
1245
+ fileUrl?: string | undefined;
1246
+ fileDuration?: number | undefined;
1247
+ uploadState?: "pending" | "completed" | undefined;
1248
+ }>>;
1249
+ }, "strip", import('zod').ZodTypeAny, {
1250
+ content: string;
1251
+ id: string;
1252
+ postedAt: string;
916
1253
  projectId?: string | undefined;
1254
+ taskId?: string | undefined;
1255
+ attachment?: {
1256
+ resourceType: string;
1257
+ fileName?: string | undefined;
1258
+ fileSize?: number | undefined;
1259
+ fileType?: string | undefined;
1260
+ fileUrl?: string | undefined;
1261
+ fileDuration?: number | undefined;
1262
+ uploadState?: "pending" | "completed" | undefined;
1263
+ } | undefined;
1264
+ }, {
1265
+ content: string;
1266
+ id: string;
1267
+ postedAt: string;
1268
+ projectId?: string | undefined;
1269
+ taskId?: string | undefined;
1270
+ attachment?: {
1271
+ resourceType: string;
1272
+ fileName?: string | undefined;
1273
+ fileSize?: number | undefined;
1274
+ fileType?: string | undefined;
1275
+ fileUrl?: string | undefined;
1276
+ fileDuration?: number | undefined;
1277
+ uploadState?: "pending" | "completed" | undefined;
1278
+ } | undefined;
917
1279
  }>, "many">;
1280
+ totalCount: import('zod').ZodNumber;
1281
+ addedCommentIds: import('zod').ZodArray<import('zod').ZodString, "many">;
918
1282
  };
919
1283
  execute(args: {
920
1284
  comments: {
921
1285
  content: string;
922
- taskId?: string | undefined;
923
1286
  projectId?: string | undefined;
1287
+ taskId?: string | undefined;
924
1288
  }[];
925
1289
  }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
926
- content: {
927
- type: "text";
928
- text: string;
929
- }[];
1290
+ textContent: string;
930
1291
  structuredContent: {
931
1292
  comments: {
932
1293
  taskId: string | undefined;
@@ -956,17 +1317,6 @@ declare const tools: {
956
1317
  totalCount: number;
957
1318
  addedCommentIds: string[];
958
1319
  };
959
- } | {
960
- content: ({
961
- type: "text";
962
- text: string;
963
- mimeType?: undefined;
964
- } | {
965
- type: "text";
966
- mimeType: string;
967
- text: string;
968
- })[];
969
- structuredContent?: undefined;
970
1320
  }>;
971
1321
  };
972
1322
  updateComments: {
@@ -984,16 +1334,86 @@ declare const tools: {
984
1334
  id: string;
985
1335
  }>, "many">;
986
1336
  };
1337
+ outputSchema: {
1338
+ comments: import('zod').ZodArray<import('zod').ZodObject<{
1339
+ id: import('zod').ZodString;
1340
+ taskId: import('zod').ZodOptional<import('zod').ZodString>;
1341
+ projectId: import('zod').ZodOptional<import('zod').ZodString>;
1342
+ content: import('zod').ZodString;
1343
+ postedAt: import('zod').ZodString;
1344
+ attachment: import('zod').ZodOptional<import('zod').ZodObject<{
1345
+ resourceType: import('zod').ZodString;
1346
+ fileName: import('zod').ZodOptional<import('zod').ZodString>;
1347
+ fileSize: import('zod').ZodOptional<import('zod').ZodNumber>;
1348
+ fileType: import('zod').ZodOptional<import('zod').ZodString>;
1349
+ fileUrl: import('zod').ZodOptional<import('zod').ZodString>;
1350
+ fileDuration: import('zod').ZodOptional<import('zod').ZodNumber>;
1351
+ uploadState: import('zod').ZodOptional<import('zod').ZodEnum<["pending", "completed"]>>;
1352
+ }, "strip", import('zod').ZodTypeAny, {
1353
+ resourceType: string;
1354
+ fileName?: string | undefined;
1355
+ fileSize?: number | undefined;
1356
+ fileType?: string | undefined;
1357
+ fileUrl?: string | undefined;
1358
+ fileDuration?: number | undefined;
1359
+ uploadState?: "pending" | "completed" | undefined;
1360
+ }, {
1361
+ resourceType: string;
1362
+ fileName?: string | undefined;
1363
+ fileSize?: number | undefined;
1364
+ fileType?: string | undefined;
1365
+ fileUrl?: string | undefined;
1366
+ fileDuration?: number | undefined;
1367
+ uploadState?: "pending" | "completed" | undefined;
1368
+ }>>;
1369
+ }, "strip", import('zod').ZodTypeAny, {
1370
+ content: string;
1371
+ id: string;
1372
+ postedAt: string;
1373
+ projectId?: string | undefined;
1374
+ taskId?: string | undefined;
1375
+ attachment?: {
1376
+ resourceType: string;
1377
+ fileName?: string | undefined;
1378
+ fileSize?: number | undefined;
1379
+ fileType?: string | undefined;
1380
+ fileUrl?: string | undefined;
1381
+ fileDuration?: number | undefined;
1382
+ uploadState?: "pending" | "completed" | undefined;
1383
+ } | undefined;
1384
+ }, {
1385
+ content: string;
1386
+ id: string;
1387
+ postedAt: string;
1388
+ projectId?: string | undefined;
1389
+ taskId?: string | undefined;
1390
+ attachment?: {
1391
+ resourceType: string;
1392
+ fileName?: string | undefined;
1393
+ fileSize?: number | undefined;
1394
+ fileType?: string | undefined;
1395
+ fileUrl?: string | undefined;
1396
+ fileDuration?: number | undefined;
1397
+ uploadState?: "pending" | "completed" | undefined;
1398
+ } | undefined;
1399
+ }>, "many">;
1400
+ totalCount: import('zod').ZodNumber;
1401
+ updatedCommentIds: import('zod').ZodArray<import('zod').ZodString, "many">;
1402
+ appliedOperations: import('zod').ZodObject<{
1403
+ updateCount: import('zod').ZodNumber;
1404
+ }, "strip", import('zod').ZodTypeAny, {
1405
+ updateCount: number;
1406
+ }, {
1407
+ updateCount: number;
1408
+ }>;
1409
+ };
987
1410
  execute(args: {
988
1411
  comments: {
989
1412
  content: string;
990
1413
  id: string;
991
1414
  }[];
992
1415
  }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
993
- content: {
994
- type: "text";
995
- text: string;
996
- }[];
1416
+ textContent: string;
997
1417
  structuredContent: {
998
1418
  comments: {
999
1419
  taskId: string | undefined;
@@ -1026,17 +1446,6 @@ declare const tools: {
1026
1446
  updateCount: number;
1027
1447
  };
1028
1448
  };
1029
- } | {
1030
- content: ({
1031
- type: "text";
1032
- text: string;
1033
- mimeType?: undefined;
1034
- } | {
1035
- type: "text";
1036
- mimeType: string;
1037
- text: string;
1038
- })[];
1039
- structuredContent?: undefined;
1040
1449
  }>;
1041
1450
  };
1042
1451
  findComments: {
@@ -1049,17 +1458,80 @@ declare const tools: {
1049
1458
  cursor: import('zod').ZodOptional<import('zod').ZodString>;
1050
1459
  limit: import('zod').ZodOptional<import('zod').ZodNumber>;
1051
1460
  };
1461
+ outputSchema: {
1462
+ comments: import('zod').ZodArray<import('zod').ZodObject<{
1463
+ id: import('zod').ZodString;
1464
+ taskId: import('zod').ZodOptional<import('zod').ZodString>;
1465
+ projectId: import('zod').ZodOptional<import('zod').ZodString>;
1466
+ content: import('zod').ZodString;
1467
+ postedAt: import('zod').ZodString;
1468
+ attachment: import('zod').ZodOptional<import('zod').ZodObject<{
1469
+ resourceType: import('zod').ZodString;
1470
+ fileName: import('zod').ZodOptional<import('zod').ZodString>;
1471
+ fileSize: import('zod').ZodOptional<import('zod').ZodNumber>;
1472
+ fileType: import('zod').ZodOptional<import('zod').ZodString>;
1473
+ fileUrl: import('zod').ZodOptional<import('zod').ZodString>;
1474
+ fileDuration: import('zod').ZodOptional<import('zod').ZodNumber>;
1475
+ uploadState: import('zod').ZodOptional<import('zod').ZodEnum<["pending", "completed"]>>;
1476
+ }, "strip", import('zod').ZodTypeAny, {
1477
+ resourceType: string;
1478
+ fileName?: string | undefined;
1479
+ fileSize?: number | undefined;
1480
+ fileType?: string | undefined;
1481
+ fileUrl?: string | undefined;
1482
+ fileDuration?: number | undefined;
1483
+ uploadState?: "pending" | "completed" | undefined;
1484
+ }, {
1485
+ resourceType: string;
1486
+ fileName?: string | undefined;
1487
+ fileSize?: number | undefined;
1488
+ fileType?: string | undefined;
1489
+ fileUrl?: string | undefined;
1490
+ fileDuration?: number | undefined;
1491
+ uploadState?: "pending" | "completed" | undefined;
1492
+ }>>;
1493
+ }, "strip", import('zod').ZodTypeAny, {
1494
+ content: string;
1495
+ id: string;
1496
+ postedAt: string;
1497
+ projectId?: string | undefined;
1498
+ taskId?: string | undefined;
1499
+ attachment?: {
1500
+ resourceType: string;
1501
+ fileName?: string | undefined;
1502
+ fileSize?: number | undefined;
1503
+ fileType?: string | undefined;
1504
+ fileUrl?: string | undefined;
1505
+ fileDuration?: number | undefined;
1506
+ uploadState?: "pending" | "completed" | undefined;
1507
+ } | undefined;
1508
+ }, {
1509
+ content: string;
1510
+ id: string;
1511
+ postedAt: string;
1512
+ projectId?: string | undefined;
1513
+ taskId?: string | undefined;
1514
+ attachment?: {
1515
+ resourceType: string;
1516
+ fileName?: string | undefined;
1517
+ fileSize?: number | undefined;
1518
+ fileType?: string | undefined;
1519
+ fileUrl?: string | undefined;
1520
+ fileDuration?: number | undefined;
1521
+ uploadState?: "pending" | "completed" | undefined;
1522
+ } | undefined;
1523
+ }>, "many">;
1524
+ nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
1525
+ totalCount: import('zod').ZodNumber;
1526
+ };
1052
1527
  execute(args: {
1053
- taskId?: string | undefined;
1054
1528
  projectId?: string | undefined;
1529
+ taskId?: string | undefined;
1055
1530
  limit?: number | undefined;
1056
1531
  cursor?: string | undefined;
1057
1532
  commentId?: string | undefined;
1058
1533
  }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1059
- content: {
1060
- type: "text";
1061
- text: string;
1062
- }[];
1534
+ textContent: string;
1063
1535
  structuredContent: {
1064
1536
  comments: {
1065
1537
  taskId: string | undefined;
@@ -1089,20 +1561,9 @@ declare const tools: {
1089
1561
  searchType: string;
1090
1562
  searchId: string;
1091
1563
  hasMore: boolean;
1092
- nextCursor: string | null;
1564
+ nextCursor: string | undefined;
1093
1565
  totalCount: number;
1094
1566
  };
1095
- } | {
1096
- content: ({
1097
- type: "text";
1098
- text: string;
1099
- mimeType?: undefined;
1100
- } | {
1101
- type: "text";
1102
- mimeType: string;
1103
- text: string;
1104
- })[];
1105
- structuredContent?: undefined;
1106
1567
  }>;
1107
1568
  };
1108
1569
  findActivity: {
@@ -1118,39 +1579,73 @@ declare const tools: {
1118
1579
  limit: import('zod').ZodDefault<import('zod').ZodNumber>;
1119
1580
  cursor: import('zod').ZodOptional<import('zod').ZodString>;
1120
1581
  };
1582
+ outputSchema: {
1583
+ events: import('zod').ZodArray<import('zod').ZodObject<{
1584
+ id: import('zod').ZodOptional<import('zod').ZodString>;
1585
+ objectType: import('zod').ZodString;
1586
+ objectId: import('zod').ZodString;
1587
+ eventType: import('zod').ZodString;
1588
+ eventDate: import('zod').ZodString;
1589
+ parentProjectId: import('zod').ZodOptional<import('zod').ZodString>;
1590
+ parentItemId: import('zod').ZodOptional<import('zod').ZodString>;
1591
+ initiatorId: import('zod').ZodOptional<import('zod').ZodString>;
1592
+ extraData: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
1593
+ }, "strip", import('zod').ZodTypeAny, {
1594
+ objectType: string;
1595
+ objectId: string;
1596
+ eventType: string;
1597
+ eventDate: string;
1598
+ id?: string | undefined;
1599
+ parentProjectId?: string | undefined;
1600
+ parentItemId?: string | undefined;
1601
+ initiatorId?: string | undefined;
1602
+ extraData?: Record<string, unknown> | undefined;
1603
+ }, {
1604
+ objectType: string;
1605
+ objectId: string;
1606
+ eventType: string;
1607
+ eventDate: string;
1608
+ id?: string | undefined;
1609
+ parentProjectId?: string | undefined;
1610
+ parentItemId?: string | undefined;
1611
+ initiatorId?: string | undefined;
1612
+ extraData?: Record<string, unknown> | undefined;
1613
+ }>, "many">;
1614
+ nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
1615
+ totalCount: import('zod').ZodNumber;
1616
+ hasMore: import('zod').ZodBoolean;
1617
+ appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
1618
+ };
1121
1619
  execute(args: {
1122
1620
  limit: number;
1123
- taskId?: string | undefined;
1124
1621
  projectId?: string | undefined;
1622
+ taskId?: string | undefined;
1125
1623
  objectType?: "comment" | "task" | "project" | undefined;
1126
1624
  objectId?: string | undefined;
1127
1625
  eventType?: "completed" | "added" | "updated" | "deleted" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
1128
1626
  initiatorId?: string | undefined;
1129
1627
  cursor?: string | undefined;
1130
1628
  }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1131
- content: {
1132
- type: "text";
1133
- text: string;
1134
- }[];
1629
+ textContent: string;
1135
1630
  structuredContent: {
1136
1631
  events: {
1137
- id: string | null;
1632
+ id: string | undefined;
1138
1633
  objectType: string;
1139
1634
  objectId: string;
1140
1635
  eventType: string;
1141
1636
  eventDate: string;
1142
- parentProjectId: string | null;
1143
- parentItemId: string | null;
1144
- initiatorId: string | null;
1145
- extraData: Record<string, any> | null;
1637
+ parentProjectId: string | undefined;
1638
+ parentItemId: string | undefined;
1639
+ initiatorId: string | undefined;
1640
+ extraData: Record<string, any> | undefined;
1146
1641
  }[];
1147
- nextCursor: string | null;
1642
+ nextCursor: string | undefined;
1148
1643
  totalCount: number;
1149
1644
  hasMore: boolean;
1150
1645
  appliedFilters: {
1151
1646
  limit: number;
1152
- taskId?: string | undefined;
1153
1647
  projectId?: string | undefined;
1648
+ taskId?: string | undefined;
1154
1649
  objectType?: "comment" | "task" | "project" | undefined;
1155
1650
  objectId?: string | undefined;
1156
1651
  eventType?: "completed" | "added" | "updated" | "deleted" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
@@ -1158,17 +1653,6 @@ declare const tools: {
1158
1653
  cursor?: string | undefined;
1159
1654
  };
1160
1655
  };
1161
- } | {
1162
- content: ({
1163
- type: "text";
1164
- text: string;
1165
- mimeType?: undefined;
1166
- } | {
1167
- type: "text";
1168
- mimeType: string;
1169
- text: string;
1170
- })[];
1171
- structuredContent?: undefined;
1172
1656
  }>;
1173
1657
  };
1174
1658
  getOverview: {
@@ -1177,25 +1661,41 @@ declare const tools: {
1177
1661
  parameters: {
1178
1662
  projectId: import('zod').ZodOptional<import('zod').ZodString>;
1179
1663
  };
1664
+ outputSchema: {
1665
+ type: import('zod').ZodEnum<["account_overview", "project_overview"]>;
1666
+ totalProjects: import('zod').ZodOptional<import('zod').ZodNumber>;
1667
+ totalTasks: import('zod').ZodOptional<import('zod').ZodNumber>;
1668
+ totalSections: import('zod').ZodOptional<import('zod').ZodNumber>;
1669
+ tasksWithoutSection: import('zod').ZodOptional<import('zod').ZodNumber>;
1670
+ projectInfo: import('zod').ZodOptional<import('zod').ZodObject<{
1671
+ id: import('zod').ZodString;
1672
+ name: import('zod').ZodString;
1673
+ isShared: import('zod').ZodBoolean;
1674
+ isFavorite: import('zod').ZodBoolean;
1675
+ }, "strip", import('zod').ZodTypeAny, {
1676
+ name: string;
1677
+ id: string;
1678
+ isFavorite: boolean;
1679
+ isShared: boolean;
1680
+ }, {
1681
+ name: string;
1682
+ id: string;
1683
+ isFavorite: boolean;
1684
+ isShared: boolean;
1685
+ }>>;
1686
+ hasNestedProjects: import('zod').ZodOptional<import('zod').ZodBoolean>;
1687
+ inbox: import('zod').ZodOptional<import('zod').ZodAny>;
1688
+ projects: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodAny, "many">>;
1689
+ project: import('zod').ZodOptional<import('zod').ZodAny>;
1690
+ sections: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodAny, "many">>;
1691
+ tasks: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodAny, "many">>;
1692
+ stats: import('zod').ZodOptional<import('zod').ZodAny>;
1693
+ };
1180
1694
  execute(args: {
1181
1695
  projectId?: string | undefined;
1182
1696
  }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1183
- content: {
1184
- type: "text";
1185
- text: string;
1186
- }[];
1697
+ textContent: string;
1187
1698
  structuredContent: import('./tools/get-overview.js').AccountOverviewStructured | import('./tools/get-overview.js').ProjectOverviewStructured;
1188
- } | {
1189
- content: ({
1190
- type: "text";
1191
- text: string;
1192
- mimeType?: undefined;
1193
- } | {
1194
- type: "text";
1195
- mimeType: string;
1196
- text: string;
1197
- })[];
1198
- structuredContent?: undefined;
1199
1699
  }>;
1200
1700
  };
1201
1701
  deleteObject: {
@@ -1205,55 +1705,57 @@ declare const tools: {
1205
1705
  type: import('zod').ZodEnum<["project", "section", "task", "comment"]>;
1206
1706
  id: import('zod').ZodString;
1207
1707
  };
1708
+ outputSchema: {
1709
+ deletedEntity: import('zod').ZodObject<{
1710
+ type: import('zod').ZodEnum<["project", "section", "task", "comment"]>;
1711
+ id: import('zod').ZodString;
1712
+ }, "strip", import('zod').ZodTypeAny, {
1713
+ type: "comment" | "task" | "project" | "section";
1714
+ id: string;
1715
+ }, {
1716
+ type: "comment" | "task" | "project" | "section";
1717
+ id: string;
1718
+ }>;
1719
+ success: import('zod').ZodBoolean;
1720
+ };
1208
1721
  execute(args: {
1209
1722
  type: "comment" | "task" | "project" | "section";
1210
1723
  id: string;
1211
1724
  }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1212
- content: {
1213
- type: "text";
1214
- text: string;
1215
- }[];
1725
+ textContent: string;
1216
1726
  structuredContent: {
1217
1727
  deletedEntity: {
1218
1728
  type: "comment" | "task" | "project" | "section";
1219
1729
  id: string;
1220
1730
  };
1221
- success: boolean;
1731
+ success: true;
1222
1732
  };
1223
- } | {
1224
- content: ({
1225
- type: "text";
1226
- text: string;
1227
- mimeType?: undefined;
1228
- } | {
1229
- type: "text";
1230
- mimeType: string;
1231
- text: string;
1232
- })[];
1233
- structuredContent?: undefined;
1234
1733
  }>;
1235
1734
  };
1236
1735
  userInfo: {
1237
1736
  name: "user-info";
1238
1737
  description: string;
1239
1738
  parameters: {};
1739
+ outputSchema: {
1740
+ type: import('zod').ZodLiteral<"user_info">;
1741
+ userId: import('zod').ZodString;
1742
+ fullName: import('zod').ZodString;
1743
+ timezone: import('zod').ZodString;
1744
+ currentLocalTime: import('zod').ZodString;
1745
+ startDay: import('zod').ZodNumber;
1746
+ startDayName: import('zod').ZodString;
1747
+ weekStartDate: import('zod').ZodString;
1748
+ weekEndDate: import('zod').ZodString;
1749
+ currentWeekNumber: import('zod').ZodNumber;
1750
+ completedToday: import('zod').ZodNumber;
1751
+ dailyGoal: import('zod').ZodNumber;
1752
+ weeklyGoal: import('zod').ZodNumber;
1753
+ email: import('zod').ZodString;
1754
+ plan: import('zod').ZodEnum<["Todoist Free", "Todoist Pro", "Todoist Business"]>;
1755
+ };
1240
1756
  execute(_args: {}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1241
- content: {
1242
- type: "text";
1243
- text: string;
1244
- }[];
1757
+ textContent: string;
1245
1758
  structuredContent: import('./tools/user-info.js').UserInfoStructured;
1246
- } | {
1247
- content: ({
1248
- type: "text";
1249
- text: string;
1250
- mimeType?: undefined;
1251
- } | {
1252
- type: "text";
1253
- mimeType: string;
1254
- text: string;
1255
- })[];
1256
- structuredContent?: undefined;
1257
1759
  }>;
1258
1760
  };
1259
1761
  findProjectCollaborators: {
@@ -1263,49 +1765,80 @@ declare const tools: {
1263
1765
  projectId: import('zod').ZodString;
1264
1766
  searchTerm: import('zod').ZodOptional<import('zod').ZodString>;
1265
1767
  };
1768
+ outputSchema: {
1769
+ collaborators: import('zod').ZodArray<import('zod').ZodObject<{
1770
+ id: import('zod').ZodString;
1771
+ name: import('zod').ZodString;
1772
+ email: import('zod').ZodString;
1773
+ }, "strip", import('zod').ZodTypeAny, {
1774
+ name: string;
1775
+ id: string;
1776
+ email: string;
1777
+ }, {
1778
+ name: string;
1779
+ id: string;
1780
+ email: string;
1781
+ }>, "many">;
1782
+ projectInfo: import('zod').ZodOptional<import('zod').ZodObject<{
1783
+ id: import('zod').ZodString;
1784
+ name: import('zod').ZodString;
1785
+ isShared: import('zod').ZodBoolean;
1786
+ }, "strip", import('zod').ZodTypeAny, {
1787
+ name: string;
1788
+ id: string;
1789
+ isShared: boolean;
1790
+ }, {
1791
+ name: string;
1792
+ id: string;
1793
+ isShared: boolean;
1794
+ }>>;
1795
+ totalCount: import('zod').ZodNumber;
1796
+ totalAvailable: import('zod').ZodOptional<import('zod').ZodNumber>;
1797
+ appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
1798
+ };
1266
1799
  execute(args: {
1267
1800
  projectId: string;
1268
1801
  searchTerm?: string | undefined;
1269
1802
  }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1270
- content: {
1271
- type: "text";
1272
- text: string;
1273
- }[];
1803
+ textContent: string;
1274
1804
  structuredContent: {
1275
1805
  collaborators: never[];
1276
1806
  projectInfo: {
1277
1807
  id: string;
1278
1808
  name: string;
1279
- isShared: boolean;
1809
+ isShared: false;
1280
1810
  };
1281
1811
  totalCount: number;
1282
1812
  appliedFilters: {
1283
1813
  projectId: string;
1284
1814
  searchTerm?: string | undefined;
1285
1815
  };
1816
+ totalAvailable?: undefined;
1286
1817
  };
1287
1818
  } | {
1288
- content: ({
1289
- type: "text";
1290
- text: string;
1291
- mimeType?: undefined;
1292
- } | {
1293
- type: "text";
1294
- mimeType: string;
1295
- text: string;
1296
- })[];
1297
- structuredContent?: undefined;
1819
+ textContent: string;
1820
+ structuredContent: {
1821
+ collaborators: never[];
1822
+ projectInfo: {
1823
+ id: string;
1824
+ name: string;
1825
+ isShared: true;
1826
+ };
1827
+ totalCount: number;
1828
+ appliedFilters: {
1829
+ projectId: string;
1830
+ searchTerm?: string | undefined;
1831
+ };
1832
+ totalAvailable?: undefined;
1833
+ };
1298
1834
  } | {
1299
- content: {
1300
- type: "text";
1301
- text: string;
1302
- }[];
1835
+ textContent: string;
1303
1836
  structuredContent: {
1304
1837
  collaborators: import('./utils/user-resolver.js').ProjectCollaborator[];
1305
1838
  projectInfo: {
1306
1839
  id: string;
1307
1840
  name: string;
1308
- isShared: boolean;
1841
+ isShared: true;
1309
1842
  };
1310
1843
  totalCount: number;
1311
1844
  totalAvailable: number;
@@ -1326,17 +1859,51 @@ declare const tools: {
1326
1859
  fromAssigneeUser: import('zod').ZodOptional<import('zod').ZodString>;
1327
1860
  dryRun: import('zod').ZodDefault<import('zod').ZodOptional<import('zod').ZodBoolean>>;
1328
1861
  };
1862
+ outputSchema: {
1863
+ results: import('zod').ZodArray<import('zod').ZodObject<{
1864
+ taskId: import('zod').ZodString;
1865
+ success: import('zod').ZodBoolean;
1866
+ error: import('zod').ZodOptional<import('zod').ZodString>;
1867
+ originalAssigneeId: import('zod').ZodOptional<import('zod').ZodString>;
1868
+ newAssigneeId: import('zod').ZodOptional<import('zod').ZodString>;
1869
+ }, "strip", import('zod').ZodTypeAny, {
1870
+ taskId: string;
1871
+ success: boolean;
1872
+ error?: string | undefined;
1873
+ originalAssigneeId?: string | undefined;
1874
+ newAssigneeId?: string | undefined;
1875
+ }, {
1876
+ taskId: string;
1877
+ success: boolean;
1878
+ error?: string | undefined;
1879
+ originalAssigneeId?: string | undefined;
1880
+ newAssigneeId?: string | undefined;
1881
+ }>, "many">;
1882
+ summary: import('zod').ZodOptional<import('zod').ZodObject<{
1883
+ total: import('zod').ZodNumber;
1884
+ succeeded: import('zod').ZodNumber;
1885
+ failed: import('zod').ZodNumber;
1886
+ dryRun: import('zod').ZodBoolean;
1887
+ }, "strip", import('zod').ZodTypeAny, {
1888
+ total: number;
1889
+ succeeded: number;
1890
+ failed: number;
1891
+ dryRun: boolean;
1892
+ }, {
1893
+ total: number;
1894
+ succeeded: number;
1895
+ failed: number;
1896
+ dryRun: boolean;
1897
+ }>>;
1898
+ };
1329
1899
  execute(args: {
1900
+ dryRun: boolean;
1330
1901
  operation: "assign" | "unassign" | "reassign";
1331
1902
  taskIds: string[];
1332
- dryRun: boolean;
1333
1903
  responsibleUser?: string | undefined;
1334
1904
  fromAssigneeUser?: string | undefined;
1335
1905
  }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1336
- content: {
1337
- type: "text";
1338
- text: string;
1339
- }[];
1906
+ textContent: string;
1340
1907
  structuredContent: {
1341
1908
  operation: "assign" | "unassign" | "reassign";
1342
1909
  results: import('./tools/manage-assignments.js').OperationResult[];
@@ -1345,17 +1912,6 @@ declare const tools: {
1345
1912
  failed: number;
1346
1913
  dryRun: boolean;
1347
1914
  };
1348
- } | {
1349
- content: ({
1350
- type: "text";
1351
- text: string;
1352
- mimeType?: undefined;
1353
- } | {
1354
- type: "text";
1355
- mimeType: string;
1356
- text: string;
1357
- })[];
1358
- structuredContent?: undefined;
1359
1915
  }>;
1360
1916
  };
1361
1917
  search: {
@@ -1364,14 +1920,34 @@ declare const tools: {
1364
1920
  parameters: {
1365
1921
  query: import('zod').ZodString;
1366
1922
  };
1923
+ outputSchema: {
1924
+ results: import('zod').ZodArray<import('zod').ZodObject<{
1925
+ id: import('zod').ZodString;
1926
+ title: import('zod').ZodString;
1927
+ url: import('zod').ZodString;
1928
+ }, "strip", import('zod').ZodTypeAny, {
1929
+ title: string;
1930
+ id: string;
1931
+ url: string;
1932
+ }, {
1933
+ title: string;
1934
+ id: string;
1935
+ url: string;
1936
+ }>, "many">;
1937
+ totalCount: import('zod').ZodNumber;
1938
+ };
1367
1939
  execute(args: {
1368
1940
  query: string;
1369
1941
  }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1370
- content: {
1371
- type: "text";
1372
- text: string;
1373
- }[];
1374
- isError?: boolean;
1942
+ textContent: string;
1943
+ structuredContent: {
1944
+ results: {
1945
+ id: string;
1946
+ title: string;
1947
+ url: string;
1948
+ }[];
1949
+ totalCount: number;
1950
+ };
1375
1951
  }>;
1376
1952
  };
1377
1953
  fetch: {
@@ -1380,14 +1956,17 @@ declare const tools: {
1380
1956
  parameters: {
1381
1957
  id: import('zod').ZodString;
1382
1958
  };
1959
+ outputSchema: {
1960
+ id: import('zod').ZodString;
1961
+ title: import('zod').ZodString;
1962
+ text: import('zod').ZodString;
1963
+ url: import('zod').ZodString;
1964
+ metadata: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
1965
+ };
1383
1966
  execute(args: {
1384
1967
  id: string;
1385
1968
  }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1386
- content: {
1387
- type: "text";
1388
- text: string;
1389
- }[];
1390
- isError?: boolean;
1969
+ textContent: string;
1391
1970
  }>;
1392
1971
  };
1393
1972
  };