@doist/todoist-ai 8.12.3 → 9.0.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 (170) hide show
  1. package/README.md +11 -206
  2. package/bin/_launcher.js +16 -0
  3. package/bin/todoist-ai-http.js +4 -0
  4. package/bin/todoist-ai.js +4 -0
  5. package/index.d.ts +1 -0
  6. package/index.mjs +1 -0
  7. package/package.json +20 -108
  8. package/LICENSE +0 -21
  9. package/dist/filter-helpers.d.ts +0 -51
  10. package/dist/filter-helpers.d.ts.map +0 -1
  11. package/dist/index.d.ts +0 -2954
  12. package/dist/index.d.ts.map +0 -1
  13. package/dist/index.js +0 -103
  14. package/dist/main-http.d.ts +0 -3
  15. package/dist/main-http.d.ts.map +0 -1
  16. package/dist/main-http.js +0 -41
  17. package/dist/main.d.ts +0 -3
  18. package/dist/main.d.ts.map +0 -1
  19. package/dist/main.js +0 -17
  20. package/dist/mcp-apps/index.html +0 -98
  21. package/dist/mcp-helpers.d.ts +0 -58
  22. package/dist/mcp-helpers.d.ts.map +0 -1
  23. package/dist/mcp-server-B-6X4t3u.js +0 -6133
  24. package/dist/mcp-server.d.ts +0 -16
  25. package/dist/mcp-server.d.ts.map +0 -1
  26. package/dist/middleware/require-valid-todoist-token.d.ts +0 -38
  27. package/dist/middleware/require-valid-todoist-token.d.ts.map +0 -1
  28. package/dist/prompts/productivity-analysis.d.ts +0 -58
  29. package/dist/prompts/productivity-analysis.d.ts.map +0 -1
  30. package/dist/require-valid-todoist-token-CUTCSVRV.js +0 -72
  31. package/dist/todoist-tool.d.ts +0 -62
  32. package/dist/todoist-tool.d.ts.map +0 -1
  33. package/dist/tool-execution-error.d.ts +0 -7
  34. package/dist/tool-execution-error.d.ts.map +0 -1
  35. package/dist/tool-helpers.d.ts +0 -265
  36. package/dist/tool-helpers.d.ts.map +0 -1
  37. package/dist/tools/add-comments.d.ts +0 -83
  38. package/dist/tools/add-comments.d.ts.map +0 -1
  39. package/dist/tools/add-filters.d.ts +0 -94
  40. package/dist/tools/add-filters.d.ts.map +0 -1
  41. package/dist/tools/add-labels.d.ts +0 -92
  42. package/dist/tools/add-labels.d.ts.map +0 -1
  43. package/dist/tools/add-projects.d.ts +0 -112
  44. package/dist/tools/add-projects.d.ts.map +0 -1
  45. package/dist/tools/add-reminders.d.ts +0 -148
  46. package/dist/tools/add-reminders.d.ts.map +0 -1
  47. package/dist/tools/add-sections.d.ts +0 -40
  48. package/dist/tools/add-sections.d.ts.map +0 -1
  49. package/dist/tools/add-tasks.d.ts +0 -118
  50. package/dist/tools/add-tasks.d.ts.map +0 -1
  51. package/dist/tools/analyze-project-health.d.ts +0 -45
  52. package/dist/tools/analyze-project-health.d.ts.map +0 -1
  53. package/dist/tools/complete-tasks.d.ts +0 -42
  54. package/dist/tools/complete-tasks.d.ts.map +0 -1
  55. package/dist/tools/delete-object.d.ts +0 -54
  56. package/dist/tools/delete-object.d.ts.map +0 -1
  57. package/dist/tools/fetch-object.d.ts +0 -199
  58. package/dist/tools/fetch-object.d.ts.map +0 -1
  59. package/dist/tools/fetch.d.ts +0 -41
  60. package/dist/tools/fetch.d.ts.map +0 -1
  61. package/dist/tools/find-activity.d.ts +0 -91
  62. package/dist/tools/find-activity.d.ts.map +0 -1
  63. package/dist/tools/find-comments.d.ts +0 -89
  64. package/dist/tools/find-comments.d.ts.map +0 -1
  65. package/dist/tools/find-completed-tasks.d.ts +0 -115
  66. package/dist/tools/find-completed-tasks.d.ts.map +0 -1
  67. package/dist/tools/find-filters.d.ts +0 -92
  68. package/dist/tools/find-filters.d.ts.map +0 -1
  69. package/dist/tools/find-labels.d.ts +0 -81
  70. package/dist/tools/find-labels.d.ts.map +0 -1
  71. package/dist/tools/find-project-collaborators.d.ts +0 -94
  72. package/dist/tools/find-project-collaborators.d.ts.map +0 -1
  73. package/dist/tools/find-projects.d.ts +0 -87
  74. package/dist/tools/find-projects.d.ts.map +0 -1
  75. package/dist/tools/find-reminders.d.ts +0 -95
  76. package/dist/tools/find-reminders.d.ts.map +0 -1
  77. package/dist/tools/find-sections.d.ts +0 -41
  78. package/dist/tools/find-sections.d.ts.map +0 -1
  79. package/dist/tools/find-tasks-by-date.d.ts +0 -133
  80. package/dist/tools/find-tasks-by-date.d.ts.map +0 -1
  81. package/dist/tools/find-tasks.d.ts +0 -116
  82. package/dist/tools/find-tasks.d.ts.map +0 -1
  83. package/dist/tools/get-overview.d.ts +0 -123
  84. package/dist/tools/get-overview.d.ts.map +0 -1
  85. package/dist/tools/get-productivity-stats.d.ts +0 -160
  86. package/dist/tools/get-productivity-stats.d.ts.map +0 -1
  87. package/dist/tools/get-project-activity-stats.d.ts +0 -48
  88. package/dist/tools/get-project-activity-stats.d.ts.map +0 -1
  89. package/dist/tools/get-project-health.d.ts +0 -112
  90. package/dist/tools/get-project-health.d.ts.map +0 -1
  91. package/dist/tools/get-workspace-insights.d.ts +0 -65
  92. package/dist/tools/get-workspace-insights.d.ts.map +0 -1
  93. package/dist/tools/list-workspaces.d.ts +0 -54
  94. package/dist/tools/list-workspaces.d.ts.map +0 -1
  95. package/dist/tools/manage-assignments.d.ts +0 -72
  96. package/dist/tools/manage-assignments.d.ts.map +0 -1
  97. package/dist/tools/project-management.d.ts +0 -78
  98. package/dist/tools/project-management.d.ts.map +0 -1
  99. package/dist/tools/project-move.d.ts +0 -88
  100. package/dist/tools/project-move.d.ts.map +0 -1
  101. package/dist/tools/reorder-objects.d.ts +0 -50
  102. package/dist/tools/reorder-objects.d.ts.map +0 -1
  103. package/dist/tools/reschedule-tasks.d.ts +0 -78
  104. package/dist/tools/reschedule-tasks.d.ts.map +0 -1
  105. package/dist/tools/search.d.ts +0 -43
  106. package/dist/tools/search.d.ts.map +0 -1
  107. package/dist/tools/uncomplete-tasks.d.ts +0 -42
  108. package/dist/tools/uncomplete-tasks.d.ts.map +0 -1
  109. package/dist/tools/update-comments.d.ts +0 -87
  110. package/dist/tools/update-comments.d.ts.map +0 -1
  111. package/dist/tools/update-filters.d.ts +0 -106
  112. package/dist/tools/update-filters.d.ts.map +0 -1
  113. package/dist/tools/update-labels.d.ts +0 -122
  114. package/dist/tools/update-labels.d.ts.map +0 -1
  115. package/dist/tools/update-projects.d.ts +0 -120
  116. package/dist/tools/update-projects.d.ts.map +0 -1
  117. package/dist/tools/update-reminders.d.ts +0 -148
  118. package/dist/tools/update-reminders.d.ts.map +0 -1
  119. package/dist/tools/update-sections.d.ts +0 -42
  120. package/dist/tools/update-sections.d.ts.map +0 -1
  121. package/dist/tools/update-tasks.d.ts +0 -113
  122. package/dist/tools/update-tasks.d.ts.map +0 -1
  123. package/dist/tools/user-info.d.ts +0 -57
  124. package/dist/tools/user-info.d.ts.map +0 -1
  125. package/dist/tools/view-attachment.d.ts +0 -25
  126. package/dist/tools/view-attachment.d.ts.map +0 -1
  127. package/dist/usage-tracking.d.ts +0 -27
  128. package/dist/usage-tracking.d.ts.map +0 -1
  129. package/dist/utils/assignment-validator.d.ts +0 -69
  130. package/dist/utils/assignment-validator.d.ts.map +0 -1
  131. package/dist/utils/colors.d.ts +0 -68
  132. package/dist/utils/colors.d.ts.map +0 -1
  133. package/dist/utils/constants.d.ts +0 -53
  134. package/dist/utils/constants.d.ts.map +0 -1
  135. package/dist/utils/date.d.ts +0 -18
  136. package/dist/utils/date.d.ts.map +0 -1
  137. package/dist/utils/duration-parser.d.ts +0 -36
  138. package/dist/utils/duration-parser.d.ts.map +0 -1
  139. package/dist/utils/filter-resolver.d.ts +0 -27
  140. package/dist/utils/filter-resolver.d.ts.map +0 -1
  141. package/dist/utils/labels.d.ts +0 -13
  142. package/dist/utils/labels.d.ts.map +0 -1
  143. package/dist/utils/output-schemas.d.ts +0 -199
  144. package/dist/utils/output-schemas.d.ts.map +0 -1
  145. package/dist/utils/priorities.d.ts +0 -14
  146. package/dist/utils/priorities.d.ts.map +0 -1
  147. package/dist/utils/reminder-schemas.d.ts +0 -33
  148. package/dist/utils/reminder-schemas.d.ts.map +0 -1
  149. package/dist/utils/response-builders.d.ts +0 -93
  150. package/dist/utils/response-builders.d.ts.map +0 -1
  151. package/dist/utils/retry.d.ts +0 -10
  152. package/dist/utils/retry.d.ts.map +0 -1
  153. package/dist/utils/sanitize-data.d.ts +0 -10
  154. package/dist/utils/sanitize-data.d.ts.map +0 -1
  155. package/dist/utils/schema-helpers.d.ts +0 -10
  156. package/dist/utils/schema-helpers.d.ts.map +0 -1
  157. package/dist/utils/test-helpers.d.ts +0 -91
  158. package/dist/utils/test-helpers.d.ts.map +0 -1
  159. package/dist/utils/tool-names.d.ts +0 -56
  160. package/dist/utils/tool-names.d.ts.map +0 -1
  161. package/dist/utils/user-resolver.d.ts +0 -39
  162. package/dist/utils/user-resolver.d.ts.map +0 -1
  163. package/dist/utils/validate-todoist-token.d.ts +0 -9
  164. package/dist/utils/validate-todoist-token.d.ts.map +0 -1
  165. package/dist/utils/workspace-resolver.d.ts +0 -31
  166. package/dist/utils/workspace-resolver.d.ts.map +0 -1
  167. package/scripts/bump-plugin-version.mjs +0 -14
  168. package/scripts/run-tool.ts +0 -240
  169. package/scripts/test-executable.cjs +0 -69
  170. package/scripts/validate-schemas.ts +0 -284
package/dist/index.d.ts DELETED
@@ -1,2954 +0,0 @@
1
- import { FEATURE_NAMES, Feature, FeatureName, Features } from './mcp-helpers.js';
2
- import { getMcpServer } from './mcp-server.js';
3
- import { requireValidTodoistToken, RequireValidTodoistTokenOptions } from './middleware/require-valid-todoist-token.js';
4
- import { addComments } from './tools/add-comments.js';
5
- import { addFilters } from './tools/add-filters.js';
6
- import { addLabels } from './tools/add-labels.js';
7
- import { addProjects } from './tools/add-projects.js';
8
- import { addSections } from './tools/add-sections.js';
9
- import { addTasks } from './tools/add-tasks.js';
10
- import { analyzeProjectHealth } from './tools/analyze-project-health.js';
11
- import { completeTasks } from './tools/complete-tasks.js';
12
- import { deleteObject } from './tools/delete-object.js';
13
- import { fetch } from './tools/fetch.js';
14
- import { findActivity } from './tools/find-activity.js';
15
- import { findComments } from './tools/find-comments.js';
16
- import { findCompletedTasks } from './tools/find-completed-tasks.js';
17
- import { findFilters } from './tools/find-filters.js';
18
- import { findLabels } from './tools/find-labels.js';
19
- import { findProjectCollaborators } from './tools/find-project-collaborators.js';
20
- import { findProjects } from './tools/find-projects.js';
21
- import { findSections } from './tools/find-sections.js';
22
- import { findTasksByDate } from './tools/find-tasks-by-date.js';
23
- import { findTasks } from './tools/find-tasks.js';
24
- import { getOverview } from './tools/get-overview.js';
25
- import { getProductivityStats } from './tools/get-productivity-stats.js';
26
- import { getProjectActivityStats } from './tools/get-project-activity-stats.js';
27
- import { getProjectHealth } from './tools/get-project-health.js';
28
- import { getWorkspaceInsights } from './tools/get-workspace-insights.js';
29
- import { listWorkspaces } from './tools/list-workspaces.js';
30
- import { manageAssignments } from './tools/manage-assignments.js';
31
- import { reorderObjects } from './tools/reorder-objects.js';
32
- import { rescheduleTasks } from './tools/reschedule-tasks.js';
33
- import { search } from './tools/search.js';
34
- import { uncompleteTasks } from './tools/uncomplete-tasks.js';
35
- import { updateComments } from './tools/update-comments.js';
36
- import { updateFilters } from './tools/update-filters.js';
37
- import { updateLabels } from './tools/update-labels.js';
38
- import { updateProjects } from './tools/update-projects.js';
39
- import { updateSections } from './tools/update-sections.js';
40
- import { updateTasks } from './tools/update-tasks.js';
41
- import { userInfo } from './tools/user-info.js';
42
- import { viewAttachment } from './tools/view-attachment.js';
43
- import { validateTodoistToken } from './utils/validate-todoist-token.js';
44
- declare const tools: {
45
- addTasks: {
46
- name: "add-tasks";
47
- description: string;
48
- parameters: {
49
- tasks: import('zod').ZodArray<import('zod').ZodObject<{
50
- content: import('zod').ZodString;
51
- description: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
52
- priority: import('zod').ZodOptional<import('zod').ZodEnum<{
53
- p1: "p1";
54
- p2: "p2";
55
- p3: "p3";
56
- p4: "p4";
57
- }>>;
58
- dueString: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
59
- deadlineDate: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
60
- duration: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
61
- labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
62
- projectId: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
63
- sectionId: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
64
- parentId: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
65
- order: import('zod').ZodOptional<import('zod').ZodNumber>;
66
- responsibleUser: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
67
- isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
68
- }, import('zod/v4/core').$strip>>;
69
- };
70
- outputSchema: {
71
- tasks: import('zod').ZodArray<import('zod').ZodObject<{
72
- id: import('zod').ZodString;
73
- content: import('zod').ZodString;
74
- description: import('zod').ZodString;
75
- dueDate: import('zod').ZodOptional<import('zod').ZodString>;
76
- recurring: import('zod').ZodUnion<readonly [import('zod').ZodBoolean, import('zod').ZodString]>;
77
- deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
78
- priority: import('zod').ZodEnum<{
79
- p1: "p1";
80
- p2: "p2";
81
- p3: "p3";
82
- p4: "p4";
83
- }>;
84
- projectId: import('zod').ZodString;
85
- sectionId: import('zod').ZodOptional<import('zod').ZodString>;
86
- parentId: import('zod').ZodOptional<import('zod').ZodString>;
87
- labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
88
- duration: import('zod').ZodOptional<import('zod').ZodString>;
89
- responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
90
- isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
91
- assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
92
- checked: import('zod').ZodBoolean;
93
- completedAt: import('zod').ZodOptional<import('zod').ZodString>;
94
- }, import('zod/v4/core').$strip>>;
95
- totalCount: import('zod').ZodNumber;
96
- failures: import('zod').ZodArray<import('zod').ZodObject<{
97
- item: import('zod').ZodString;
98
- error: import('zod').ZodString;
99
- code: import('zod').ZodOptional<import('zod').ZodString>;
100
- }, import('zod/v4/core').$strip>>;
101
- totalRequested: import('zod').ZodNumber;
102
- successCount: import('zod').ZodNumber;
103
- failureCount: import('zod').ZodNumber;
104
- };
105
- annotations: {
106
- readOnlyHint: false;
107
- destructiveHint: false;
108
- idempotentHint: false;
109
- };
110
- execute(args: {
111
- tasks: {
112
- content: string;
113
- description?: string | undefined;
114
- priority?: "p1" | "p2" | "p3" | "p4" | undefined;
115
- dueString?: string | undefined;
116
- deadlineDate?: string | undefined;
117
- duration?: string | undefined;
118
- labels?: string[] | undefined;
119
- projectId?: string | undefined;
120
- sectionId?: string | undefined;
121
- parentId?: string | undefined;
122
- order?: number | undefined;
123
- responsibleUser?: string | undefined;
124
- isUncompletable?: boolean | undefined;
125
- }[];
126
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
127
- textContent: string;
128
- structuredContent: {
129
- tasks: {
130
- id: string;
131
- content: string;
132
- description: string;
133
- dueDate: string | undefined;
134
- recurring: string | boolean;
135
- deadlineDate: string | undefined;
136
- priority: "p1" | "p2" | "p3" | "p4";
137
- projectId: string;
138
- sectionId: string | undefined;
139
- parentId: string | undefined;
140
- labels: string[];
141
- duration: string | undefined;
142
- responsibleUid: string | undefined;
143
- assignedByUid: string | undefined;
144
- checked: boolean;
145
- completedAt: string | undefined;
146
- }[];
147
- totalCount: number;
148
- failures: {
149
- item: string;
150
- error: string;
151
- }[];
152
- totalRequested: number;
153
- successCount: number;
154
- failureCount: number;
155
- };
156
- }>;
157
- };
158
- completeTasks: {
159
- name: "complete-tasks";
160
- description: string;
161
- parameters: {
162
- ids: import('zod').ZodArray<import('zod').ZodString>;
163
- };
164
- outputSchema: {
165
- completed: import('zod').ZodArray<import('zod').ZodString>;
166
- failures: import('zod').ZodArray<import('zod').ZodObject<{
167
- item: import('zod').ZodString;
168
- error: import('zod').ZodString;
169
- code: import('zod').ZodOptional<import('zod').ZodString>;
170
- }, import('zod/v4/core').$strip>>;
171
- totalRequested: import('zod').ZodNumber;
172
- successCount: import('zod').ZodNumber;
173
- failureCount: import('zod').ZodNumber;
174
- };
175
- annotations: {
176
- readOnlyHint: false;
177
- destructiveHint: true;
178
- idempotentHint: false;
179
- };
180
- execute(args: {
181
- ids: string[];
182
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
183
- textContent: string;
184
- structuredContent: {
185
- completed: string[];
186
- failures: {
187
- item: string;
188
- error: string;
189
- code?: string;
190
- }[];
191
- totalRequested: number;
192
- successCount: number;
193
- failureCount: number;
194
- };
195
- }>;
196
- };
197
- uncompleteTasks: {
198
- name: "uncomplete-tasks";
199
- description: string;
200
- parameters: {
201
- ids: import('zod').ZodArray<import('zod').ZodString>;
202
- };
203
- outputSchema: {
204
- uncompleted: import('zod').ZodArray<import('zod').ZodString>;
205
- failures: import('zod').ZodArray<import('zod').ZodObject<{
206
- item: import('zod').ZodString;
207
- error: import('zod').ZodString;
208
- code: import('zod').ZodOptional<import('zod').ZodString>;
209
- }, import('zod/v4/core').$strip>>;
210
- totalRequested: import('zod').ZodNumber;
211
- successCount: import('zod').ZodNumber;
212
- failureCount: import('zod').ZodNumber;
213
- };
214
- annotations: {
215
- readOnlyHint: false;
216
- destructiveHint: false;
217
- idempotentHint: false;
218
- };
219
- execute(args: {
220
- ids: string[];
221
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
222
- textContent: string;
223
- structuredContent: {
224
- uncompleted: string[];
225
- failures: {
226
- item: string;
227
- error: string;
228
- code?: string;
229
- }[];
230
- totalRequested: number;
231
- successCount: number;
232
- failureCount: number;
233
- };
234
- }>;
235
- };
236
- updateTasks: {
237
- name: "update-tasks";
238
- description: string;
239
- parameters: {
240
- tasks: import('zod').ZodArray<import('zod').ZodObject<{
241
- id: import('zod').ZodString;
242
- content: import('zod').ZodOptional<import('zod').ZodString>;
243
- description: import('zod').ZodOptional<import('zod').ZodString>;
244
- projectId: import('zod').ZodOptional<import('zod').ZodString>;
245
- sectionId: import('zod').ZodOptional<import('zod').ZodString>;
246
- parentId: import('zod').ZodOptional<import('zod').ZodString>;
247
- order: import('zod').ZodOptional<import('zod').ZodNumber>;
248
- priority: import('zod').ZodOptional<import('zod').ZodEnum<{
249
- p1: "p1";
250
- p2: "p2";
251
- p3: "p3";
252
- p4: "p4";
253
- }>>;
254
- dueString: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodTransform<{} | undefined, unknown>, import('zod').ZodString>>;
255
- deadlineDate: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodTransform<{} | undefined, unknown>, import('zod').ZodString>>;
256
- duration: import('zod').ZodOptional<import('zod').ZodString>;
257
- responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
258
- labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
259
- isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
260
- }, import('zod/v4/core').$strip>>;
261
- };
262
- outputSchema: {
263
- tasks: import('zod').ZodArray<import('zod').ZodObject<{
264
- id: import('zod').ZodString;
265
- content: import('zod').ZodString;
266
- description: import('zod').ZodString;
267
- dueDate: import('zod').ZodOptional<import('zod').ZodString>;
268
- recurring: import('zod').ZodUnion<readonly [import('zod').ZodBoolean, import('zod').ZodString]>;
269
- deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
270
- priority: import('zod').ZodEnum<{
271
- p1: "p1";
272
- p2: "p2";
273
- p3: "p3";
274
- p4: "p4";
275
- }>;
276
- projectId: import('zod').ZodString;
277
- sectionId: import('zod').ZodOptional<import('zod').ZodString>;
278
- parentId: import('zod').ZodOptional<import('zod').ZodString>;
279
- labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
280
- duration: import('zod').ZodOptional<import('zod').ZodString>;
281
- responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
282
- isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
283
- assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
284
- checked: import('zod').ZodBoolean;
285
- completedAt: import('zod').ZodOptional<import('zod').ZodString>;
286
- }, import('zod/v4/core').$strip>>;
287
- totalCount: import('zod').ZodNumber;
288
- updatedTaskIds: import('zod').ZodArray<import('zod').ZodString>;
289
- appliedOperations: import('zod').ZodObject<{
290
- updateCount: import('zod').ZodNumber;
291
- skippedCount: import('zod').ZodNumber;
292
- }, import('zod/v4/core').$strip>;
293
- };
294
- annotations: {
295
- readOnlyHint: false;
296
- destructiveHint: true;
297
- idempotentHint: false;
298
- };
299
- execute(args: {
300
- tasks: {
301
- id: string;
302
- content?: string | undefined;
303
- description?: string | undefined;
304
- projectId?: string | undefined;
305
- sectionId?: string | undefined;
306
- parentId?: string | undefined;
307
- order?: number | undefined;
308
- priority?: "p1" | "p2" | "p3" | "p4" | undefined;
309
- dueString?: string | undefined;
310
- deadlineDate?: string | undefined;
311
- duration?: string | undefined;
312
- responsibleUser?: string | undefined;
313
- labels?: string[] | undefined;
314
- isUncompletable?: boolean | undefined;
315
- }[];
316
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
317
- textContent: string;
318
- structuredContent: {
319
- tasks: {
320
- id: string;
321
- content: string;
322
- description: string;
323
- dueDate: string | undefined;
324
- recurring: string | boolean;
325
- deadlineDate: string | undefined;
326
- priority: "p1" | "p2" | "p3" | "p4";
327
- projectId: string;
328
- sectionId: string | undefined;
329
- parentId: string | undefined;
330
- labels: string[];
331
- duration: string | undefined;
332
- responsibleUid: string | undefined;
333
- assignedByUid: string | undefined;
334
- checked: boolean;
335
- completedAt: string | undefined;
336
- }[];
337
- totalCount: number;
338
- updatedTaskIds: string[];
339
- appliedOperations: {
340
- updateCount: number;
341
- skippedCount: number;
342
- };
343
- };
344
- }>;
345
- };
346
- findTasks: {
347
- name: "find-tasks";
348
- description: string;
349
- parameters: {
350
- labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
351
- labelsOperator: import('zod').ZodOptional<import('zod').ZodEnum<{
352
- or: "or";
353
- and: "and";
354
- }>>;
355
- searchText: import('zod').ZodOptional<import('zod').ZodString>;
356
- projectId: import('zod').ZodOptional<import('zod').ZodString>;
357
- sectionId: import('zod').ZodOptional<import('zod').ZodString>;
358
- parentId: import('zod').ZodOptional<import('zod').ZodString>;
359
- responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
360
- responsibleUserFiltering: import('zod').ZodOptional<import('zod').ZodEnum<{
361
- assigned: "assigned";
362
- unassignedOrMe: "unassignedOrMe";
363
- all: "all";
364
- }>>;
365
- limit: import('zod').ZodDefault<import('zod').ZodNumber>;
366
- cursor: import('zod').ZodOptional<import('zod').ZodString>;
367
- filter: import('zod').ZodOptional<import('zod').ZodString>;
368
- filterIdOrName: import('zod').ZodOptional<import('zod').ZodString>;
369
- };
370
- outputSchema: {
371
- tasks: import('zod').ZodArray<import('zod').ZodObject<{
372
- id: import('zod').ZodString;
373
- content: import('zod').ZodString;
374
- description: import('zod').ZodString;
375
- dueDate: import('zod').ZodOptional<import('zod').ZodString>;
376
- recurring: import('zod').ZodUnion<readonly [import('zod').ZodBoolean, import('zod').ZodString]>;
377
- deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
378
- priority: import('zod').ZodEnum<{
379
- p1: "p1";
380
- p2: "p2";
381
- p3: "p3";
382
- p4: "p4";
383
- }>;
384
- projectId: import('zod').ZodString;
385
- sectionId: import('zod').ZodOptional<import('zod').ZodString>;
386
- parentId: import('zod').ZodOptional<import('zod').ZodString>;
387
- labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
388
- duration: import('zod').ZodOptional<import('zod').ZodString>;
389
- responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
390
- isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
391
- assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
392
- checked: import('zod').ZodBoolean;
393
- completedAt: import('zod').ZodOptional<import('zod').ZodString>;
394
- }, import('zod/v4/core').$strip>>;
395
- nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
396
- totalCount: import('zod').ZodNumber;
397
- hasMore: import('zod').ZodBoolean;
398
- appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
399
- };
400
- annotations: {
401
- readOnlyHint: true;
402
- destructiveHint: false;
403
- idempotentHint: true;
404
- };
405
- execute(args: {
406
- limit: number;
407
- labels?: string[] | undefined;
408
- labelsOperator?: "or" | "and" | undefined;
409
- searchText?: string | undefined;
410
- projectId?: string | undefined;
411
- sectionId?: string | undefined;
412
- parentId?: string | undefined;
413
- responsibleUser?: string | undefined;
414
- responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
415
- cursor?: string | undefined;
416
- filter?: string | undefined;
417
- filterIdOrName?: string | undefined;
418
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
419
- textContent: string;
420
- structuredContent: {
421
- tasks: {
422
- id: string;
423
- content: string;
424
- description: string;
425
- dueDate: string | undefined;
426
- recurring: string | boolean;
427
- deadlineDate: string | undefined;
428
- priority: "p1" | "p2" | "p3" | "p4";
429
- projectId: string;
430
- sectionId: string | undefined;
431
- parentId: string | undefined;
432
- labels: string[];
433
- duration: string | undefined;
434
- responsibleUid: string | undefined;
435
- assignedByUid: string | undefined;
436
- checked: boolean;
437
- completedAt: string | undefined;
438
- }[];
439
- nextCursor: string | undefined;
440
- totalCount: number;
441
- hasMore: boolean;
442
- appliedFilters: {
443
- limit: number;
444
- labels?: string[] | undefined;
445
- labelsOperator?: "or" | "and" | undefined;
446
- searchText?: string | undefined;
447
- projectId?: string | undefined;
448
- sectionId?: string | undefined;
449
- parentId?: string | undefined;
450
- responsibleUser?: string | undefined;
451
- responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
452
- cursor?: string | undefined;
453
- filter?: string | undefined;
454
- filterIdOrName?: string | undefined;
455
- };
456
- };
457
- }>;
458
- };
459
- findTasksByDate: {
460
- name: "find-tasks-by-date";
461
- description: string;
462
- parameters: {
463
- labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
464
- labelsOperator: import('zod').ZodOptional<import('zod').ZodEnum<{
465
- or: "or";
466
- and: "and";
467
- }>>;
468
- startDate: import('zod').ZodOptional<import('zod').ZodString>;
469
- overdueOption: import('zod').ZodOptional<import('zod').ZodEnum<{
470
- "overdue-only": "overdue-only";
471
- "include-overdue": "include-overdue";
472
- "exclude-overdue": "exclude-overdue";
473
- }>>;
474
- daysCount: import('zod').ZodDefault<import('zod').ZodNumber>;
475
- limit: import('zod').ZodDefault<import('zod').ZodNumber>;
476
- cursor: import('zod').ZodOptional<import('zod').ZodString>;
477
- responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
478
- responsibleUserFiltering: import('zod').ZodOptional<import('zod').ZodEnum<{
479
- assigned: "assigned";
480
- unassignedOrMe: "unassignedOrMe";
481
- all: "all";
482
- }>>;
483
- };
484
- outputSchema: {
485
- tasks: import('zod').ZodArray<import('zod').ZodObject<{
486
- id: import('zod').ZodString;
487
- content: import('zod').ZodString;
488
- description: import('zod').ZodString;
489
- dueDate: import('zod').ZodOptional<import('zod').ZodString>;
490
- recurring: import('zod').ZodUnion<readonly [import('zod').ZodBoolean, import('zod').ZodString]>;
491
- deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
492
- priority: import('zod').ZodEnum<{
493
- p1: "p1";
494
- p2: "p2";
495
- p3: "p3";
496
- p4: "p4";
497
- }>;
498
- projectId: import('zod').ZodString;
499
- sectionId: import('zod').ZodOptional<import('zod').ZodString>;
500
- parentId: import('zod').ZodOptional<import('zod').ZodString>;
501
- labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
502
- duration: import('zod').ZodOptional<import('zod').ZodString>;
503
- responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
504
- isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
505
- assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
506
- checked: import('zod').ZodBoolean;
507
- completedAt: import('zod').ZodOptional<import('zod').ZodString>;
508
- }, import('zod/v4/core').$strip>>;
509
- nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
510
- totalCount: import('zod').ZodNumber;
511
- hasMore: import('zod').ZodBoolean;
512
- appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
513
- };
514
- annotations: {
515
- readOnlyHint: true;
516
- destructiveHint: false;
517
- idempotentHint: true;
518
- };
519
- execute(args: {
520
- daysCount: number;
521
- limit: number;
522
- labels?: string[] | undefined;
523
- labelsOperator?: "or" | "and" | undefined;
524
- startDate?: string | undefined;
525
- overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
526
- cursor?: string | undefined;
527
- responsibleUser?: string | undefined;
528
- responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
529
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
530
- textContent: string;
531
- structuredContent: {
532
- tasks: {
533
- id: string;
534
- content: string;
535
- description: string;
536
- dueDate: string | undefined;
537
- recurring: string | boolean;
538
- deadlineDate: string | undefined;
539
- priority: "p1" | "p2" | "p3" | "p4";
540
- projectId: string;
541
- sectionId: string | undefined;
542
- parentId: string | undefined;
543
- labels: string[];
544
- duration: string | undefined;
545
- responsibleUid: string | undefined;
546
- assignedByUid: string | undefined;
547
- checked: boolean;
548
- completedAt: string | undefined;
549
- }[];
550
- nextCursor: string | undefined;
551
- totalCount: number;
552
- hasMore: boolean;
553
- appliedFilters: {
554
- daysCount: number;
555
- limit: number;
556
- labels?: string[] | undefined;
557
- labelsOperator?: "or" | "and" | undefined;
558
- startDate?: string | undefined;
559
- overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
560
- cursor?: string | undefined;
561
- responsibleUser?: string | undefined;
562
- responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
563
- };
564
- };
565
- }>;
566
- };
567
- findCompletedTasks: {
568
- name: "find-completed-tasks";
569
- description: string;
570
- parameters: {
571
- labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
572
- labelsOperator: import('zod').ZodOptional<import('zod').ZodEnum<{
573
- or: "or";
574
- and: "and";
575
- }>>;
576
- getBy: import('zod').ZodDefault<import('zod').ZodEnum<{
577
- due: "due";
578
- completion: "completion";
579
- }>>;
580
- since: import('zod').ZodOptional<import('zod').ZodString>;
581
- until: import('zod').ZodOptional<import('zod').ZodString>;
582
- workspaceId: import('zod').ZodOptional<import('zod').ZodString>;
583
- projectId: import('zod').ZodOptional<import('zod').ZodString>;
584
- sectionId: import('zod').ZodOptional<import('zod').ZodString>;
585
- parentId: import('zod').ZodOptional<import('zod').ZodString>;
586
- responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
587
- limit: import('zod').ZodDefault<import('zod').ZodNumber>;
588
- cursor: import('zod').ZodOptional<import('zod').ZodString>;
589
- };
590
- outputSchema: {
591
- tasks: import('zod').ZodArray<import('zod').ZodObject<{
592
- id: import('zod').ZodString;
593
- content: import('zod').ZodString;
594
- description: import('zod').ZodString;
595
- dueDate: import('zod').ZodOptional<import('zod').ZodString>;
596
- recurring: import('zod').ZodUnion<readonly [import('zod').ZodBoolean, import('zod').ZodString]>;
597
- deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
598
- priority: import('zod').ZodEnum<{
599
- p1: "p1";
600
- p2: "p2";
601
- p3: "p3";
602
- p4: "p4";
603
- }>;
604
- projectId: import('zod').ZodString;
605
- sectionId: import('zod').ZodOptional<import('zod').ZodString>;
606
- parentId: import('zod').ZodOptional<import('zod').ZodString>;
607
- labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
608
- duration: import('zod').ZodOptional<import('zod').ZodString>;
609
- responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
610
- isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
611
- assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
612
- checked: import('zod').ZodBoolean;
613
- completedAt: import('zod').ZodOptional<import('zod').ZodString>;
614
- }, import('zod/v4/core').$strip>>;
615
- nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
616
- totalCount: import('zod').ZodNumber;
617
- hasMore: import('zod').ZodBoolean;
618
- appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
619
- };
620
- annotations: {
621
- readOnlyHint: true;
622
- destructiveHint: false;
623
- idempotentHint: true;
624
- };
625
- execute(args: {
626
- getBy: "due" | "completion";
627
- limit: number;
628
- labels?: string[] | undefined;
629
- labelsOperator?: "or" | "and" | undefined;
630
- since?: string | undefined;
631
- until?: string | undefined;
632
- workspaceId?: string | undefined;
633
- projectId?: string | undefined;
634
- sectionId?: string | undefined;
635
- parentId?: string | undefined;
636
- responsibleUser?: string | undefined;
637
- cursor?: string | undefined;
638
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
639
- textContent: string;
640
- structuredContent: {
641
- tasks: {
642
- id: string;
643
- content: string;
644
- description: string;
645
- dueDate: string | undefined;
646
- recurring: string | boolean;
647
- deadlineDate: string | undefined;
648
- priority: "p1" | "p2" | "p3" | "p4";
649
- projectId: string;
650
- sectionId: string | undefined;
651
- parentId: string | undefined;
652
- labels: string[];
653
- duration: string | undefined;
654
- responsibleUid: string | undefined;
655
- assignedByUid: string | undefined;
656
- checked: boolean;
657
- completedAt: string | undefined;
658
- }[];
659
- nextCursor: string | undefined;
660
- totalCount: number;
661
- hasMore: boolean;
662
- appliedFilters: {
663
- since: string;
664
- until: string;
665
- getBy: "due" | "completion";
666
- limit: number;
667
- labels?: string[] | undefined;
668
- labelsOperator?: "or" | "and" | undefined;
669
- workspaceId?: string | undefined;
670
- projectId?: string | undefined;
671
- sectionId?: string | undefined;
672
- parentId?: string | undefined;
673
- responsibleUser?: string | undefined;
674
- cursor?: string | undefined;
675
- };
676
- };
677
- }>;
678
- };
679
- rescheduleTasks: {
680
- name: "reschedule-tasks";
681
- description: string;
682
- parameters: {
683
- tasks: import('zod').ZodArray<import('zod').ZodObject<{
684
- id: import('zod').ZodString;
685
- date: import('zod').ZodString;
686
- }, import('zod/v4/core').$strip>>;
687
- };
688
- outputSchema: {
689
- tasks: import('zod').ZodArray<import('zod').ZodObject<{
690
- id: import('zod').ZodString;
691
- content: import('zod').ZodString;
692
- description: import('zod').ZodString;
693
- dueDate: import('zod').ZodOptional<import('zod').ZodString>;
694
- recurring: import('zod').ZodUnion<readonly [import('zod').ZodBoolean, import('zod').ZodString]>;
695
- deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
696
- priority: import('zod').ZodEnum<{
697
- p1: "p1";
698
- p2: "p2";
699
- p3: "p3";
700
- p4: "p4";
701
- }>;
702
- projectId: import('zod').ZodString;
703
- sectionId: import('zod').ZodOptional<import('zod').ZodString>;
704
- parentId: import('zod').ZodOptional<import('zod').ZodString>;
705
- labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
706
- duration: import('zod').ZodOptional<import('zod').ZodString>;
707
- responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
708
- isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
709
- assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
710
- checked: import('zod').ZodBoolean;
711
- completedAt: import('zod').ZodOptional<import('zod').ZodString>;
712
- }, import('zod/v4/core').$strip>>;
713
- totalCount: import('zod').ZodNumber;
714
- rescheduledTaskIds: import('zod').ZodArray<import('zod').ZodString>;
715
- };
716
- annotations: {
717
- readOnlyHint: false;
718
- destructiveHint: true;
719
- idempotentHint: false;
720
- };
721
- execute(args: {
722
- tasks: {
723
- id: string;
724
- date: string;
725
- }[];
726
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
727
- textContent: string;
728
- structuredContent: {
729
- tasks: {
730
- id: string;
731
- content: string;
732
- description: string;
733
- dueDate: string | undefined;
734
- recurring: string | boolean;
735
- deadlineDate: string | undefined;
736
- priority: "p1" | "p2" | "p3" | "p4";
737
- projectId: string;
738
- sectionId: string | undefined;
739
- parentId: string | undefined;
740
- labels: string[];
741
- duration: string | undefined;
742
- responsibleUid: string | undefined;
743
- assignedByUid: string | undefined;
744
- checked: boolean;
745
- completedAt: string | undefined;
746
- }[];
747
- totalCount: number;
748
- rescheduledTaskIds: string[];
749
- };
750
- }>;
751
- };
752
- addProjects: {
753
- name: "add-projects";
754
- description: string;
755
- parameters: {
756
- projects: import('zod').ZodArray<import('zod').ZodObject<{
757
- name: import('zod').ZodString;
758
- parentId: import('zod').ZodOptional<import('zod').ZodString>;
759
- isFavorite: import('zod').ZodOptional<import('zod').ZodBoolean>;
760
- viewStyle: import('zod').ZodOptional<import('zod').ZodEnum<{
761
- list: "list";
762
- board: "board";
763
- calendar: "calendar";
764
- }>>;
765
- color: import('zod').ZodPipe<import('zod').ZodTransform<string | undefined, unknown>, import('zod').ZodOptional<import('zod').ZodEnum<{
766
- berry_red: "berry_red";
767
- red: "red";
768
- orange: "orange";
769
- yellow: "yellow";
770
- olive_green: "olive_green";
771
- lime_green: "lime_green";
772
- green: "green";
773
- mint_green: "mint_green";
774
- teal: "teal";
775
- sky_blue: "sky_blue";
776
- light_blue: "light_blue";
777
- blue: "blue";
778
- grape: "grape";
779
- violet: "violet";
780
- lavender: "lavender";
781
- magenta: "magenta";
782
- salmon: "salmon";
783
- charcoal: "charcoal";
784
- grey: "grey";
785
- taupe: "taupe";
786
- }>>>;
787
- workspace: import('zod').ZodOptional<import('zod').ZodString>;
788
- }, import('zod/v4/core').$strip>>;
789
- };
790
- outputSchema: {
791
- projects: import('zod').ZodArray<import('zod').ZodObject<{
792
- id: import('zod').ZodString;
793
- name: import('zod').ZodString;
794
- color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
795
- berry_red: "berry_red";
796
- red: "red";
797
- orange: "orange";
798
- yellow: "yellow";
799
- olive_green: "olive_green";
800
- lime_green: "lime_green";
801
- green: "green";
802
- mint_green: "mint_green";
803
- teal: "teal";
804
- sky_blue: "sky_blue";
805
- light_blue: "light_blue";
806
- blue: "blue";
807
- grape: "grape";
808
- violet: "violet";
809
- lavender: "lavender";
810
- magenta: "magenta";
811
- salmon: "salmon";
812
- charcoal: "charcoal";
813
- grey: "grey";
814
- taupe: "taupe";
815
- }>>>;
816
- isFavorite: import('zod').ZodBoolean;
817
- isShared: import('zod').ZodBoolean;
818
- parentId: import('zod').ZodOptional<import('zod').ZodString>;
819
- inboxProject: import('zod').ZodBoolean;
820
- viewStyle: import('zod').ZodString;
821
- workspaceId: import('zod').ZodOptional<import('zod').ZodString>;
822
- folderId: import('zod').ZodOptional<import('zod').ZodString>;
823
- childOrder: import('zod').ZodNumber;
824
- }, import('zod/v4/core').$strip>>;
825
- totalCount: import('zod').ZodNumber;
826
- };
827
- annotations: {
828
- readOnlyHint: false;
829
- destructiveHint: false;
830
- idempotentHint: false;
831
- };
832
- execute({ projects }: {
833
- projects: {
834
- name: string;
835
- parentId?: string | undefined;
836
- isFavorite?: boolean | undefined;
837
- viewStyle?: "list" | "board" | "calendar" | undefined;
838
- color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
839
- workspace?: string | undefined;
840
- }[];
841
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
842
- textContent: string;
843
- structuredContent: {
844
- projects: {
845
- id: string;
846
- name: string;
847
- color: import('@doist/todoist-sdk').ColorKey;
848
- isFavorite: boolean;
849
- isShared: boolean;
850
- parentId: string | undefined;
851
- inboxProject: boolean;
852
- viewStyle: string;
853
- workspaceId: string | undefined;
854
- folderId: string | undefined;
855
- childOrder: number;
856
- }[];
857
- totalCount: number;
858
- };
859
- }>;
860
- };
861
- updateProjects: {
862
- name: "update-projects";
863
- description: string;
864
- parameters: {
865
- projects: import('zod').ZodArray<import('zod').ZodObject<{
866
- id: import('zod').ZodString;
867
- name: import('zod').ZodOptional<import('zod').ZodString>;
868
- isFavorite: import('zod').ZodOptional<import('zod').ZodBoolean>;
869
- viewStyle: import('zod').ZodOptional<import('zod').ZodEnum<{
870
- list: "list";
871
- board: "board";
872
- calendar: "calendar";
873
- }>>;
874
- color: import('zod').ZodPipe<import('zod').ZodTransform<string | undefined, unknown>, import('zod').ZodOptional<import('zod').ZodEnum<{
875
- berry_red: "berry_red";
876
- red: "red";
877
- orange: "orange";
878
- yellow: "yellow";
879
- olive_green: "olive_green";
880
- lime_green: "lime_green";
881
- green: "green";
882
- mint_green: "mint_green";
883
- teal: "teal";
884
- sky_blue: "sky_blue";
885
- light_blue: "light_blue";
886
- blue: "blue";
887
- grape: "grape";
888
- violet: "violet";
889
- lavender: "lavender";
890
- magenta: "magenta";
891
- salmon: "salmon";
892
- charcoal: "charcoal";
893
- grey: "grey";
894
- taupe: "taupe";
895
- }>>>;
896
- }, import('zod/v4/core').$strip>>;
897
- };
898
- outputSchema: {
899
- projects: import('zod').ZodArray<import('zod').ZodObject<{
900
- id: import('zod').ZodString;
901
- name: import('zod').ZodString;
902
- color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
903
- berry_red: "berry_red";
904
- red: "red";
905
- orange: "orange";
906
- yellow: "yellow";
907
- olive_green: "olive_green";
908
- lime_green: "lime_green";
909
- green: "green";
910
- mint_green: "mint_green";
911
- teal: "teal";
912
- sky_blue: "sky_blue";
913
- light_blue: "light_blue";
914
- blue: "blue";
915
- grape: "grape";
916
- violet: "violet";
917
- lavender: "lavender";
918
- magenta: "magenta";
919
- salmon: "salmon";
920
- charcoal: "charcoal";
921
- grey: "grey";
922
- taupe: "taupe";
923
- }>>>;
924
- isFavorite: import('zod').ZodBoolean;
925
- isShared: import('zod').ZodBoolean;
926
- parentId: import('zod').ZodOptional<import('zod').ZodString>;
927
- inboxProject: import('zod').ZodBoolean;
928
- viewStyle: import('zod').ZodString;
929
- workspaceId: import('zod').ZodOptional<import('zod').ZodString>;
930
- folderId: import('zod').ZodOptional<import('zod').ZodString>;
931
- childOrder: import('zod').ZodNumber;
932
- }, import('zod/v4/core').$strip>>;
933
- totalCount: import('zod').ZodNumber;
934
- updatedProjectIds: import('zod').ZodArray<import('zod').ZodString>;
935
- appliedOperations: import('zod').ZodObject<{
936
- updateCount: import('zod').ZodNumber;
937
- skippedCount: import('zod').ZodNumber;
938
- }, import('zod/v4/core').$strip>;
939
- };
940
- annotations: {
941
- readOnlyHint: false;
942
- destructiveHint: true;
943
- idempotentHint: false;
944
- };
945
- execute(args: {
946
- projects: {
947
- id: string;
948
- name?: string | undefined;
949
- isFavorite?: boolean | undefined;
950
- viewStyle?: "list" | "board" | "calendar" | undefined;
951
- color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
952
- }[];
953
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
954
- textContent: string;
955
- structuredContent: {
956
- projects: {
957
- id: string;
958
- name: string;
959
- color: import('@doist/todoist-sdk').ColorKey;
960
- isFavorite: boolean;
961
- isShared: boolean;
962
- parentId: string | undefined;
963
- inboxProject: boolean;
964
- viewStyle: string;
965
- workspaceId: string | undefined;
966
- folderId: string | undefined;
967
- childOrder: number;
968
- }[];
969
- totalCount: number;
970
- updatedProjectIds: string[];
971
- appliedOperations: {
972
- updateCount: number;
973
- skippedCount: number;
974
- };
975
- };
976
- }>;
977
- };
978
- findProjects: {
979
- name: "find-projects";
980
- description: string;
981
- parameters: {
982
- searchText: import('zod').ZodOptional<import('zod').ZodString>;
983
- limit: import('zod').ZodDefault<import('zod').ZodNumber>;
984
- cursor: import('zod').ZodOptional<import('zod').ZodString>;
985
- };
986
- outputSchema: {
987
- projects: import('zod').ZodArray<import('zod').ZodObject<{
988
- id: import('zod').ZodString;
989
- name: import('zod').ZodString;
990
- color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
991
- berry_red: "berry_red";
992
- red: "red";
993
- orange: "orange";
994
- yellow: "yellow";
995
- olive_green: "olive_green";
996
- lime_green: "lime_green";
997
- green: "green";
998
- mint_green: "mint_green";
999
- teal: "teal";
1000
- sky_blue: "sky_blue";
1001
- light_blue: "light_blue";
1002
- blue: "blue";
1003
- grape: "grape";
1004
- violet: "violet";
1005
- lavender: "lavender";
1006
- magenta: "magenta";
1007
- salmon: "salmon";
1008
- charcoal: "charcoal";
1009
- grey: "grey";
1010
- taupe: "taupe";
1011
- }>>>;
1012
- isFavorite: import('zod').ZodBoolean;
1013
- isShared: import('zod').ZodBoolean;
1014
- parentId: import('zod').ZodOptional<import('zod').ZodString>;
1015
- inboxProject: import('zod').ZodBoolean;
1016
- viewStyle: import('zod').ZodString;
1017
- workspaceId: import('zod').ZodOptional<import('zod').ZodString>;
1018
- folderId: import('zod').ZodOptional<import('zod').ZodString>;
1019
- childOrder: import('zod').ZodNumber;
1020
- }, import('zod/v4/core').$strip>>;
1021
- nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
1022
- totalCount: import('zod').ZodNumber;
1023
- hasMore: import('zod').ZodBoolean;
1024
- appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
1025
- };
1026
- annotations: {
1027
- readOnlyHint: true;
1028
- destructiveHint: false;
1029
- idempotentHint: true;
1030
- };
1031
- execute(args: {
1032
- limit: number;
1033
- searchText?: string | undefined;
1034
- cursor?: string | undefined;
1035
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1036
- textContent: string;
1037
- structuredContent: {
1038
- projects: {
1039
- id: string;
1040
- name: string;
1041
- color: import('@doist/todoist-sdk').ColorKey;
1042
- isFavorite: boolean;
1043
- isShared: boolean;
1044
- parentId: string | undefined;
1045
- inboxProject: boolean;
1046
- viewStyle: string;
1047
- workspaceId: string | undefined;
1048
- folderId: string | undefined;
1049
- childOrder: number;
1050
- }[];
1051
- nextCursor: string | undefined;
1052
- totalCount: number;
1053
- hasMore: boolean;
1054
- appliedFilters: {
1055
- limit: number;
1056
- searchText?: string | undefined;
1057
- cursor?: string | undefined;
1058
- };
1059
- };
1060
- }>;
1061
- };
1062
- addSections: {
1063
- name: "add-sections";
1064
- description: string;
1065
- parameters: {
1066
- sections: import('zod').ZodArray<import('zod').ZodObject<{
1067
- name: import('zod').ZodString;
1068
- projectId: import('zod').ZodString;
1069
- }, import('zod/v4/core').$strip>>;
1070
- };
1071
- outputSchema: {
1072
- sections: import('zod').ZodArray<import('zod').ZodObject<{
1073
- id: import('zod').ZodString;
1074
- name: import('zod').ZodString;
1075
- }, import('zod/v4/core').$strip>>;
1076
- totalCount: import('zod').ZodNumber;
1077
- };
1078
- annotations: {
1079
- readOnlyHint: false;
1080
- destructiveHint: false;
1081
- idempotentHint: false;
1082
- };
1083
- execute({ sections }: {
1084
- sections: {
1085
- name: string;
1086
- projectId: string;
1087
- }[];
1088
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1089
- textContent: string;
1090
- structuredContent: {
1091
- sections: {
1092
- id: string;
1093
- name: string;
1094
- }[];
1095
- totalCount: number;
1096
- };
1097
- }>;
1098
- };
1099
- updateSections: {
1100
- name: "update-sections";
1101
- description: string;
1102
- parameters: {
1103
- sections: import('zod').ZodArray<import('zod').ZodObject<{
1104
- id: import('zod').ZodString;
1105
- name: import('zod').ZodString;
1106
- }, import('zod/v4/core').$strip>>;
1107
- };
1108
- outputSchema: {
1109
- sections: import('zod').ZodArray<import('zod').ZodObject<{
1110
- id: import('zod').ZodString;
1111
- name: import('zod').ZodString;
1112
- }, import('zod/v4/core').$strip>>;
1113
- totalCount: import('zod').ZodNumber;
1114
- updatedSectionIds: import('zod').ZodArray<import('zod').ZodString>;
1115
- };
1116
- annotations: {
1117
- readOnlyHint: false;
1118
- destructiveHint: true;
1119
- idempotentHint: false;
1120
- };
1121
- execute({ sections }: {
1122
- sections: {
1123
- id: string;
1124
- name: string;
1125
- }[];
1126
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1127
- textContent: string;
1128
- structuredContent: {
1129
- sections: {
1130
- id: string;
1131
- name: string;
1132
- }[];
1133
- totalCount: number;
1134
- updatedSectionIds: string[];
1135
- };
1136
- }>;
1137
- };
1138
- findSections: {
1139
- name: "find-sections";
1140
- description: string;
1141
- parameters: {
1142
- projectId: import('zod').ZodString;
1143
- searchText: import('zod').ZodOptional<import('zod').ZodString>;
1144
- };
1145
- outputSchema: {
1146
- sections: import('zod').ZodArray<import('zod').ZodObject<{
1147
- id: import('zod').ZodString;
1148
- name: import('zod').ZodString;
1149
- }, import('zod/v4/core').$strip>>;
1150
- totalCount: import('zod').ZodNumber;
1151
- appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
1152
- };
1153
- annotations: {
1154
- readOnlyHint: true;
1155
- destructiveHint: false;
1156
- idempotentHint: true;
1157
- };
1158
- execute(args: {
1159
- projectId: string;
1160
- searchText?: string | undefined;
1161
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1162
- textContent: string;
1163
- structuredContent: {
1164
- sections: {
1165
- id: string;
1166
- name: string;
1167
- }[];
1168
- totalCount: number;
1169
- appliedFilters: {
1170
- projectId: string;
1171
- searchText?: string | undefined;
1172
- };
1173
- };
1174
- }>;
1175
- };
1176
- addComments: {
1177
- name: "add-comments";
1178
- description: string;
1179
- parameters: {
1180
- comments: import('zod').ZodArray<import('zod').ZodObject<{
1181
- taskId: import('zod').ZodOptional<import('zod').ZodString>;
1182
- projectId: import('zod').ZodOptional<import('zod').ZodString>;
1183
- content: import('zod').ZodString;
1184
- }, import('zod/v4/core').$strip>>;
1185
- };
1186
- outputSchema: {
1187
- comments: import('zod').ZodArray<import('zod').ZodObject<{
1188
- id: import('zod').ZodString;
1189
- taskId: import('zod').ZodOptional<import('zod').ZodString>;
1190
- projectId: import('zod').ZodOptional<import('zod').ZodString>;
1191
- content: import('zod').ZodString;
1192
- postedAt: import('zod').ZodString;
1193
- postedUid: import('zod').ZodOptional<import('zod').ZodString>;
1194
- fileAttachment: import('zod').ZodOptional<import('zod').ZodObject<{
1195
- resourceType: import('zod').ZodString;
1196
- fileName: import('zod').ZodOptional<import('zod').ZodString>;
1197
- fileSize: import('zod').ZodOptional<import('zod').ZodNumber>;
1198
- fileType: import('zod').ZodOptional<import('zod').ZodString>;
1199
- fileUrl: import('zod').ZodOptional<import('zod').ZodString>;
1200
- fileDuration: import('zod').ZodOptional<import('zod').ZodNumber>;
1201
- uploadState: import('zod').ZodOptional<import('zod').ZodEnum<{
1202
- completed: "completed";
1203
- pending: "pending";
1204
- }>>;
1205
- url: import('zod').ZodOptional<import('zod').ZodString>;
1206
- title: import('zod').ZodOptional<import('zod').ZodString>;
1207
- image: import('zod').ZodOptional<import('zod').ZodString>;
1208
- imageWidth: import('zod').ZodOptional<import('zod').ZodNumber>;
1209
- imageHeight: import('zod').ZodOptional<import('zod').ZodNumber>;
1210
- }, import('zod/v4/core').$strip>>;
1211
- }, import('zod/v4/core').$strip>>;
1212
- totalCount: import('zod').ZodNumber;
1213
- addedCommentIds: import('zod').ZodArray<import('zod').ZodString>;
1214
- };
1215
- annotations: {
1216
- readOnlyHint: false;
1217
- destructiveHint: false;
1218
- idempotentHint: false;
1219
- };
1220
- execute(args: {
1221
- comments: {
1222
- content: string;
1223
- taskId?: string | undefined;
1224
- projectId?: string | undefined;
1225
- }[];
1226
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1227
- textContent: string;
1228
- structuredContent: {
1229
- comments: {
1230
- id: string;
1231
- taskId: string | undefined;
1232
- projectId: string | undefined;
1233
- content: string;
1234
- postedAt: string;
1235
- postedUid: string;
1236
- fileAttachment: {
1237
- resourceType: string;
1238
- fileName: string | undefined;
1239
- fileSize: number | undefined;
1240
- fileType: string | undefined;
1241
- fileUrl: string | undefined;
1242
- fileDuration: number | undefined;
1243
- uploadState: "completed" | "pending" | undefined;
1244
- url: string | undefined;
1245
- title: string | undefined;
1246
- image: string | undefined;
1247
- imageWidth: number | undefined;
1248
- imageHeight: number | undefined;
1249
- } | undefined;
1250
- }[];
1251
- totalCount: number;
1252
- addedCommentIds: string[];
1253
- };
1254
- }>;
1255
- };
1256
- updateComments: {
1257
- name: "update-comments";
1258
- description: string;
1259
- parameters: {
1260
- comments: import('zod').ZodArray<import('zod').ZodObject<{
1261
- id: import('zod').ZodString;
1262
- content: import('zod').ZodString;
1263
- }, import('zod/v4/core').$strip>>;
1264
- };
1265
- outputSchema: {
1266
- comments: import('zod').ZodArray<import('zod').ZodObject<{
1267
- id: import('zod').ZodString;
1268
- taskId: import('zod').ZodOptional<import('zod').ZodString>;
1269
- projectId: import('zod').ZodOptional<import('zod').ZodString>;
1270
- content: import('zod').ZodString;
1271
- postedAt: import('zod').ZodString;
1272
- postedUid: import('zod').ZodOptional<import('zod').ZodString>;
1273
- fileAttachment: import('zod').ZodOptional<import('zod').ZodObject<{
1274
- resourceType: import('zod').ZodString;
1275
- fileName: import('zod').ZodOptional<import('zod').ZodString>;
1276
- fileSize: import('zod').ZodOptional<import('zod').ZodNumber>;
1277
- fileType: import('zod').ZodOptional<import('zod').ZodString>;
1278
- fileUrl: import('zod').ZodOptional<import('zod').ZodString>;
1279
- fileDuration: import('zod').ZodOptional<import('zod').ZodNumber>;
1280
- uploadState: import('zod').ZodOptional<import('zod').ZodEnum<{
1281
- completed: "completed";
1282
- pending: "pending";
1283
- }>>;
1284
- url: import('zod').ZodOptional<import('zod').ZodString>;
1285
- title: import('zod').ZodOptional<import('zod').ZodString>;
1286
- image: import('zod').ZodOptional<import('zod').ZodString>;
1287
- imageWidth: import('zod').ZodOptional<import('zod').ZodNumber>;
1288
- imageHeight: import('zod').ZodOptional<import('zod').ZodNumber>;
1289
- }, import('zod/v4/core').$strip>>;
1290
- }, import('zod/v4/core').$strip>>;
1291
- totalCount: import('zod').ZodNumber;
1292
- updatedCommentIds: import('zod').ZodArray<import('zod').ZodString>;
1293
- appliedOperations: import('zod').ZodObject<{
1294
- updateCount: import('zod').ZodNumber;
1295
- }, import('zod/v4/core').$strip>;
1296
- };
1297
- annotations: {
1298
- readOnlyHint: false;
1299
- destructiveHint: true;
1300
- idempotentHint: false;
1301
- };
1302
- execute(args: {
1303
- comments: {
1304
- id: string;
1305
- content: string;
1306
- }[];
1307
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1308
- textContent: string;
1309
- structuredContent: {
1310
- comments: {
1311
- id: string;
1312
- taskId: string | undefined;
1313
- projectId: string | undefined;
1314
- content: string;
1315
- postedAt: string;
1316
- postedUid: string;
1317
- fileAttachment: {
1318
- resourceType: string;
1319
- fileName: string | undefined;
1320
- fileSize: number | undefined;
1321
- fileType: string | undefined;
1322
- fileUrl: string | undefined;
1323
- fileDuration: number | undefined;
1324
- uploadState: "completed" | "pending" | undefined;
1325
- url: string | undefined;
1326
- title: string | undefined;
1327
- image: string | undefined;
1328
- imageWidth: number | undefined;
1329
- imageHeight: number | undefined;
1330
- } | undefined;
1331
- }[];
1332
- totalCount: number;
1333
- updatedCommentIds: string[];
1334
- appliedOperations: {
1335
- updateCount: number;
1336
- };
1337
- };
1338
- }>;
1339
- };
1340
- findComments: {
1341
- name: "find-comments";
1342
- description: string;
1343
- parameters: {
1344
- taskId: import('zod').ZodOptional<import('zod').ZodString>;
1345
- projectId: import('zod').ZodOptional<import('zod').ZodString>;
1346
- commentId: import('zod').ZodOptional<import('zod').ZodString>;
1347
- cursor: import('zod').ZodOptional<import('zod').ZodString>;
1348
- limit: import('zod').ZodOptional<import('zod').ZodNumber>;
1349
- };
1350
- outputSchema: {
1351
- comments: import('zod').ZodArray<import('zod').ZodObject<{
1352
- id: import('zod').ZodString;
1353
- taskId: import('zod').ZodOptional<import('zod').ZodString>;
1354
- projectId: import('zod').ZodOptional<import('zod').ZodString>;
1355
- content: import('zod').ZodString;
1356
- postedAt: import('zod').ZodString;
1357
- postedUid: import('zod').ZodOptional<import('zod').ZodString>;
1358
- fileAttachment: import('zod').ZodOptional<import('zod').ZodObject<{
1359
- resourceType: import('zod').ZodString;
1360
- fileName: import('zod').ZodOptional<import('zod').ZodString>;
1361
- fileSize: import('zod').ZodOptional<import('zod').ZodNumber>;
1362
- fileType: import('zod').ZodOptional<import('zod').ZodString>;
1363
- fileUrl: import('zod').ZodOptional<import('zod').ZodString>;
1364
- fileDuration: import('zod').ZodOptional<import('zod').ZodNumber>;
1365
- uploadState: import('zod').ZodOptional<import('zod').ZodEnum<{
1366
- completed: "completed";
1367
- pending: "pending";
1368
- }>>;
1369
- url: import('zod').ZodOptional<import('zod').ZodString>;
1370
- title: import('zod').ZodOptional<import('zod').ZodString>;
1371
- image: import('zod').ZodOptional<import('zod').ZodString>;
1372
- imageWidth: import('zod').ZodOptional<import('zod').ZodNumber>;
1373
- imageHeight: import('zod').ZodOptional<import('zod').ZodNumber>;
1374
- }, import('zod/v4/core').$strip>>;
1375
- }, import('zod/v4/core').$strip>>;
1376
- searchType: import('zod').ZodString;
1377
- searchId: import('zod').ZodString;
1378
- hasMore: import('zod').ZodBoolean;
1379
- nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
1380
- totalCount: import('zod').ZodNumber;
1381
- };
1382
- annotations: {
1383
- readOnlyHint: true;
1384
- destructiveHint: false;
1385
- idempotentHint: true;
1386
- };
1387
- execute(args: {
1388
- taskId?: string | undefined;
1389
- projectId?: string | undefined;
1390
- commentId?: string | undefined;
1391
- cursor?: string | undefined;
1392
- limit?: number | undefined;
1393
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1394
- textContent: string;
1395
- structuredContent: {
1396
- comments: {
1397
- id: string;
1398
- taskId: string | undefined;
1399
- projectId: string | undefined;
1400
- content: string;
1401
- postedAt: string;
1402
- postedUid: string;
1403
- fileAttachment: {
1404
- resourceType: string;
1405
- fileName: string | undefined;
1406
- fileSize: number | undefined;
1407
- fileType: string | undefined;
1408
- fileUrl: string | undefined;
1409
- fileDuration: number | undefined;
1410
- uploadState: "completed" | "pending" | undefined;
1411
- url: string | undefined;
1412
- title: string | undefined;
1413
- image: string | undefined;
1414
- imageWidth: number | undefined;
1415
- imageHeight: number | undefined;
1416
- } | undefined;
1417
- }[];
1418
- searchType: string;
1419
- searchId: string;
1420
- hasMore: boolean;
1421
- nextCursor: string | undefined;
1422
- totalCount: number;
1423
- };
1424
- }>;
1425
- };
1426
- viewAttachment: {
1427
- name: "view-attachment";
1428
- description: string;
1429
- parameters: {
1430
- fileUrl: import('zod').ZodURL;
1431
- };
1432
- annotations: {
1433
- readOnlyHint: true;
1434
- destructiveHint: false;
1435
- idempotentHint: true;
1436
- };
1437
- execute({ fileUrl }: {
1438
- fileUrl: string;
1439
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1440
- textContent: string;
1441
- contentItems?: undefined;
1442
- } | {
1443
- textContent: string;
1444
- contentItems: import('@modelcontextprotocol/sdk/types.js').ContentBlock[];
1445
- }>;
1446
- };
1447
- addLabels: {
1448
- name: "add-labels";
1449
- description: string;
1450
- parameters: {
1451
- labels: import('zod').ZodArray<import('zod').ZodObject<{
1452
- name: import('zod').ZodString;
1453
- color: import('zod').ZodPipe<import('zod').ZodTransform<string | undefined, unknown>, import('zod').ZodOptional<import('zod').ZodEnum<{
1454
- berry_red: "berry_red";
1455
- red: "red";
1456
- orange: "orange";
1457
- yellow: "yellow";
1458
- olive_green: "olive_green";
1459
- lime_green: "lime_green";
1460
- green: "green";
1461
- mint_green: "mint_green";
1462
- teal: "teal";
1463
- sky_blue: "sky_blue";
1464
- light_blue: "light_blue";
1465
- blue: "blue";
1466
- grape: "grape";
1467
- violet: "violet";
1468
- lavender: "lavender";
1469
- magenta: "magenta";
1470
- salmon: "salmon";
1471
- charcoal: "charcoal";
1472
- grey: "grey";
1473
- taupe: "taupe";
1474
- }>>>;
1475
- order: import('zod').ZodOptional<import('zod').ZodNumber>;
1476
- isFavorite: import('zod').ZodOptional<import('zod').ZodBoolean>;
1477
- }, import('zod/v4/core').$strip>>;
1478
- };
1479
- outputSchema: {
1480
- labels: import('zod').ZodArray<import('zod').ZodObject<{
1481
- id: import('zod').ZodString;
1482
- name: import('zod').ZodString;
1483
- color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
1484
- berry_red: "berry_red";
1485
- red: "red";
1486
- orange: "orange";
1487
- yellow: "yellow";
1488
- olive_green: "olive_green";
1489
- lime_green: "lime_green";
1490
- green: "green";
1491
- mint_green: "mint_green";
1492
- teal: "teal";
1493
- sky_blue: "sky_blue";
1494
- light_blue: "light_blue";
1495
- blue: "blue";
1496
- grape: "grape";
1497
- violet: "violet";
1498
- lavender: "lavender";
1499
- magenta: "magenta";
1500
- salmon: "salmon";
1501
- charcoal: "charcoal";
1502
- grey: "grey";
1503
- taupe: "taupe";
1504
- }>>>;
1505
- order: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodNumber>>;
1506
- isFavorite: import('zod').ZodBoolean;
1507
- }, import('zod/v4/core').$strip>>;
1508
- totalCount: import('zod').ZodNumber;
1509
- };
1510
- annotations: {
1511
- readOnlyHint: false;
1512
- destructiveHint: false;
1513
- idempotentHint: false;
1514
- };
1515
- execute({ labels }: {
1516
- labels: {
1517
- name: string;
1518
- color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
1519
- order?: number | undefined;
1520
- isFavorite?: boolean | undefined;
1521
- }[];
1522
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1523
- textContent: string;
1524
- structuredContent: {
1525
- labels: {
1526
- id: string;
1527
- name: string;
1528
- isFavorite: boolean;
1529
- color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
1530
- order?: number | undefined;
1531
- }[];
1532
- totalCount: number;
1533
- };
1534
- }>;
1535
- };
1536
- updateLabels: {
1537
- name: "update-labels";
1538
- description: string;
1539
- parameters: {
1540
- labels: import('zod').ZodArray<import('zod').ZodDiscriminatedUnion<[import('zod').ZodObject<{
1541
- labelType: import('zod').ZodLiteral<"personal">;
1542
- id: import('zod').ZodString;
1543
- name: import('zod').ZodOptional<import('zod').ZodString>;
1544
- color: import('zod').ZodPipe<import('zod').ZodTransform<string | undefined, unknown>, import('zod').ZodOptional<import('zod').ZodEnum<{
1545
- berry_red: "berry_red";
1546
- red: "red";
1547
- orange: "orange";
1548
- yellow: "yellow";
1549
- olive_green: "olive_green";
1550
- lime_green: "lime_green";
1551
- green: "green";
1552
- mint_green: "mint_green";
1553
- teal: "teal";
1554
- sky_blue: "sky_blue";
1555
- light_blue: "light_blue";
1556
- blue: "blue";
1557
- grape: "grape";
1558
- violet: "violet";
1559
- lavender: "lavender";
1560
- magenta: "magenta";
1561
- salmon: "salmon";
1562
- charcoal: "charcoal";
1563
- grey: "grey";
1564
- taupe: "taupe";
1565
- }>>>;
1566
- order: import('zod').ZodOptional<import('zod').ZodNumber>;
1567
- isFavorite: import('zod').ZodOptional<import('zod').ZodBoolean>;
1568
- }, import('zod/v4/core').$strip>, import('zod').ZodObject<{
1569
- labelType: import('zod').ZodLiteral<"shared">;
1570
- name: import('zod').ZodString;
1571
- newName: import('zod').ZodString;
1572
- }, import('zod/v4/core').$strip>], "labelType">>;
1573
- };
1574
- outputSchema: {
1575
- updatedLabels: import('zod').ZodArray<import('zod').ZodObject<{
1576
- id: import('zod').ZodString;
1577
- name: import('zod').ZodString;
1578
- color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
1579
- berry_red: "berry_red";
1580
- red: "red";
1581
- orange: "orange";
1582
- yellow: "yellow";
1583
- olive_green: "olive_green";
1584
- lime_green: "lime_green";
1585
- green: "green";
1586
- mint_green: "mint_green";
1587
- teal: "teal";
1588
- sky_blue: "sky_blue";
1589
- light_blue: "light_blue";
1590
- blue: "blue";
1591
- grape: "grape";
1592
- violet: "violet";
1593
- lavender: "lavender";
1594
- magenta: "magenta";
1595
- salmon: "salmon";
1596
- charcoal: "charcoal";
1597
- grey: "grey";
1598
- taupe: "taupe";
1599
- }>>>;
1600
- order: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodNumber>>;
1601
- isFavorite: import('zod').ZodBoolean;
1602
- }, import('zod/v4/core').$strip>>;
1603
- renamedSharedLabels: import('zod').ZodArray<import('zod').ZodObject<{
1604
- name: import('zod').ZodString;
1605
- newName: import('zod').ZodString;
1606
- }, import('zod/v4/core').$strip>>;
1607
- totalCount: import('zod').ZodNumber;
1608
- appliedOperations: import('zod').ZodObject<{
1609
- updateCount: import('zod').ZodNumber;
1610
- renameCount: import('zod').ZodNumber;
1611
- skippedCount: import('zod').ZodNumber;
1612
- }, import('zod/v4/core').$strip>;
1613
- };
1614
- annotations: {
1615
- readOnlyHint: false;
1616
- destructiveHint: true;
1617
- idempotentHint: false;
1618
- };
1619
- execute(args: {
1620
- labels: ({
1621
- labelType: "personal";
1622
- id: string;
1623
- name?: string | undefined;
1624
- color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
1625
- order?: number | undefined;
1626
- isFavorite?: boolean | undefined;
1627
- } | {
1628
- labelType: "shared";
1629
- name: string;
1630
- newName: string;
1631
- })[];
1632
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1633
- textContent: string;
1634
- structuredContent: {
1635
- updatedLabels: {
1636
- id: string;
1637
- name: string;
1638
- isFavorite: boolean;
1639
- color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
1640
- order?: number | undefined;
1641
- }[];
1642
- renamedSharedLabels: {
1643
- name: string;
1644
- newName: string;
1645
- }[];
1646
- totalCount: number;
1647
- appliedOperations: {
1648
- updateCount: number;
1649
- renameCount: number;
1650
- skippedCount: number;
1651
- };
1652
- };
1653
- }>;
1654
- };
1655
- findLabels: {
1656
- name: "find-labels";
1657
- description: string;
1658
- parameters: {
1659
- searchText: import('zod').ZodOptional<import('zod').ZodString>;
1660
- limit: import('zod').ZodDefault<import('zod').ZodNumber>;
1661
- cursor: import('zod').ZodOptional<import('zod').ZodString>;
1662
- };
1663
- outputSchema: {
1664
- labels: import('zod').ZodArray<import('zod').ZodObject<{
1665
- id: import('zod').ZodString;
1666
- name: import('zod').ZodString;
1667
- color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
1668
- berry_red: "berry_red";
1669
- red: "red";
1670
- orange: "orange";
1671
- yellow: "yellow";
1672
- olive_green: "olive_green";
1673
- lime_green: "lime_green";
1674
- green: "green";
1675
- mint_green: "mint_green";
1676
- teal: "teal";
1677
- sky_blue: "sky_blue";
1678
- light_blue: "light_blue";
1679
- blue: "blue";
1680
- grape: "grape";
1681
- violet: "violet";
1682
- lavender: "lavender";
1683
- magenta: "magenta";
1684
- salmon: "salmon";
1685
- charcoal: "charcoal";
1686
- grey: "grey";
1687
- taupe: "taupe";
1688
- }>>>;
1689
- order: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodNumber>>;
1690
- isFavorite: import('zod').ZodBoolean;
1691
- }, import('zod/v4/core').$strip>>;
1692
- nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
1693
- totalCount: import('zod').ZodNumber;
1694
- hasMore: import('zod').ZodBoolean;
1695
- sharedLabels: import('zod').ZodArray<import('zod').ZodString>;
1696
- appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
1697
- };
1698
- annotations: {
1699
- readOnlyHint: true;
1700
- destructiveHint: false;
1701
- idempotentHint: true;
1702
- };
1703
- execute(args: {
1704
- limit: number;
1705
- searchText?: string | undefined;
1706
- cursor?: string | undefined;
1707
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1708
- textContent: string;
1709
- structuredContent: {
1710
- labels: {
1711
- id: string;
1712
- name: string;
1713
- isFavorite: boolean;
1714
- color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
1715
- order?: number | undefined;
1716
- }[];
1717
- nextCursor: string | undefined;
1718
- totalCount: number;
1719
- hasMore: boolean;
1720
- sharedLabels: string[];
1721
- appliedFilters: {
1722
- searchText: string;
1723
- limit?: undefined;
1724
- cursor?: undefined;
1725
- } | {
1726
- limit: number;
1727
- cursor: string | undefined;
1728
- searchText?: undefined;
1729
- };
1730
- };
1731
- }>;
1732
- };
1733
- findFilters: {
1734
- name: "find-filters";
1735
- description: string;
1736
- parameters: {
1737
- search: import('zod').ZodOptional<import('zod').ZodString>;
1738
- };
1739
- outputSchema: {
1740
- filters: import('zod').ZodArray<import('zod').ZodObject<{
1741
- id: import('zod').ZodString;
1742
- name: import('zod').ZodString;
1743
- query: import('zod').ZodString;
1744
- color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
1745
- berry_red: "berry_red";
1746
- red: "red";
1747
- orange: "orange";
1748
- yellow: "yellow";
1749
- olive_green: "olive_green";
1750
- lime_green: "lime_green";
1751
- green: "green";
1752
- mint_green: "mint_green";
1753
- teal: "teal";
1754
- sky_blue: "sky_blue";
1755
- light_blue: "light_blue";
1756
- blue: "blue";
1757
- grape: "grape";
1758
- violet: "violet";
1759
- lavender: "lavender";
1760
- magenta: "magenta";
1761
- salmon: "salmon";
1762
- charcoal: "charcoal";
1763
- grey: "grey";
1764
- taupe: "taupe";
1765
- }>>>;
1766
- isFavorite: import('zod').ZodBoolean;
1767
- itemOrder: import('zod').ZodNumber;
1768
- }, import('zod/v4/core').$strip>>;
1769
- totalCount: import('zod').ZodNumber;
1770
- };
1771
- annotations: {
1772
- readOnlyHint: true;
1773
- destructiveHint: false;
1774
- idempotentHint: true;
1775
- };
1776
- execute(args: {
1777
- search?: string | undefined;
1778
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1779
- textContent: string;
1780
- structuredContent: {
1781
- filters: {
1782
- id: string;
1783
- name: string;
1784
- query: string;
1785
- color: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
1786
- isFavorite: boolean;
1787
- itemOrder: number;
1788
- }[];
1789
- totalCount: number;
1790
- };
1791
- }>;
1792
- };
1793
- addFilters: {
1794
- name: "add-filters";
1795
- description: string;
1796
- parameters: {
1797
- filters: import('zod').ZodArray<import('zod').ZodObject<{
1798
- name: import('zod').ZodString;
1799
- query: import('zod').ZodString;
1800
- color: import('zod').ZodPipe<import('zod').ZodTransform<string | undefined, unknown>, import('zod').ZodOptional<import('zod').ZodEnum<{
1801
- berry_red: "berry_red";
1802
- red: "red";
1803
- orange: "orange";
1804
- yellow: "yellow";
1805
- olive_green: "olive_green";
1806
- lime_green: "lime_green";
1807
- green: "green";
1808
- mint_green: "mint_green";
1809
- teal: "teal";
1810
- sky_blue: "sky_blue";
1811
- light_blue: "light_blue";
1812
- blue: "blue";
1813
- grape: "grape";
1814
- violet: "violet";
1815
- lavender: "lavender";
1816
- magenta: "magenta";
1817
- salmon: "salmon";
1818
- charcoal: "charcoal";
1819
- grey: "grey";
1820
- taupe: "taupe";
1821
- }>>>;
1822
- isFavorite: import('zod').ZodOptional<import('zod').ZodBoolean>;
1823
- }, import('zod/v4/core').$strip>>;
1824
- };
1825
- outputSchema: {
1826
- filters: import('zod').ZodArray<import('zod').ZodObject<{
1827
- id: import('zod').ZodString;
1828
- name: import('zod').ZodString;
1829
- query: import('zod').ZodString;
1830
- color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
1831
- berry_red: "berry_red";
1832
- red: "red";
1833
- orange: "orange";
1834
- yellow: "yellow";
1835
- olive_green: "olive_green";
1836
- lime_green: "lime_green";
1837
- green: "green";
1838
- mint_green: "mint_green";
1839
- teal: "teal";
1840
- sky_blue: "sky_blue";
1841
- light_blue: "light_blue";
1842
- blue: "blue";
1843
- grape: "grape";
1844
- violet: "violet";
1845
- lavender: "lavender";
1846
- magenta: "magenta";
1847
- salmon: "salmon";
1848
- charcoal: "charcoal";
1849
- grey: "grey";
1850
- taupe: "taupe";
1851
- }>>>;
1852
- isFavorite: import('zod').ZodBoolean;
1853
- itemOrder: import('zod').ZodNumber;
1854
- }, import('zod/v4/core').$strip>>;
1855
- totalCount: import('zod').ZodNumber;
1856
- };
1857
- annotations: {
1858
- readOnlyHint: false;
1859
- destructiveHint: false;
1860
- idempotentHint: false;
1861
- };
1862
- execute({ filters }: {
1863
- filters: {
1864
- name: string;
1865
- query: string;
1866
- color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
1867
- isFavorite?: boolean | undefined;
1868
- }[];
1869
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1870
- textContent: string;
1871
- structuredContent: {
1872
- filters: {
1873
- id: string;
1874
- name: string;
1875
- query: string;
1876
- color: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
1877
- isFavorite: boolean;
1878
- itemOrder: number;
1879
- }[];
1880
- totalCount: number;
1881
- };
1882
- }>;
1883
- };
1884
- updateFilters: {
1885
- name: "update-filters";
1886
- description: string;
1887
- parameters: {
1888
- filters: import('zod').ZodArray<import('zod').ZodObject<{
1889
- id: import('zod').ZodString;
1890
- name: import('zod').ZodOptional<import('zod').ZodString>;
1891
- query: import('zod').ZodOptional<import('zod').ZodString>;
1892
- color: import('zod').ZodPipe<import('zod').ZodTransform<string | undefined, unknown>, import('zod').ZodOptional<import('zod').ZodEnum<{
1893
- berry_red: "berry_red";
1894
- red: "red";
1895
- orange: "orange";
1896
- yellow: "yellow";
1897
- olive_green: "olive_green";
1898
- lime_green: "lime_green";
1899
- green: "green";
1900
- mint_green: "mint_green";
1901
- teal: "teal";
1902
- sky_blue: "sky_blue";
1903
- light_blue: "light_blue";
1904
- blue: "blue";
1905
- grape: "grape";
1906
- violet: "violet";
1907
- lavender: "lavender";
1908
- magenta: "magenta";
1909
- salmon: "salmon";
1910
- charcoal: "charcoal";
1911
- grey: "grey";
1912
- taupe: "taupe";
1913
- }>>>;
1914
- isFavorite: import('zod').ZodOptional<import('zod').ZodBoolean>;
1915
- }, import('zod/v4/core').$strip>>;
1916
- };
1917
- outputSchema: {
1918
- filters: import('zod').ZodArray<import('zod').ZodObject<{
1919
- id: import('zod').ZodString;
1920
- name: import('zod').ZodString;
1921
- query: import('zod').ZodString;
1922
- color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
1923
- berry_red: "berry_red";
1924
- red: "red";
1925
- orange: "orange";
1926
- yellow: "yellow";
1927
- olive_green: "olive_green";
1928
- lime_green: "lime_green";
1929
- green: "green";
1930
- mint_green: "mint_green";
1931
- teal: "teal";
1932
- sky_blue: "sky_blue";
1933
- light_blue: "light_blue";
1934
- blue: "blue";
1935
- grape: "grape";
1936
- violet: "violet";
1937
- lavender: "lavender";
1938
- magenta: "magenta";
1939
- salmon: "salmon";
1940
- charcoal: "charcoal";
1941
- grey: "grey";
1942
- taupe: "taupe";
1943
- }>>>;
1944
- isFavorite: import('zod').ZodBoolean;
1945
- itemOrder: import('zod').ZodNumber;
1946
- }, import('zod/v4/core').$strip>>;
1947
- totalCount: import('zod').ZodNumber;
1948
- updatedFilterIds: import('zod').ZodArray<import('zod').ZodString>;
1949
- appliedOperations: import('zod').ZodObject<{
1950
- updateCount: import('zod').ZodNumber;
1951
- skippedCount: import('zod').ZodNumber;
1952
- }, import('zod/v4/core').$strip>;
1953
- };
1954
- annotations: {
1955
- readOnlyHint: false;
1956
- destructiveHint: true;
1957
- idempotentHint: false;
1958
- };
1959
- execute(args: {
1960
- filters: {
1961
- id: string;
1962
- name?: string | undefined;
1963
- query?: string | undefined;
1964
- color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
1965
- isFavorite?: boolean | undefined;
1966
- }[];
1967
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1968
- textContent: string;
1969
- structuredContent: {
1970
- filters: {
1971
- id: string;
1972
- name: string;
1973
- query: string;
1974
- color: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
1975
- isFavorite: boolean;
1976
- itemOrder: number;
1977
- }[];
1978
- totalCount: number;
1979
- updatedFilterIds: string[];
1980
- appliedOperations: {
1981
- updateCount: number;
1982
- skippedCount: number;
1983
- };
1984
- };
1985
- }>;
1986
- };
1987
- findActivity: {
1988
- name: "find-activity";
1989
- description: string;
1990
- parameters: {
1991
- objectType: import('zod').ZodOptional<import('zod').ZodEnum<{
1992
- comment: "comment";
1993
- task: "task";
1994
- project: "project";
1995
- }>>;
1996
- objectId: import('zod').ZodOptional<import('zod').ZodString>;
1997
- eventType: import('zod').ZodOptional<import('zod').ZodEnum<{
1998
- completed: "completed";
1999
- added: "added";
2000
- updated: "updated";
2001
- deleted: "deleted";
2002
- uncompleted: "uncompleted";
2003
- archived: "archived";
2004
- unarchived: "unarchived";
2005
- shared: "shared";
2006
- left: "left";
2007
- }>>;
2008
- projectId: import('zod').ZodOptional<import('zod').ZodString>;
2009
- taskId: import('zod').ZodOptional<import('zod').ZodString>;
2010
- initiatorId: import('zod').ZodOptional<import('zod').ZodString>;
2011
- limit: import('zod').ZodDefault<import('zod').ZodNumber>;
2012
- cursor: import('zod').ZodOptional<import('zod').ZodString>;
2013
- };
2014
- outputSchema: {
2015
- events: import('zod').ZodArray<import('zod').ZodObject<{
2016
- id: import('zod').ZodOptional<import('zod').ZodString>;
2017
- objectType: import('zod').ZodString;
2018
- objectId: import('zod').ZodString;
2019
- eventType: import('zod').ZodString;
2020
- eventDate: import('zod').ZodString;
2021
- parentProjectId: import('zod').ZodOptional<import('zod').ZodString>;
2022
- parentItemId: import('zod').ZodOptional<import('zod').ZodString>;
2023
- initiatorId: import('zod').ZodOptional<import('zod').ZodString>;
2024
- extraData: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
2025
- }, import('zod/v4/core').$strip>>;
2026
- nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
2027
- totalCount: import('zod').ZodNumber;
2028
- hasMore: import('zod').ZodBoolean;
2029
- appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
2030
- };
2031
- annotations: {
2032
- readOnlyHint: true;
2033
- destructiveHint: false;
2034
- idempotentHint: true;
2035
- };
2036
- execute(args: {
2037
- limit: number;
2038
- objectType?: "comment" | "task" | "project" | undefined;
2039
- objectId?: string | undefined;
2040
- eventType?: "completed" | "added" | "updated" | "deleted" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
2041
- projectId?: string | undefined;
2042
- taskId?: string | undefined;
2043
- initiatorId?: string | undefined;
2044
- cursor?: string | undefined;
2045
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2046
- textContent: string;
2047
- structuredContent: {
2048
- events: {
2049
- id: string | undefined;
2050
- objectType: string;
2051
- objectId: string;
2052
- eventType: string;
2053
- eventDate: string;
2054
- parentProjectId: string | undefined;
2055
- parentItemId: string | undefined;
2056
- initiatorId: string | undefined;
2057
- extraData: Record<string, any> | undefined;
2058
- }[];
2059
- nextCursor: string | undefined;
2060
- totalCount: number;
2061
- hasMore: boolean;
2062
- appliedFilters: {
2063
- limit: number;
2064
- objectType?: "comment" | "task" | "project" | undefined;
2065
- objectId?: string | undefined;
2066
- eventType?: "completed" | "added" | "updated" | "deleted" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
2067
- projectId?: string | undefined;
2068
- taskId?: string | undefined;
2069
- initiatorId?: string | undefined;
2070
- cursor?: string | undefined;
2071
- };
2072
- };
2073
- }>;
2074
- };
2075
- getProductivityStats: {
2076
- name: "get-productivity-stats";
2077
- description: string;
2078
- parameters: {};
2079
- outputSchema: {
2080
- completedCount: import('zod').ZodNumber;
2081
- daysItems: import('zod').ZodArray<import('zod').ZodObject<{
2082
- date: import('zod').ZodString;
2083
- totalCompleted: import('zod').ZodNumber;
2084
- items: import('zod').ZodArray<import('zod').ZodObject<{
2085
- id: import('zod').ZodString;
2086
- completed: import('zod').ZodNumber;
2087
- }, import('zod/v4/core').$strip>>;
2088
- }, import('zod/v4/core').$strip>>;
2089
- weekItems: import('zod').ZodArray<import('zod').ZodObject<{
2090
- from: import('zod').ZodString;
2091
- to: import('zod').ZodString;
2092
- totalCompleted: import('zod').ZodNumber;
2093
- items: import('zod').ZodArray<import('zod').ZodObject<{
2094
- id: import('zod').ZodString;
2095
- completed: import('zod').ZodNumber;
2096
- }, import('zod/v4/core').$strip>>;
2097
- }, import('zod/v4/core').$strip>>;
2098
- goals: import('zod').ZodObject<{
2099
- dailyGoal: import('zod').ZodNumber;
2100
- weeklyGoal: import('zod').ZodNumber;
2101
- currentDailyStreak: import('zod').ZodObject<{
2102
- count: import('zod').ZodNumber;
2103
- start: import('zod').ZodString;
2104
- end: import('zod').ZodString;
2105
- }, import('zod/v4/core').$strip>;
2106
- currentWeeklyStreak: import('zod').ZodObject<{
2107
- count: import('zod').ZodNumber;
2108
- start: import('zod').ZodString;
2109
- end: import('zod').ZodString;
2110
- }, import('zod/v4/core').$strip>;
2111
- lastDailyStreak: import('zod').ZodObject<{
2112
- count: import('zod').ZodNumber;
2113
- start: import('zod').ZodString;
2114
- end: import('zod').ZodString;
2115
- }, import('zod/v4/core').$strip>;
2116
- lastWeeklyStreak: import('zod').ZodObject<{
2117
- count: import('zod').ZodNumber;
2118
- start: import('zod').ZodString;
2119
- end: import('zod').ZodString;
2120
- }, import('zod/v4/core').$strip>;
2121
- maxDailyStreak: import('zod').ZodObject<{
2122
- count: import('zod').ZodNumber;
2123
- start: import('zod').ZodString;
2124
- end: import('zod').ZodString;
2125
- }, import('zod/v4/core').$strip>;
2126
- maxWeeklyStreak: import('zod').ZodObject<{
2127
- count: import('zod').ZodNumber;
2128
- start: import('zod').ZodString;
2129
- end: import('zod').ZodString;
2130
- }, import('zod/v4/core').$strip>;
2131
- vacationMode: import('zod').ZodBoolean;
2132
- karmaDisabled: import('zod').ZodBoolean;
2133
- }, import('zod/v4/core').$strip>;
2134
- karma: import('zod').ZodNumber;
2135
- karmaTrend: import('zod').ZodString;
2136
- karmaLastUpdate: import('zod').ZodNumber;
2137
- karmaGraphData: import('zod').ZodArray<import('zod').ZodObject<{
2138
- date: import('zod').ZodString;
2139
- karmaAvg: import('zod').ZodNumber;
2140
- }, import('zod/v4/core').$strip>>;
2141
- karmaUpdateReasons: import('zod').ZodArray<import('zod').ZodObject<{
2142
- time: import('zod').ZodString;
2143
- newKarma: import('zod').ZodNumber;
2144
- positiveKarma: import('zod').ZodNumber;
2145
- negativeKarma: import('zod').ZodNumber;
2146
- positiveKarmaReasons: import('zod').ZodArray<import('zod').ZodAny>;
2147
- negativeKarmaReasons: import('zod').ZodArray<import('zod').ZodAny>;
2148
- }, import('zod/v4/core').$strip>>;
2149
- projectColors: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodString>;
2150
- };
2151
- annotations: {
2152
- readOnlyHint: true;
2153
- destructiveHint: false;
2154
- idempotentHint: true;
2155
- };
2156
- execute(_args: Record<string, never>, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2157
- textContent: string;
2158
- structuredContent: {
2159
- completedCount: number;
2160
- daysItems: {
2161
- items: {
2162
- id: string;
2163
- completed: number;
2164
- }[];
2165
- totalCompleted: number;
2166
- date: string;
2167
- }[];
2168
- weekItems: {
2169
- items: {
2170
- id: string;
2171
- completed: number;
2172
- }[];
2173
- totalCompleted: number;
2174
- from: string;
2175
- to: string;
2176
- }[];
2177
- goals: {
2178
- dailyGoal: number;
2179
- weeklyGoal: number;
2180
- currentDailyStreak: {
2181
- count: number;
2182
- start: string;
2183
- end: string;
2184
- };
2185
- currentWeeklyStreak: {
2186
- count: number;
2187
- start: string;
2188
- end: string;
2189
- };
2190
- lastDailyStreak: {
2191
- count: number;
2192
- start: string;
2193
- end: string;
2194
- };
2195
- lastWeeklyStreak: {
2196
- count: number;
2197
- start: string;
2198
- end: string;
2199
- };
2200
- maxDailyStreak: {
2201
- count: number;
2202
- start: string;
2203
- end: string;
2204
- };
2205
- maxWeeklyStreak: {
2206
- count: number;
2207
- start: string;
2208
- end: string;
2209
- };
2210
- vacationMode: boolean;
2211
- karmaDisabled: boolean;
2212
- };
2213
- karma: number;
2214
- karmaTrend: string;
2215
- karmaLastUpdate: number;
2216
- karmaGraphData: {
2217
- date: string;
2218
- karmaAvg: number;
2219
- }[];
2220
- karmaUpdateReasons: {
2221
- time: string;
2222
- newKarma: number;
2223
- positiveKarma: number;
2224
- negativeKarma: number;
2225
- positiveKarmaReasons: any[];
2226
- negativeKarmaReasons: any[];
2227
- }[];
2228
- projectColors: Record<string, string>;
2229
- };
2230
- }>;
2231
- };
2232
- getProjectHealth: {
2233
- name: "get-project-health";
2234
- description: string;
2235
- parameters: {
2236
- projectId: import('zod').ZodString;
2237
- includeContext: import('zod').ZodDefault<import('zod').ZodBoolean>;
2238
- };
2239
- outputSchema: {
2240
- projectId: import('zod').ZodString;
2241
- projectName: import('zod').ZodString;
2242
- progress: import('zod').ZodObject<{
2243
- completedCount: import('zod').ZodNumber;
2244
- activeCount: import('zod').ZodNumber;
2245
- progressPercent: import('zod').ZodNumber;
2246
- }, import('zod/v4/core').$strip>;
2247
- health: import('zod').ZodObject<{
2248
- status: import('zod').ZodEnum<{
2249
- UNKNOWN: "UNKNOWN";
2250
- ON_TRACK: "ON_TRACK";
2251
- AT_RISK: "AT_RISK";
2252
- CRITICAL: "CRITICAL";
2253
- EXCELLENT: "EXCELLENT";
2254
- ERROR: "ERROR";
2255
- }>;
2256
- description: import('zod').ZodOptional<import('zod').ZodNullable<import('zod').ZodString>>;
2257
- descriptionSummary: import('zod').ZodOptional<import('zod').ZodNullable<import('zod').ZodString>>;
2258
- taskRecommendations: import('zod').ZodOptional<import('zod').ZodNullable<import('zod').ZodArray<import('zod').ZodObject<{
2259
- taskId: import('zod').ZodString;
2260
- recommendation: import('zod').ZodString;
2261
- }, import('zod/v4/core').$strip>>>>;
2262
- isStale: import('zod').ZodBoolean;
2263
- updateInProgress: import('zod').ZodBoolean;
2264
- updatedAt: import('zod').ZodOptional<import('zod').ZodNullable<import('zod').ZodString>>;
2265
- }, import('zod/v4/core').$strip>;
2266
- context: import('zod').ZodOptional<import('zod').ZodObject<{
2267
- projectDescription: import('zod').ZodNullable<import('zod').ZodString>;
2268
- projectMetrics: import('zod').ZodObject<{
2269
- totalTasks: import('zod').ZodNumber;
2270
- completedTasks: import('zod').ZodNumber;
2271
- overdueTasks: import('zod').ZodNumber;
2272
- tasksCreatedThisWeek: import('zod').ZodNumber;
2273
- tasksCompletedThisWeek: import('zod').ZodNumber;
2274
- averageCompletionTime: import('zod').ZodNullable<import('zod').ZodNumber>;
2275
- }, import('zod/v4/core').$strip>;
2276
- tasks: import('zod').ZodArray<import('zod').ZodObject<{
2277
- id: import('zod').ZodString;
2278
- content: import('zod').ZodString;
2279
- priority: import('zod').ZodString;
2280
- due: import('zod').ZodOptional<import('zod').ZodNullable<import('zod').ZodString>>;
2281
- deadline: import('zod').ZodOptional<import('zod').ZodNullable<import('zod').ZodString>>;
2282
- isCompleted: import('zod').ZodBoolean;
2283
- labels: import('zod').ZodArray<import('zod').ZodString>;
2284
- }, import('zod/v4/core').$strip>>;
2285
- }, import('zod/v4/core').$strip>>;
2286
- };
2287
- annotations: {
2288
- readOnlyHint: true;
2289
- destructiveHint: false;
2290
- idempotentHint: true;
2291
- };
2292
- execute(args: {
2293
- projectId: string;
2294
- includeContext: boolean;
2295
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2296
- textContent: string;
2297
- structuredContent: {
2298
- projectId: string;
2299
- projectName: string;
2300
- progress: {
2301
- completedCount: number;
2302
- activeCount: number;
2303
- progressPercent: number;
2304
- };
2305
- health: {
2306
- status: "UNKNOWN" | "ON_TRACK" | "AT_RISK" | "CRITICAL" | "EXCELLENT" | "ERROR";
2307
- description: string | null;
2308
- descriptionSummary: string | null;
2309
- taskRecommendations: {
2310
- taskId: string;
2311
- recommendation: string;
2312
- }[] | null;
2313
- isStale: boolean;
2314
- updateInProgress: boolean;
2315
- updatedAt: string | null;
2316
- };
2317
- context: {
2318
- projectDescription: string | null;
2319
- projectMetrics: {
2320
- totalTasks: number;
2321
- completedTasks: number;
2322
- overdueTasks: number;
2323
- tasksCreatedThisWeek: number;
2324
- tasksCompletedThisWeek: number;
2325
- averageCompletionTime: number | null;
2326
- };
2327
- tasks: {
2328
- id: string;
2329
- content: string;
2330
- priority: string;
2331
- due: string | null;
2332
- deadline: string | null;
2333
- isCompleted: boolean;
2334
- labels: string[];
2335
- }[];
2336
- } | undefined;
2337
- };
2338
- }>;
2339
- };
2340
- getProjectActivityStats: {
2341
- name: "get-project-activity-stats";
2342
- description: string;
2343
- parameters: {
2344
- projectId: import('zod').ZodString;
2345
- weeks: import('zod').ZodOptional<import('zod').ZodNumber>;
2346
- includeWeeklyCounts: import('zod').ZodOptional<import('zod').ZodBoolean>;
2347
- };
2348
- outputSchema: {
2349
- projectId: import('zod').ZodString;
2350
- dayItems: import('zod').ZodArray<import('zod').ZodObject<{
2351
- date: import('zod').ZodString;
2352
- totalCount: import('zod').ZodNumber;
2353
- }, import('zod/v4/core').$strip>>;
2354
- weekItems: import('zod').ZodNullable<import('zod').ZodArray<import('zod').ZodObject<{
2355
- fromDate: import('zod').ZodString;
2356
- toDate: import('zod').ZodString;
2357
- totalCount: import('zod').ZodNumber;
2358
- }, import('zod/v4/core').$strip>>>;
2359
- };
2360
- annotations: {
2361
- readOnlyHint: true;
2362
- destructiveHint: false;
2363
- idempotentHint: true;
2364
- };
2365
- execute(args: {
2366
- projectId: string;
2367
- weeks?: number | undefined;
2368
- includeWeeklyCounts?: boolean | undefined;
2369
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2370
- textContent: string;
2371
- structuredContent: {
2372
- projectId: string;
2373
- dayItems: {
2374
- date: string;
2375
- totalCount: number;
2376
- }[];
2377
- weekItems: {
2378
- fromDate: string;
2379
- toDate: string;
2380
- totalCount: number;
2381
- }[] | null;
2382
- };
2383
- }>;
2384
- };
2385
- analyzeProjectHealth: {
2386
- name: "analyze-project-health";
2387
- description: string;
2388
- parameters: {
2389
- projectId: import('zod').ZodString;
2390
- };
2391
- outputSchema: {
2392
- projectId: import('zod').ZodString;
2393
- health: import('zod').ZodObject<{
2394
- status: import('zod').ZodEnum<{
2395
- UNKNOWN: "UNKNOWN";
2396
- ON_TRACK: "ON_TRACK";
2397
- AT_RISK: "AT_RISK";
2398
- CRITICAL: "CRITICAL";
2399
- EXCELLENT: "EXCELLENT";
2400
- ERROR: "ERROR";
2401
- }>;
2402
- isStale: import('zod').ZodBoolean;
2403
- updateInProgress: import('zod').ZodBoolean;
2404
- }, import('zod/v4/core').$strip>;
2405
- message: import('zod').ZodString;
2406
- };
2407
- annotations: {
2408
- readOnlyHint: false;
2409
- destructiveHint: false;
2410
- idempotentHint: true;
2411
- };
2412
- execute(args: {
2413
- projectId: string;
2414
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2415
- textContent: string;
2416
- structuredContent: {
2417
- projectId: string;
2418
- health: {
2419
- status: "UNKNOWN" | "ON_TRACK" | "AT_RISK" | "CRITICAL" | "EXCELLENT" | "ERROR";
2420
- isStale: boolean;
2421
- updateInProgress: boolean;
2422
- };
2423
- message: string;
2424
- };
2425
- }>;
2426
- };
2427
- getWorkspaceInsights: {
2428
- name: "get-workspace-insights";
2429
- description: string;
2430
- parameters: {
2431
- workspaceIdOrName: import('zod').ZodString;
2432
- projectIds: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
2433
- };
2434
- outputSchema: {
2435
- workspaceId: import('zod').ZodString;
2436
- workspaceName: import('zod').ZodString;
2437
- folderId: import('zod').ZodNullable<import('zod').ZodString>;
2438
- projectInsights: import('zod').ZodArray<import('zod').ZodObject<{
2439
- projectId: import('zod').ZodString;
2440
- health: import('zod').ZodNullable<import('zod').ZodObject<{
2441
- status: import('zod').ZodEnum<{
2442
- UNKNOWN: "UNKNOWN";
2443
- ON_TRACK: "ON_TRACK";
2444
- AT_RISK: "AT_RISK";
2445
- CRITICAL: "CRITICAL";
2446
- EXCELLENT: "EXCELLENT";
2447
- ERROR: "ERROR";
2448
- }>;
2449
- isStale: import('zod').ZodBoolean;
2450
- updateInProgress: import('zod').ZodBoolean;
2451
- }, import('zod/v4/core').$strip>>;
2452
- progress: import('zod').ZodNullable<import('zod').ZodObject<{
2453
- completedCount: import('zod').ZodNumber;
2454
- activeCount: import('zod').ZodNumber;
2455
- progressPercent: import('zod').ZodNumber;
2456
- }, import('zod/v4/core').$strip>>;
2457
- }, import('zod/v4/core').$strip>>;
2458
- };
2459
- annotations: {
2460
- readOnlyHint: true;
2461
- destructiveHint: false;
2462
- idempotentHint: true;
2463
- };
2464
- execute(args: {
2465
- workspaceIdOrName: string;
2466
- projectIds?: string[] | undefined;
2467
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2468
- textContent: string;
2469
- structuredContent: {
2470
- workspaceId: string;
2471
- workspaceName: string;
2472
- folderId: string | null;
2473
- projectInsights: {
2474
- projectId: string;
2475
- health: {
2476
- status: "UNKNOWN" | "ON_TRACK" | "AT_RISK" | "CRITICAL" | "EXCELLENT" | "ERROR";
2477
- isStale: boolean;
2478
- updateInProgress: boolean;
2479
- } | null;
2480
- progress: {
2481
- completedCount: number;
2482
- activeCount: number;
2483
- progressPercent: number;
2484
- } | null;
2485
- }[];
2486
- };
2487
- }>;
2488
- };
2489
- getOverview: {
2490
- name: "get-overview";
2491
- description: string;
2492
- parameters: {
2493
- projectId: import('zod').ZodOptional<import('zod').ZodString>;
2494
- };
2495
- outputSchema: {
2496
- type: import('zod').ZodEnum<{
2497
- account_overview: "account_overview";
2498
- project_overview: "project_overview";
2499
- }>;
2500
- totalProjects: import('zod').ZodOptional<import('zod').ZodNumber>;
2501
- totalTasks: import('zod').ZodOptional<import('zod').ZodNumber>;
2502
- totalSections: import('zod').ZodOptional<import('zod').ZodNumber>;
2503
- tasksWithoutSection: import('zod').ZodOptional<import('zod').ZodNumber>;
2504
- projectInfo: import('zod').ZodOptional<import('zod').ZodObject<{
2505
- id: import('zod').ZodString;
2506
- name: import('zod').ZodString;
2507
- isShared: import('zod').ZodBoolean;
2508
- isFavorite: import('zod').ZodBoolean;
2509
- }, import('zod/v4/core').$strip>>;
2510
- hasNestedProjects: import('zod').ZodOptional<import('zod').ZodBoolean>;
2511
- inbox: import('zod').ZodOptional<import('zod').ZodNullable<import('zod').ZodObject<{
2512
- id: import('zod').ZodString;
2513
- name: import('zod').ZodString;
2514
- sections: import('zod').ZodArray<import('zod').ZodObject<{
2515
- id: import('zod').ZodString;
2516
- name: import('zod').ZodString;
2517
- }, import('zod/v4/core').$strip>>;
2518
- }, import('zod/v4/core').$strip>>>;
2519
- projects: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodLazy<import('zod').ZodType<{
2520
- id: string;
2521
- name: string;
2522
- parentId?: string;
2523
- folderId?: string;
2524
- childOrder: number;
2525
- sections: {
2526
- id: string;
2527
- name: string;
2528
- }[];
2529
- children: unknown[];
2530
- }, unknown, import('zod/v4/core').$ZodTypeInternals<{
2531
- id: string;
2532
- name: string;
2533
- parentId?: string;
2534
- folderId?: string;
2535
- childOrder: number;
2536
- sections: {
2537
- id: string;
2538
- name: string;
2539
- }[];
2540
- children: unknown[];
2541
- }, unknown>>>>>;
2542
- project: import('zod').ZodOptional<import('zod').ZodObject<{
2543
- id: import('zod').ZodString;
2544
- name: import('zod').ZodString;
2545
- }, import('zod/v4/core').$strip>>;
2546
- sections: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodObject<{
2547
- id: import('zod').ZodString;
2548
- name: import('zod').ZodString;
2549
- }, import('zod/v4/core').$strip>>>;
2550
- tasks: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodAny>>;
2551
- stats: import('zod').ZodOptional<import('zod').ZodObject<{
2552
- totalTasks: import('zod').ZodNumber;
2553
- totalSections: import('zod').ZodNumber;
2554
- tasksWithoutSection: import('zod').ZodNumber;
2555
- }, import('zod/v4/core').$strip>>;
2556
- };
2557
- annotations: {
2558
- readOnlyHint: true;
2559
- destructiveHint: false;
2560
- idempotentHint: true;
2561
- };
2562
- execute(args: {
2563
- projectId?: string | undefined;
2564
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2565
- textContent: string;
2566
- structuredContent: import('./tools/get-overview.js').AccountOverviewStructured | import('./tools/get-overview.js').ProjectOverviewStructured;
2567
- }>;
2568
- };
2569
- deleteObject: {
2570
- name: "delete-object";
2571
- description: string;
2572
- parameters: {
2573
- type: import('zod').ZodEnum<{
2574
- label: "label";
2575
- filter: "filter";
2576
- comment: "comment";
2577
- reminder: "reminder";
2578
- task: "task";
2579
- project: "project";
2580
- section: "section";
2581
- location_reminder: "location_reminder";
2582
- }>;
2583
- id: import('zod').ZodString;
2584
- };
2585
- outputSchema: {
2586
- deletedEntity: import('zod').ZodObject<{
2587
- type: import('zod').ZodEnum<{
2588
- label: "label";
2589
- filter: "filter";
2590
- comment: "comment";
2591
- reminder: "reminder";
2592
- task: "task";
2593
- project: "project";
2594
- section: "section";
2595
- location_reminder: "location_reminder";
2596
- }>;
2597
- id: import('zod').ZodString;
2598
- }, import('zod/v4/core').$strip>;
2599
- success: import('zod').ZodBoolean;
2600
- };
2601
- annotations: {
2602
- readOnlyHint: false;
2603
- destructiveHint: true;
2604
- idempotentHint: true;
2605
- };
2606
- execute(args: {
2607
- type: "label" | "filter" | "comment" | "reminder" | "task" | "project" | "section" | "location_reminder";
2608
- id: string;
2609
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2610
- textContent: string;
2611
- structuredContent: {
2612
- deletedEntity: {
2613
- type: "label" | "filter" | "comment" | "reminder" | "task" | "project" | "section" | "location_reminder";
2614
- id: string;
2615
- };
2616
- success: true;
2617
- };
2618
- }>;
2619
- };
2620
- reorderObjects: {
2621
- name: "reorder-objects";
2622
- description: string;
2623
- parameters: {
2624
- type: import('zod').ZodEnum<{
2625
- project: "project";
2626
- section: "section";
2627
- }>;
2628
- items: import('zod').ZodArray<import('zod').ZodObject<{
2629
- id: import('zod').ZodString;
2630
- order: import('zod').ZodOptional<import('zod').ZodNumber>;
2631
- parentId: import('zod').ZodOptional<import('zod').ZodString>;
2632
- }, import('zod/v4/core').$strip>>;
2633
- };
2634
- outputSchema: {
2635
- type: import('zod').ZodEnum<{
2636
- project: "project";
2637
- section: "section";
2638
- }>;
2639
- movedCount: import('zod').ZodNumber;
2640
- reorderedCount: import('zod').ZodNumber;
2641
- affectedIds: import('zod').ZodArray<import('zod').ZodString>;
2642
- success: import('zod').ZodBoolean;
2643
- };
2644
- annotations: {
2645
- readOnlyHint: false;
2646
- destructiveHint: false;
2647
- idempotentHint: true;
2648
- };
2649
- execute(args: {
2650
- type: "project" | "section";
2651
- items: {
2652
- id: string;
2653
- order?: number | undefined;
2654
- parentId?: string | undefined;
2655
- }[];
2656
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2657
- textContent: string;
2658
- structuredContent: {
2659
- type: "project" | "section";
2660
- movedCount: number;
2661
- reorderedCount: number;
2662
- affectedIds: string[];
2663
- success: true;
2664
- };
2665
- }>;
2666
- };
2667
- userInfo: {
2668
- name: "user-info";
2669
- description: string;
2670
- parameters: {};
2671
- outputSchema: {
2672
- type: import('zod').ZodLiteral<"user_info">;
2673
- userId: import('zod').ZodString;
2674
- fullName: import('zod').ZodString;
2675
- timezone: import('zod').ZodString;
2676
- currentLocalTime: import('zod').ZodString;
2677
- startDay: import('zod').ZodNumber;
2678
- startDayName: import('zod').ZodString;
2679
- weekStartDate: import('zod').ZodString;
2680
- weekEndDate: import('zod').ZodString;
2681
- currentWeekNumber: import('zod').ZodNumber;
2682
- completedToday: import('zod').ZodNumber;
2683
- dailyGoal: import('zod').ZodNumber;
2684
- weeklyGoal: import('zod').ZodNumber;
2685
- email: import('zod').ZodString;
2686
- plan: import('zod').ZodEnum<{
2687
- "Todoist Free": "Todoist Free";
2688
- "Todoist Pro": "Todoist Pro";
2689
- "Todoist Business": "Todoist Business";
2690
- }>;
2691
- };
2692
- annotations: {
2693
- readOnlyHint: true;
2694
- destructiveHint: false;
2695
- idempotentHint: true;
2696
- };
2697
- execute(_args: Record<string, never>, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2698
- textContent: string;
2699
- structuredContent: import('./tools/user-info.js').UserInfoStructured;
2700
- }>;
2701
- };
2702
- findProjectCollaborators: {
2703
- name: "find-project-collaborators";
2704
- description: string;
2705
- parameters: {
2706
- projectId: import('zod').ZodOptional<import('zod').ZodString>;
2707
- searchTerm: import('zod').ZodOptional<import('zod').ZodString>;
2708
- };
2709
- outputSchema: {
2710
- collaborators: import('zod').ZodArray<import('zod').ZodObject<{
2711
- id: import('zod').ZodString;
2712
- name: import('zod').ZodString;
2713
- email: import('zod').ZodString;
2714
- }, import('zod/v4/core').$strip>>;
2715
- projectInfo: import('zod').ZodOptional<import('zod').ZodObject<{
2716
- id: import('zod').ZodString;
2717
- name: import('zod').ZodString;
2718
- isShared: import('zod').ZodBoolean;
2719
- }, import('zod/v4/core').$strip>>;
2720
- totalCount: import('zod').ZodNumber;
2721
- totalAvailable: import('zod').ZodOptional<import('zod').ZodNumber>;
2722
- appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
2723
- };
2724
- annotations: {
2725
- readOnlyHint: true;
2726
- destructiveHint: false;
2727
- idempotentHint: true;
2728
- };
2729
- execute(args: {
2730
- projectId?: string | undefined;
2731
- searchTerm?: string | undefined;
2732
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2733
- textContent: string;
2734
- structuredContent: {
2735
- collaborators: import('./utils/user-resolver.js').ProjectCollaborator[];
2736
- projectInfo: undefined;
2737
- totalCount: number;
2738
- totalAvailable: number;
2739
- appliedFilters: Record<string, unknown>;
2740
- };
2741
- } | {
2742
- textContent: string;
2743
- structuredContent: {
2744
- collaborators: never[];
2745
- projectInfo: {
2746
- id: string;
2747
- name: string;
2748
- isShared: false;
2749
- };
2750
- totalCount: number;
2751
- appliedFilters: {
2752
- projectId?: string | undefined;
2753
- searchTerm?: string | undefined;
2754
- };
2755
- totalAvailable?: undefined;
2756
- };
2757
- } | {
2758
- textContent: string;
2759
- structuredContent: {
2760
- collaborators: never[];
2761
- projectInfo: {
2762
- id: string;
2763
- name: string;
2764
- isShared: true;
2765
- };
2766
- totalCount: number;
2767
- appliedFilters: {
2768
- projectId?: string | undefined;
2769
- searchTerm?: string | undefined;
2770
- };
2771
- totalAvailable?: undefined;
2772
- };
2773
- } | {
2774
- textContent: string;
2775
- structuredContent: {
2776
- collaborators: import('./utils/user-resolver.js').ProjectCollaborator[];
2777
- projectInfo: {
2778
- id: string;
2779
- name: string;
2780
- isShared: true;
2781
- };
2782
- totalCount: number;
2783
- totalAvailable: number;
2784
- appliedFilters: {
2785
- projectId?: string | undefined;
2786
- searchTerm?: string | undefined;
2787
- };
2788
- };
2789
- }>;
2790
- };
2791
- manageAssignments: {
2792
- name: "manage-assignments";
2793
- description: string;
2794
- parameters: {
2795
- operation: import('zod').ZodEnum<{
2796
- assign: "assign";
2797
- unassign: "unassign";
2798
- reassign: "reassign";
2799
- }>;
2800
- taskIds: import('zod').ZodArray<import('zod').ZodString>;
2801
- responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
2802
- fromAssigneeUser: import('zod').ZodOptional<import('zod').ZodString>;
2803
- dryRun: import('zod').ZodDefault<import('zod').ZodOptional<import('zod').ZodBoolean>>;
2804
- };
2805
- outputSchema: {
2806
- results: import('zod').ZodArray<import('zod').ZodObject<{
2807
- taskId: import('zod').ZodString;
2808
- success: import('zod').ZodBoolean;
2809
- error: import('zod').ZodOptional<import('zod').ZodString>;
2810
- originalAssigneeId: import('zod').ZodOptional<import('zod').ZodString>;
2811
- newAssigneeId: import('zod').ZodOptional<import('zod').ZodString>;
2812
- }, import('zod/v4/core').$strip>>;
2813
- summary: import('zod').ZodOptional<import('zod').ZodObject<{
2814
- total: import('zod').ZodNumber;
2815
- succeeded: import('zod').ZodNumber;
2816
- failed: import('zod').ZodNumber;
2817
- dryRun: import('zod').ZodBoolean;
2818
- }, import('zod/v4/core').$strip>>;
2819
- };
2820
- annotations: {
2821
- readOnlyHint: false;
2822
- destructiveHint: true;
2823
- idempotentHint: false;
2824
- };
2825
- execute(args: {
2826
- operation: "assign" | "unassign" | "reassign";
2827
- taskIds: string[];
2828
- dryRun: boolean;
2829
- responsibleUser?: string | undefined;
2830
- fromAssigneeUser?: string | undefined;
2831
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2832
- textContent: string;
2833
- structuredContent: {
2834
- operation: "unassign";
2835
- results: import('./tools/manage-assignments.js').OperationResult[];
2836
- totalRequested: number;
2837
- successful: number;
2838
- failed: number;
2839
- dryRun: boolean;
2840
- };
2841
- } | {
2842
- textContent: string;
2843
- structuredContent: {
2844
- operation: "assign" | "reassign";
2845
- results: import('./tools/manage-assignments.js').OperationResult[];
2846
- totalRequested: number;
2847
- successful: number;
2848
- failed: number;
2849
- dryRun: boolean;
2850
- };
2851
- }>;
2852
- };
2853
- listWorkspaces: {
2854
- name: "list-workspaces";
2855
- description: string;
2856
- parameters: {};
2857
- outputSchema: {
2858
- type: import('zod').ZodLiteral<"workspaces">;
2859
- workspaces: import('zod').ZodArray<import('zod').ZodObject<{
2860
- id: import('zod').ZodString;
2861
- name: import('zod').ZodString;
2862
- plan: import('zod').ZodEnum<{
2863
- STARTER: "STARTER";
2864
- BUSINESS: "BUSINESS";
2865
- }>;
2866
- role: import('zod').ZodOptional<import('zod').ZodEnum<{
2867
- ADMIN: "ADMIN";
2868
- MEMBER: "MEMBER";
2869
- GUEST: "GUEST";
2870
- }>>;
2871
- isLinkSharingEnabled: import('zod').ZodBoolean;
2872
- isGuestAllowed: import('zod').ZodBoolean;
2873
- createdAt: import('zod').ZodOptional<import('zod').ZodString>;
2874
- creatorId: import('zod').ZodString;
2875
- }, import('zod/v4/core').$strip>>;
2876
- count: import('zod').ZodNumber;
2877
- };
2878
- annotations: {
2879
- readOnlyHint: true;
2880
- destructiveHint: false;
2881
- idempotentHint: true;
2882
- };
2883
- execute(_args: Record<string, never>, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2884
- textContent: string;
2885
- structuredContent: import('./tools/list-workspaces.js').WorkspacesStructured;
2886
- }>;
2887
- };
2888
- search: {
2889
- name: "search";
2890
- description: string;
2891
- parameters: {
2892
- query: import('zod').ZodString;
2893
- };
2894
- outputSchema: {
2895
- results: import('zod').ZodArray<import('zod').ZodObject<{
2896
- id: import('zod').ZodString;
2897
- title: import('zod').ZodString;
2898
- url: import('zod').ZodString;
2899
- }, import('zod/v4/core').$strip>>;
2900
- totalCount: import('zod').ZodNumber;
2901
- };
2902
- annotations: {
2903
- readOnlyHint: true;
2904
- destructiveHint: false;
2905
- idempotentHint: true;
2906
- };
2907
- execute(args: {
2908
- query: string;
2909
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2910
- textContent: string;
2911
- structuredContent: {
2912
- results: {
2913
- id: string;
2914
- title: string;
2915
- url: string;
2916
- }[];
2917
- totalCount: number;
2918
- };
2919
- }>;
2920
- };
2921
- fetch: {
2922
- name: "fetch";
2923
- description: string;
2924
- parameters: {
2925
- id: import('zod').ZodString;
2926
- };
2927
- outputSchema: {
2928
- id: import('zod').ZodString;
2929
- title: import('zod').ZodString;
2930
- text: import('zod').ZodString;
2931
- url: import('zod').ZodString;
2932
- metadata: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
2933
- };
2934
- annotations: {
2935
- readOnlyHint: true;
2936
- destructiveHint: false;
2937
- idempotentHint: true;
2938
- };
2939
- execute(args: {
2940
- id: string;
2941
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2942
- textContent: string;
2943
- structuredContent: {
2944
- id: string;
2945
- title: string;
2946
- text: string;
2947
- url: string;
2948
- metadata?: Record<string, unknown>;
2949
- };
2950
- }>;
2951
- };
2952
- };
2953
- export { addComments, addFilters, addLabels, addProjects, addSections, addTasks, analyzeProjectHealth, completeTasks, deleteObject, FEATURE_NAMES, type Feature, type FeatureName, type Features, fetch, findActivity, findComments, findCompletedTasks, findFilters, findLabels, findProjectCollaborators, findProjects, findSections, findTasks, findTasksByDate, getMcpServer, getOverview, getProductivityStats, getProjectActivityStats, getProjectHealth, getWorkspaceInsights, listWorkspaces, manageAssignments, reorderObjects, requireValidTodoistToken, type RequireValidTodoistTokenOptions, rescheduleTasks, search, tools, uncompleteTasks, updateComments, updateFilters, updateLabels, updateProjects, updateSections, updateTasks, userInfo, validateTodoistToken, viewAttachment, };
2954
- //# sourceMappingURL=index.d.ts.map