@todoist/mcp 0.0.0-stage → 15.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 (197) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +232 -2
  3. package/dist/filter-helpers.d.ts +53 -0
  4. package/dist/filter-helpers.d.ts.map +1 -0
  5. package/dist/http-app.d.ts +28 -0
  6. package/dist/http-app.d.ts.map +1 -0
  7. package/dist/index.d.ts +4347 -0
  8. package/dist/index.d.ts.map +1 -0
  9. package/dist/index.js +61 -0
  10. package/dist/main-http.d.ts +3 -0
  11. package/dist/main-http.d.ts.map +1 -0
  12. package/dist/main-http.js +133 -0
  13. package/dist/main.d.ts +3 -0
  14. package/dist/main.d.ts.map +1 -0
  15. package/dist/main.js +16 -0
  16. package/dist/mcp-apps/index.html +116 -0
  17. package/dist/mcp-helpers.d.ts +62 -0
  18. package/dist/mcp-helpers.d.ts.map +1 -0
  19. package/dist/mcp-server-y4HhlBJW.js +8152 -0
  20. package/dist/mcp-server.d.ts +16 -0
  21. package/dist/mcp-server.d.ts.map +1 -0
  22. package/dist/middleware/require-trusted-host.d.ts +44 -0
  23. package/dist/middleware/require-trusted-host.d.ts.map +1 -0
  24. package/dist/middleware/require-valid-todoist-token.d.ts +39 -0
  25. package/dist/middleware/require-valid-todoist-token.d.ts.map +1 -0
  26. package/dist/prompts/productivity-analysis.d.ts +58 -0
  27. package/dist/prompts/productivity-analysis.d.ts.map +1 -0
  28. package/dist/require-valid-todoist-token-I1jh7sbd.js +63 -0
  29. package/dist/todoist-tool.d.ts +15 -0
  30. package/dist/todoist-tool.d.ts.map +1 -0
  31. package/dist/tool-execution-error.d.ts +27 -0
  32. package/dist/tool-execution-error.d.ts.map +1 -0
  33. package/dist/tool-helpers.d.ts +318 -0
  34. package/dist/tool-helpers.d.ts.map +1 -0
  35. package/dist/tool-registry.d.ts +4307 -0
  36. package/dist/tool-registry.d.ts.map +1 -0
  37. package/dist/tools/add-comments.d.ts +104 -0
  38. package/dist/tools/add-comments.d.ts.map +1 -0
  39. package/dist/tools/add-filters.d.ts +113 -0
  40. package/dist/tools/add-filters.d.ts.map +1 -0
  41. package/dist/tools/add-labels.d.ts +107 -0
  42. package/dist/tools/add-labels.d.ts.map +1 -0
  43. package/dist/tools/add-projects.d.ts +134 -0
  44. package/dist/tools/add-projects.d.ts.map +1 -0
  45. package/dist/tools/add-reminders.d.ts +174 -0
  46. package/dist/tools/add-reminders.d.ts.map +1 -0
  47. package/dist/tools/add-sections.d.ts +61 -0
  48. package/dist/tools/add-sections.d.ts.map +1 -0
  49. package/dist/tools/add-tasks.d.ts +123 -0
  50. package/dist/tools/add-tasks.d.ts.map +1 -0
  51. package/dist/tools/analyze-project-health.d.ts +45 -0
  52. package/dist/tools/analyze-project-health.d.ts.map +1 -0
  53. package/dist/tools/complete-tasks.d.ts +42 -0
  54. package/dist/tools/complete-tasks.d.ts.map +1 -0
  55. package/dist/tools/delete-object.d.ts +54 -0
  56. package/dist/tools/delete-object.d.ts.map +1 -0
  57. package/dist/tools/export-project-template.d.ts +54 -0
  58. package/dist/tools/export-project-template.d.ts.map +1 -0
  59. package/dist/tools/fetch-object.d.ts +243 -0
  60. package/dist/tools/fetch-object.d.ts.map +1 -0
  61. package/dist/tools/fetch.d.ts +41 -0
  62. package/dist/tools/fetch.d.ts.map +1 -0
  63. package/dist/tools/find-activity.d.ts +98 -0
  64. package/dist/tools/find-activity.d.ts.map +1 -0
  65. package/dist/tools/find-comments.d.ts +91 -0
  66. package/dist/tools/find-comments.d.ts.map +1 -0
  67. package/dist/tools/find-completed-tasks.d.ts +119 -0
  68. package/dist/tools/find-completed-tasks.d.ts.map +1 -0
  69. package/dist/tools/find-filters.d.ts +95 -0
  70. package/dist/tools/find-filters.d.ts.map +1 -0
  71. package/dist/tools/find-labels.d.ts +81 -0
  72. package/dist/tools/find-labels.d.ts.map +1 -0
  73. package/dist/tools/find-project-collaborators.d.ts +94 -0
  74. package/dist/tools/find-project-collaborators.d.ts.map +1 -0
  75. package/dist/tools/find-projects.d.ts +98 -0
  76. package/dist/tools/find-projects.d.ts.map +1 -0
  77. package/dist/tools/find-reminders.d.ts +99 -0
  78. package/dist/tools/find-reminders.d.ts.map +1 -0
  79. package/dist/tools/find-sections.d.ts +45 -0
  80. package/dist/tools/find-sections.d.ts.map +1 -0
  81. package/dist/tools/find-tasks-by-date.d.ts +137 -0
  82. package/dist/tools/find-tasks-by-date.d.ts.map +1 -0
  83. package/dist/tools/find-tasks.d.ts +120 -0
  84. package/dist/tools/find-tasks.d.ts.map +1 -0
  85. package/dist/tools/get-overview.d.ts +121 -0
  86. package/dist/tools/get-overview.d.ts.map +1 -0
  87. package/dist/tools/get-productivity-stats.d.ts +160 -0
  88. package/dist/tools/get-productivity-stats.d.ts.map +1 -0
  89. package/dist/tools/get-project-activity-stats.d.ts +48 -0
  90. package/dist/tools/get-project-activity-stats.d.ts.map +1 -0
  91. package/dist/tools/get-project-health.d.ts +104 -0
  92. package/dist/tools/get-project-health.d.ts.map +1 -0
  93. package/dist/tools/get-user-status.d.ts +35 -0
  94. package/dist/tools/get-user-status.d.ts.map +1 -0
  95. package/dist/tools/get-workspace-insights.d.ts +63 -0
  96. package/dist/tools/get-workspace-insights.d.ts.map +1 -0
  97. package/dist/tools/import-project-template.d.ts +148 -0
  98. package/dist/tools/import-project-template.d.ts.map +1 -0
  99. package/dist/tools/list-workspaces.d.ts +54 -0
  100. package/dist/tools/list-workspaces.d.ts.map +1 -0
  101. package/dist/tools/manage-assignments.d.ts +73 -0
  102. package/dist/tools/manage-assignments.d.ts.map +1 -0
  103. package/dist/tools/project-management.d.ts +82 -0
  104. package/dist/tools/project-management.d.ts.map +1 -0
  105. package/dist/tools/project-move.d.ts +92 -0
  106. package/dist/tools/project-move.d.ts.map +1 -0
  107. package/dist/tools/reorder-objects.d.ts +61 -0
  108. package/dist/tools/reorder-objects.d.ts.map +1 -0
  109. package/dist/tools/reschedule-tasks.d.ts +95 -0
  110. package/dist/tools/reschedule-tasks.d.ts.map +1 -0
  111. package/dist/tools/search.d.ts +43 -0
  112. package/dist/tools/search.d.ts.map +1 -0
  113. package/dist/tools/set-user-status.d.ts +51 -0
  114. package/dist/tools/set-user-status.d.ts.map +1 -0
  115. package/dist/tools/uncomplete-tasks.d.ts +42 -0
  116. package/dist/tools/uncomplete-tasks.d.ts.map +1 -0
  117. package/dist/tools/update-comments.d.ts +100 -0
  118. package/dist/tools/update-comments.d.ts.map +1 -0
  119. package/dist/tools/update-filters.d.ts +121 -0
  120. package/dist/tools/update-filters.d.ts.map +1 -0
  121. package/dist/tools/update-labels.d.ts +133 -0
  122. package/dist/tools/update-labels.d.ts.map +1 -0
  123. package/dist/tools/update-projects.d.ts +138 -0
  124. package/dist/tools/update-projects.d.ts.map +1 -0
  125. package/dist/tools/update-reminders.d.ts +176 -0
  126. package/dist/tools/update-reminders.d.ts.map +1 -0
  127. package/dist/tools/update-sections.d.ts +65 -0
  128. package/dist/tools/update-sections.d.ts.map +1 -0
  129. package/dist/tools/update-tasks.d.ts +135 -0
  130. package/dist/tools/update-tasks.d.ts.map +1 -0
  131. package/dist/tools/user-info.d.ts +57 -0
  132. package/dist/tools/user-info.d.ts.map +1 -0
  133. package/dist/tools/view-attachment.d.ts +25 -0
  134. package/dist/tools/view-attachment.d.ts.map +1 -0
  135. package/dist/usage-tracking.d.ts +36 -0
  136. package/dist/usage-tracking.d.ts.map +1 -0
  137. package/dist/utils/assignment-validator.d.ts +69 -0
  138. package/dist/utils/assignment-validator.d.ts.map +1 -0
  139. package/dist/utils/batch-failures.d.ts +25 -0
  140. package/dist/utils/batch-failures.d.ts.map +1 -0
  141. package/dist/utils/children.d.ts +68 -0
  142. package/dist/utils/children.d.ts.map +1 -0
  143. package/dist/utils/colors.d.ts +68 -0
  144. package/dist/utils/colors.d.ts.map +1 -0
  145. package/dist/utils/comment-recipients.d.ts +35 -0
  146. package/dist/utils/comment-recipients.d.ts.map +1 -0
  147. package/dist/utils/concurrency.d.ts +35 -0
  148. package/dist/utils/concurrency.d.ts.map +1 -0
  149. package/dist/utils/constants.d.ts +93 -0
  150. package/dist/utils/constants.d.ts.map +1 -0
  151. package/dist/utils/date.d.ts +18 -0
  152. package/dist/utils/date.d.ts.map +1 -0
  153. package/dist/utils/duration-parser.d.ts +39 -0
  154. package/dist/utils/duration-parser.d.ts.map +1 -0
  155. package/dist/utils/filter-description.d.ts +16 -0
  156. package/dist/utils/filter-description.d.ts.map +1 -0
  157. package/dist/utils/filter-resolver.d.ts +27 -0
  158. package/dist/utils/filter-resolver.d.ts.map +1 -0
  159. package/dist/utils/host.d.ts +6 -0
  160. package/dist/utils/host.d.ts.map +1 -0
  161. package/dist/utils/labels.d.ts +13 -0
  162. package/dist/utils/labels.d.ts.map +1 -0
  163. package/dist/utils/move-planner.d.ts +63 -0
  164. package/dist/utils/move-planner.d.ts.map +1 -0
  165. package/dist/utils/order-keys.d.ts +36 -0
  166. package/dist/utils/order-keys.d.ts.map +1 -0
  167. package/dist/utils/output-schemas.d.ts +209 -0
  168. package/dist/utils/output-schemas.d.ts.map +1 -0
  169. package/dist/utils/personal-project-limit.d.ts +31 -0
  170. package/dist/utils/personal-project-limit.d.ts.map +1 -0
  171. package/dist/utils/priorities.d.ts +14 -0
  172. package/dist/utils/priorities.d.ts.map +1 -0
  173. package/dist/utils/reminder-recipients.d.ts +21 -0
  174. package/dist/utils/reminder-recipients.d.ts.map +1 -0
  175. package/dist/utils/reminder-schemas.d.ts +41 -0
  176. package/dist/utils/reminder-schemas.d.ts.map +1 -0
  177. package/dist/utils/response-builders.d.ts +103 -0
  178. package/dist/utils/response-builders.d.ts.map +1 -0
  179. package/dist/utils/retry.d.ts +39 -0
  180. package/dist/utils/retry.d.ts.map +1 -0
  181. package/dist/utils/schema-helpers.d.ts +10 -0
  182. package/dist/utils/schema-helpers.d.ts.map +1 -0
  183. package/dist/utils/sync-commands.d.ts +21 -0
  184. package/dist/utils/sync-commands.d.ts.map +1 -0
  185. package/dist/utils/test-helpers.d.ts +118 -0
  186. package/dist/utils/test-helpers.d.ts.map +1 -0
  187. package/dist/utils/tool-names.d.ts +60 -0
  188. package/dist/utils/tool-names.d.ts.map +1 -0
  189. package/dist/utils/user-resolver.d.ts +92 -0
  190. package/dist/utils/user-resolver.d.ts.map +1 -0
  191. package/dist/utils/user-status.d.ts +32 -0
  192. package/dist/utils/user-status.d.ts.map +1 -0
  193. package/dist/utils/validate-todoist-token.d.ts +17 -0
  194. package/dist/utils/validate-todoist-token.d.ts.map +1 -0
  195. package/dist/utils/workspace-resolver.d.ts +31 -0
  196. package/dist/utils/workspace-resolver.d.ts.map +1 -0
  197. package/package.json +116 -5
@@ -0,0 +1,4347 @@
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 { registeredTools } from './tool-registry.js';
5
+ import { addComments } from './tools/add-comments.js';
6
+ import { addFilters } from './tools/add-filters.js';
7
+ import { addLabels } from './tools/add-labels.js';
8
+ import { addProjects } from './tools/add-projects.js';
9
+ import { addReminders } from './tools/add-reminders.js';
10
+ import { addSections } from './tools/add-sections.js';
11
+ import { addTasks } from './tools/add-tasks.js';
12
+ import { analyzeProjectHealth } from './tools/analyze-project-health.js';
13
+ import { completeTasks } from './tools/complete-tasks.js';
14
+ import { deleteObject } from './tools/delete-object.js';
15
+ import { exportProjectTemplate } from './tools/export-project-template.js';
16
+ import { fetchObject } from './tools/fetch-object.js';
17
+ import { fetch } from './tools/fetch.js';
18
+ import { findActivity } from './tools/find-activity.js';
19
+ import { findComments } from './tools/find-comments.js';
20
+ import { findCompletedTasks } from './tools/find-completed-tasks.js';
21
+ import { findFilters } from './tools/find-filters.js';
22
+ import { findLabels } from './tools/find-labels.js';
23
+ import { findProjectCollaborators } from './tools/find-project-collaborators.js';
24
+ import { findProjects } from './tools/find-projects.js';
25
+ import { findReminders } from './tools/find-reminders.js';
26
+ import { findSections } from './tools/find-sections.js';
27
+ import { findTasksByDate } from './tools/find-tasks-by-date.js';
28
+ import { findTasks } from './tools/find-tasks.js';
29
+ import { getOverview } from './tools/get-overview.js';
30
+ import { getProductivityStats } from './tools/get-productivity-stats.js';
31
+ import { getProjectActivityStats } from './tools/get-project-activity-stats.js';
32
+ import { getProjectHealth } from './tools/get-project-health.js';
33
+ import { getUserStatus } from './tools/get-user-status.js';
34
+ import { getWorkspaceInsights } from './tools/get-workspace-insights.js';
35
+ import { importProjectTemplate } from './tools/import-project-template.js';
36
+ import { listWorkspaces } from './tools/list-workspaces.js';
37
+ import { manageAssignments } from './tools/manage-assignments.js';
38
+ import { projectManagement } from './tools/project-management.js';
39
+ import { projectMove } from './tools/project-move.js';
40
+ import { reorderObjects } from './tools/reorder-objects.js';
41
+ import { rescheduleTasks } from './tools/reschedule-tasks.js';
42
+ import { search } from './tools/search.js';
43
+ import { setUserStatus } from './tools/set-user-status.js';
44
+ import { uncompleteTasks } from './tools/uncomplete-tasks.js';
45
+ import { updateComments } from './tools/update-comments.js';
46
+ import { updateFilters } from './tools/update-filters.js';
47
+ import { updateLabels } from './tools/update-labels.js';
48
+ import { updateProjects } from './tools/update-projects.js';
49
+ import { updateReminders } from './tools/update-reminders.js';
50
+ import { updateSections } from './tools/update-sections.js';
51
+ import { updateTasks } from './tools/update-tasks.js';
52
+ import { userInfo } from './tools/user-info.js';
53
+ import { viewAttachment } from './tools/view-attachment.js';
54
+ import { validateTodoistToken } from './utils/validate-todoist-token.js';
55
+ /**
56
+ * Every tool, keyed by its export name.
57
+ *
58
+ * Derived from the registry so it cannot drift from what the server registers.
59
+ */
60
+ declare const tools: {
61
+ addTasks: {
62
+ name: "add-tasks";
63
+ description: string;
64
+ parameters: {
65
+ tasks: import('zod').ZodArray<import('zod').ZodObject<{
66
+ content: import('zod').ZodString;
67
+ description: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
68
+ priority: import('zod').ZodOptional<import('zod').ZodEnum<{
69
+ p1: "p1";
70
+ p2: "p2";
71
+ p3: "p3";
72
+ p4: "p4";
73
+ }>>;
74
+ dueString: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
75
+ deadlineDate: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
76
+ duration: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
77
+ labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
78
+ projectId: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
79
+ sectionId: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
80
+ parentId: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
81
+ order: import('zod').ZodOptional<import('zod').ZodNumber>;
82
+ responsibleUser: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
83
+ isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
84
+ }, import('zod/v4/core').$strip>>;
85
+ };
86
+ outputSchema: {
87
+ tasks: import('zod').ZodArray<import('zod').ZodObject<{
88
+ id: import('zod').ZodString;
89
+ content: import('zod').ZodString;
90
+ description: import('zod').ZodString;
91
+ dueDate: import('zod').ZodOptional<import('zod').ZodString>;
92
+ recurring: import('zod').ZodUnion<readonly [import('zod').ZodBoolean, import('zod').ZodString]>;
93
+ deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
94
+ priority: import('zod').ZodEnum<{
95
+ p1: "p1";
96
+ p2: "p2";
97
+ p3: "p3";
98
+ p4: "p4";
99
+ }>;
100
+ projectId: import('zod').ZodString;
101
+ sectionId: import('zod').ZodOptional<import('zod').ZodString>;
102
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
103
+ labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
104
+ duration: import('zod').ZodOptional<import('zod').ZodString>;
105
+ responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
106
+ isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
107
+ assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
108
+ isDeleted: import('zod').ZodOptional<import('zod').ZodBoolean>;
109
+ checked: import('zod').ZodBoolean;
110
+ completedAt: import('zod').ZodOptional<import('zod').ZodString>;
111
+ addedAt: import('zod').ZodOptional<import('zod').ZodString>;
112
+ }, import('zod/v4/core').$strip>>;
113
+ totalCount: import('zod').ZodNumber;
114
+ failures: import('zod').ZodArray<import('zod').ZodObject<{
115
+ item: import('zod').ZodString;
116
+ error: import('zod').ZodString;
117
+ code: import('zod').ZodOptional<import('zod').ZodString>;
118
+ }, import('zod/v4/core').$strip>>;
119
+ totalRequested: import('zod').ZodNumber;
120
+ successCount: import('zod').ZodNumber;
121
+ failureCount: import('zod').ZodNumber;
122
+ };
123
+ annotations: {
124
+ readOnlyHint: false;
125
+ destructiveHint: false;
126
+ idempotentHint: false;
127
+ openWorldHint: true;
128
+ };
129
+ execute(args: {
130
+ tasks: {
131
+ content: string;
132
+ description?: string | undefined;
133
+ priority?: "p1" | "p2" | "p3" | "p4" | undefined;
134
+ dueString?: string | undefined;
135
+ deadlineDate?: string | undefined;
136
+ duration?: string | undefined;
137
+ labels?: string[] | undefined;
138
+ projectId?: string | undefined;
139
+ sectionId?: string | undefined;
140
+ parentId?: string | undefined;
141
+ order?: number | undefined;
142
+ responsibleUser?: string | undefined;
143
+ isUncompletable?: boolean | undefined;
144
+ }[];
145
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
146
+ textContent: string;
147
+ structuredContent: {
148
+ tasks: {
149
+ id: string;
150
+ content: string;
151
+ description: string;
152
+ dueDate: string | undefined;
153
+ recurring: string | boolean;
154
+ deadlineDate: string | undefined;
155
+ priority: "p1" | "p2" | "p3" | "p4";
156
+ projectId: string;
157
+ sectionId: string | undefined;
158
+ parentId: string | undefined;
159
+ labels: string[];
160
+ duration: string | undefined;
161
+ responsibleUid: string | undefined;
162
+ assignedByUid: string | undefined;
163
+ isDeleted: true | undefined;
164
+ checked: boolean;
165
+ completedAt: string | undefined;
166
+ addedAt: string | undefined;
167
+ }[];
168
+ totalCount: number;
169
+ failures: {
170
+ item: string;
171
+ error: string;
172
+ }[];
173
+ totalRequested: number;
174
+ successCount: number;
175
+ failureCount: number;
176
+ };
177
+ }>;
178
+ };
179
+ completeTasks: {
180
+ name: "complete-tasks";
181
+ description: string;
182
+ parameters: {
183
+ ids: import('zod').ZodArray<import('zod').ZodString>;
184
+ };
185
+ outputSchema: {
186
+ completed: import('zod').ZodArray<import('zod').ZodString>;
187
+ failures: import('zod').ZodArray<import('zod').ZodObject<{
188
+ item: import('zod').ZodString;
189
+ error: import('zod').ZodString;
190
+ code: import('zod').ZodOptional<import('zod').ZodString>;
191
+ }, import('zod/v4/core').$strip>>;
192
+ totalRequested: import('zod').ZodNumber;
193
+ successCount: import('zod').ZodNumber;
194
+ failureCount: import('zod').ZodNumber;
195
+ };
196
+ annotations: {
197
+ readOnlyHint: false;
198
+ destructiveHint: true;
199
+ idempotentHint: false;
200
+ };
201
+ execute(args: {
202
+ ids: string[];
203
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
204
+ textContent: string;
205
+ structuredContent: {
206
+ completed: string[];
207
+ failures: {
208
+ item: string;
209
+ error: string;
210
+ code?: string;
211
+ }[];
212
+ totalRequested: number;
213
+ successCount: number;
214
+ failureCount: number;
215
+ };
216
+ }>;
217
+ };
218
+ uncompleteTasks: {
219
+ name: "uncomplete-tasks";
220
+ description: string;
221
+ parameters: {
222
+ ids: import('zod').ZodArray<import('zod').ZodString>;
223
+ };
224
+ outputSchema: {
225
+ uncompleted: import('zod').ZodArray<import('zod').ZodString>;
226
+ failures: import('zod').ZodArray<import('zod').ZodObject<{
227
+ item: import('zod').ZodString;
228
+ error: import('zod').ZodString;
229
+ code: import('zod').ZodOptional<import('zod').ZodString>;
230
+ }, import('zod/v4/core').$strip>>;
231
+ totalRequested: import('zod').ZodNumber;
232
+ successCount: import('zod').ZodNumber;
233
+ failureCount: import('zod').ZodNumber;
234
+ };
235
+ annotations: {
236
+ readOnlyHint: false;
237
+ destructiveHint: false;
238
+ idempotentHint: false;
239
+ };
240
+ execute(args: {
241
+ ids: string[];
242
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
243
+ textContent: string;
244
+ structuredContent: {
245
+ uncompleted: string[];
246
+ failures: {
247
+ item: string;
248
+ error: string;
249
+ code?: string;
250
+ }[];
251
+ totalRequested: number;
252
+ successCount: number;
253
+ failureCount: number;
254
+ };
255
+ }>;
256
+ };
257
+ updateTasks: {
258
+ name: "update-tasks";
259
+ description: string;
260
+ parameters: {
261
+ tasks: import('zod').ZodArray<import('zod').ZodObject<{
262
+ id: import('zod').ZodString;
263
+ content: import('zod').ZodOptional<import('zod').ZodString>;
264
+ description: import('zod').ZodOptional<import('zod').ZodString>;
265
+ projectId: import('zod').ZodOptional<import('zod').ZodString>;
266
+ sectionId: import('zod').ZodOptional<import('zod').ZodString>;
267
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
268
+ order: import('zod').ZodOptional<import('zod').ZodNumber>;
269
+ priority: import('zod').ZodOptional<import('zod').ZodEnum<{
270
+ p1: "p1";
271
+ p2: "p2";
272
+ p3: "p3";
273
+ p4: "p4";
274
+ }>>;
275
+ dueString: import('zod').ZodOptional<import('zod').ZodPreprocess<import('zod').ZodString, unknown>>;
276
+ replaceRecurrence: import('zod').ZodOptional<import('zod').ZodBoolean>;
277
+ deadlineDate: import('zod').ZodOptional<import('zod').ZodPreprocess<import('zod').ZodString, unknown>>;
278
+ duration: import('zod').ZodOptional<import('zod').ZodString>;
279
+ responsibleUser: import('zod').ZodOptional<import('zod').ZodPreprocess<import('zod').ZodString, unknown>>;
280
+ labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
281
+ isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
282
+ }, import('zod/v4/core').$strip>>;
283
+ };
284
+ outputSchema: {
285
+ tasks: import('zod').ZodArray<import('zod').ZodObject<{
286
+ id: import('zod').ZodString;
287
+ content: import('zod').ZodString;
288
+ description: import('zod').ZodString;
289
+ dueDate: import('zod').ZodOptional<import('zod').ZodString>;
290
+ recurring: import('zod').ZodUnion<readonly [import('zod').ZodBoolean, import('zod').ZodString]>;
291
+ deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
292
+ priority: import('zod').ZodEnum<{
293
+ p1: "p1";
294
+ p2: "p2";
295
+ p3: "p3";
296
+ p4: "p4";
297
+ }>;
298
+ projectId: import('zod').ZodString;
299
+ sectionId: import('zod').ZodOptional<import('zod').ZodString>;
300
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
301
+ labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
302
+ duration: import('zod').ZodOptional<import('zod').ZodString>;
303
+ responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
304
+ isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
305
+ assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
306
+ isDeleted: import('zod').ZodOptional<import('zod').ZodBoolean>;
307
+ checked: import('zod').ZodBoolean;
308
+ completedAt: import('zod').ZodOptional<import('zod').ZodString>;
309
+ addedAt: import('zod').ZodOptional<import('zod').ZodString>;
310
+ }, import('zod/v4/core').$strip>>;
311
+ totalCount: import('zod').ZodNumber;
312
+ updatedTaskIds: import('zod').ZodArray<import('zod').ZodString>;
313
+ failures: import('zod').ZodArray<import('zod').ZodObject<{
314
+ item: import('zod').ZodString;
315
+ error: import('zod').ZodString;
316
+ code: import('zod').ZodOptional<import('zod').ZodString>;
317
+ }, import('zod/v4/core').$strip>>;
318
+ appliedOperations: import('zod').ZodObject<{
319
+ updateCount: import('zod').ZodNumber;
320
+ skippedCount: import('zod').ZodNumber;
321
+ failureCount: import('zod').ZodNumber;
322
+ redundantMovesSkipped: import('zod').ZodNumber;
323
+ }, import('zod/v4/core').$strip>;
324
+ };
325
+ annotations: {
326
+ readOnlyHint: false;
327
+ destructiveHint: true;
328
+ idempotentHint: false;
329
+ openWorldHint: true;
330
+ };
331
+ execute(args: {
332
+ tasks: {
333
+ id: string;
334
+ content?: string | undefined;
335
+ description?: string | undefined;
336
+ projectId?: string | undefined;
337
+ sectionId?: string | undefined;
338
+ parentId?: string | undefined;
339
+ order?: number | undefined;
340
+ priority?: "p1" | "p2" | "p3" | "p4" | undefined;
341
+ dueString?: string | undefined;
342
+ replaceRecurrence?: boolean | undefined;
343
+ deadlineDate?: string | undefined;
344
+ duration?: string | undefined;
345
+ responsibleUser?: string | undefined;
346
+ labels?: string[] | undefined;
347
+ isUncompletable?: boolean | undefined;
348
+ }[];
349
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
350
+ textContent: string;
351
+ structuredContent: {
352
+ tasks: {
353
+ id: string;
354
+ content: string;
355
+ description: string;
356
+ dueDate: string | undefined;
357
+ recurring: string | boolean;
358
+ deadlineDate: string | undefined;
359
+ priority: "p1" | "p2" | "p3" | "p4";
360
+ projectId: string;
361
+ sectionId: string | undefined;
362
+ parentId: string | undefined;
363
+ labels: string[];
364
+ duration: string | undefined;
365
+ responsibleUid: string | undefined;
366
+ assignedByUid: string | undefined;
367
+ isDeleted: true | undefined;
368
+ checked: boolean;
369
+ completedAt: string | undefined;
370
+ addedAt: string | undefined;
371
+ }[];
372
+ totalCount: number;
373
+ updatedTaskIds: string[];
374
+ failures: {
375
+ item: string;
376
+ error: string;
377
+ code?: string;
378
+ }[];
379
+ appliedOperations: {
380
+ updateCount: number;
381
+ skippedCount: number;
382
+ failureCount: number;
383
+ redundantMovesSkipped: number;
384
+ };
385
+ };
386
+ }>;
387
+ };
388
+ rescheduleTasks: {
389
+ name: "reschedule-tasks";
390
+ description: string;
391
+ parameters: {
392
+ tasks: import('zod').ZodArray<import('zod').ZodObject<{
393
+ id: import('zod').ZodString;
394
+ date: import('zod').ZodString;
395
+ duration: import('zod').ZodOptional<import('zod').ZodString>;
396
+ }, import('zod/v4/core').$strip>>;
397
+ };
398
+ outputSchema: {
399
+ tasks: import('zod').ZodArray<import('zod').ZodObject<{
400
+ id: import('zod').ZodString;
401
+ content: import('zod').ZodString;
402
+ description: import('zod').ZodString;
403
+ dueDate: import('zod').ZodOptional<import('zod').ZodString>;
404
+ recurring: import('zod').ZodUnion<readonly [import('zod').ZodBoolean, import('zod').ZodString]>;
405
+ deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
406
+ priority: import('zod').ZodEnum<{
407
+ p1: "p1";
408
+ p2: "p2";
409
+ p3: "p3";
410
+ p4: "p4";
411
+ }>;
412
+ projectId: import('zod').ZodString;
413
+ sectionId: import('zod').ZodOptional<import('zod').ZodString>;
414
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
415
+ labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
416
+ duration: import('zod').ZodOptional<import('zod').ZodString>;
417
+ responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
418
+ isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
419
+ assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
420
+ isDeleted: import('zod').ZodOptional<import('zod').ZodBoolean>;
421
+ checked: import('zod').ZodBoolean;
422
+ completedAt: import('zod').ZodOptional<import('zod').ZodString>;
423
+ addedAt: import('zod').ZodOptional<import('zod').ZodString>;
424
+ }, import('zod/v4/core').$strip>>;
425
+ totalCount: import('zod').ZodNumber;
426
+ rescheduledTaskIds: import('zod').ZodArray<import('zod').ZodString>;
427
+ failures: import('zod').ZodArray<import('zod').ZodObject<{
428
+ item: import('zod').ZodString;
429
+ error: import('zod').ZodString;
430
+ code: import('zod').ZodOptional<import('zod').ZodString>;
431
+ }, import('zod/v4/core').$strip>>;
432
+ };
433
+ annotations: {
434
+ readOnlyHint: false;
435
+ destructiveHint: true;
436
+ idempotentHint: false;
437
+ };
438
+ execute(args: {
439
+ tasks: {
440
+ id: string;
441
+ date: string;
442
+ duration?: string | undefined;
443
+ }[];
444
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
445
+ textContent: string;
446
+ structuredContent: {
447
+ tasks: {
448
+ id: string;
449
+ content: string;
450
+ description: string;
451
+ recurring: string | boolean;
452
+ priority: "p1" | "p2" | "p3" | "p4";
453
+ projectId: string;
454
+ checked: boolean;
455
+ dueDate?: string | undefined;
456
+ deadlineDate?: string | undefined;
457
+ sectionId?: string | undefined;
458
+ parentId?: string | undefined;
459
+ labels?: string[] | undefined;
460
+ duration?: string | undefined;
461
+ responsibleUid?: string | undefined;
462
+ isUncompletable?: boolean | undefined;
463
+ assignedByUid?: string | undefined;
464
+ isDeleted?: boolean | undefined;
465
+ completedAt?: string | undefined;
466
+ addedAt?: string | undefined;
467
+ }[];
468
+ totalCount: number;
469
+ rescheduledTaskIds: string[];
470
+ failures: {
471
+ item: string;
472
+ error: string;
473
+ code?: string | undefined;
474
+ }[];
475
+ };
476
+ }>;
477
+ };
478
+ findTasks: {
479
+ name: "find-tasks";
480
+ description: string;
481
+ parameters: {
482
+ labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
483
+ labelsOperator: import('zod').ZodOptional<import('zod').ZodEnum<{
484
+ and: "and";
485
+ or: "or";
486
+ }>>;
487
+ searchText: import('zod').ZodOptional<import('zod').ZodString>;
488
+ projectId: import('zod').ZodOptional<import('zod').ZodString>;
489
+ sectionId: import('zod').ZodOptional<import('zod').ZodString>;
490
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
491
+ responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
492
+ responsibleUserFiltering: import('zod').ZodOptional<import('zod').ZodEnum<{
493
+ assigned: "assigned";
494
+ unassignedOrMe: "unassignedOrMe";
495
+ all: "all";
496
+ }>>;
497
+ limit: import('zod').ZodDefault<import('zod').ZodNumber>;
498
+ cursor: import('zod').ZodOptional<import('zod').ZodString>;
499
+ filter: import('zod').ZodOptional<import('zod').ZodString>;
500
+ filterIdOrName: import('zod').ZodOptional<import('zod').ZodString>;
501
+ };
502
+ outputSchema: {
503
+ tasks: import('zod').ZodArray<import('zod').ZodObject<{
504
+ id: import('zod').ZodString;
505
+ content: import('zod').ZodString;
506
+ description: import('zod').ZodString;
507
+ dueDate: import('zod').ZodOptional<import('zod').ZodString>;
508
+ recurring: import('zod').ZodUnion<readonly [import('zod').ZodBoolean, import('zod').ZodString]>;
509
+ deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
510
+ priority: import('zod').ZodEnum<{
511
+ p1: "p1";
512
+ p2: "p2";
513
+ p3: "p3";
514
+ p4: "p4";
515
+ }>;
516
+ projectId: import('zod').ZodString;
517
+ sectionId: import('zod').ZodOptional<import('zod').ZodString>;
518
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
519
+ labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
520
+ duration: import('zod').ZodOptional<import('zod').ZodString>;
521
+ responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
522
+ isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
523
+ assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
524
+ isDeleted: import('zod').ZodOptional<import('zod').ZodBoolean>;
525
+ checked: import('zod').ZodBoolean;
526
+ completedAt: import('zod').ZodOptional<import('zod').ZodString>;
527
+ addedAt: import('zod').ZodOptional<import('zod').ZodString>;
528
+ }, import('zod/v4/core').$strip>>;
529
+ nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
530
+ totalCount: import('zod').ZodNumber;
531
+ hasMore: import('zod').ZodBoolean;
532
+ appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
533
+ };
534
+ annotations: {
535
+ readOnlyHint: true;
536
+ destructiveHint: false;
537
+ idempotentHint: true;
538
+ };
539
+ execute(args: {
540
+ limit: number;
541
+ labels?: string[] | undefined;
542
+ labelsOperator?: "and" | "or" | undefined;
543
+ searchText?: string | undefined;
544
+ projectId?: string | undefined;
545
+ sectionId?: string | undefined;
546
+ parentId?: string | undefined;
547
+ responsibleUser?: string | undefined;
548
+ responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
549
+ cursor?: string | undefined;
550
+ filter?: string | undefined;
551
+ filterIdOrName?: string | undefined;
552
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
553
+ textContent: string;
554
+ structuredContent: {
555
+ tasks: {
556
+ id: string;
557
+ content: string;
558
+ description: string;
559
+ dueDate: string | undefined;
560
+ recurring: string | boolean;
561
+ deadlineDate: string | undefined;
562
+ priority: "p1" | "p2" | "p3" | "p4";
563
+ projectId: string;
564
+ sectionId: string | undefined;
565
+ parentId: string | undefined;
566
+ labels: string[];
567
+ duration: string | undefined;
568
+ responsibleUid: string | undefined;
569
+ assignedByUid: string | undefined;
570
+ isDeleted: true | undefined;
571
+ checked: boolean;
572
+ completedAt: string | undefined;
573
+ addedAt: string | undefined;
574
+ }[];
575
+ nextCursor: string | undefined;
576
+ totalCount: number;
577
+ hasMore: boolean;
578
+ appliedFilters: {
579
+ limit: number;
580
+ labels?: string[] | undefined;
581
+ labelsOperator?: "and" | "or" | undefined;
582
+ searchText?: string | undefined;
583
+ projectId?: string | undefined;
584
+ sectionId?: string | undefined;
585
+ parentId?: string | undefined;
586
+ responsibleUser?: string | undefined;
587
+ responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
588
+ cursor?: string | undefined;
589
+ filter?: string | undefined;
590
+ filterIdOrName?: string | undefined;
591
+ };
592
+ };
593
+ }>;
594
+ };
595
+ findTasksByDate: {
596
+ _meta: {
597
+ ui: {
598
+ resourceUri: string;
599
+ };
600
+ };
601
+ name: "find-tasks-by-date";
602
+ description: string;
603
+ parameters: {
604
+ labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
605
+ labelsOperator: import('zod').ZodOptional<import('zod').ZodEnum<{
606
+ and: "and";
607
+ or: "or";
608
+ }>>;
609
+ startDate: import('zod').ZodOptional<import('zod').ZodString>;
610
+ overdueOption: import('zod').ZodOptional<import('zod').ZodEnum<{
611
+ "overdue-only": "overdue-only";
612
+ "include-overdue": "include-overdue";
613
+ "exclude-overdue": "exclude-overdue";
614
+ }>>;
615
+ daysCount: import('zod').ZodDefault<import('zod').ZodNumber>;
616
+ limit: import('zod').ZodDefault<import('zod').ZodNumber>;
617
+ cursor: import('zod').ZodOptional<import('zod').ZodString>;
618
+ responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
619
+ responsibleUserFiltering: import('zod').ZodOptional<import('zod').ZodEnum<{
620
+ assigned: "assigned";
621
+ unassignedOrMe: "unassignedOrMe";
622
+ all: "all";
623
+ }>>;
624
+ };
625
+ outputSchema: {
626
+ tasks: import('zod').ZodArray<import('zod').ZodObject<{
627
+ id: import('zod').ZodString;
628
+ content: import('zod').ZodString;
629
+ description: import('zod').ZodString;
630
+ dueDate: import('zod').ZodOptional<import('zod').ZodString>;
631
+ recurring: import('zod').ZodUnion<readonly [import('zod').ZodBoolean, import('zod').ZodString]>;
632
+ deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
633
+ priority: import('zod').ZodEnum<{
634
+ p1: "p1";
635
+ p2: "p2";
636
+ p3: "p3";
637
+ p4: "p4";
638
+ }>;
639
+ projectId: import('zod').ZodString;
640
+ sectionId: import('zod').ZodOptional<import('zod').ZodString>;
641
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
642
+ labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
643
+ duration: import('zod').ZodOptional<import('zod').ZodString>;
644
+ responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
645
+ isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
646
+ assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
647
+ isDeleted: import('zod').ZodOptional<import('zod').ZodBoolean>;
648
+ checked: import('zod').ZodBoolean;
649
+ completedAt: import('zod').ZodOptional<import('zod').ZodString>;
650
+ addedAt: import('zod').ZodOptional<import('zod').ZodString>;
651
+ }, import('zod/v4/core').$strip>>;
652
+ nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
653
+ totalCount: import('zod').ZodNumber;
654
+ hasMore: import('zod').ZodBoolean;
655
+ appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
656
+ };
657
+ annotations: {
658
+ readOnlyHint: true;
659
+ destructiveHint: false;
660
+ idempotentHint: true;
661
+ };
662
+ execute(args: {
663
+ daysCount: number;
664
+ limit: number;
665
+ labels?: string[] | undefined;
666
+ labelsOperator?: "and" | "or" | undefined;
667
+ startDate?: string | undefined;
668
+ overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
669
+ cursor?: string | undefined;
670
+ responsibleUser?: string | undefined;
671
+ responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
672
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
673
+ textContent: string;
674
+ structuredContent: {
675
+ tasks: {
676
+ id: string;
677
+ content: string;
678
+ description: string;
679
+ dueDate: string | undefined;
680
+ recurring: string | boolean;
681
+ deadlineDate: string | undefined;
682
+ priority: "p1" | "p2" | "p3" | "p4";
683
+ projectId: string;
684
+ sectionId: string | undefined;
685
+ parentId: string | undefined;
686
+ labels: string[];
687
+ duration: string | undefined;
688
+ responsibleUid: string | undefined;
689
+ assignedByUid: string | undefined;
690
+ isDeleted: true | undefined;
691
+ checked: boolean;
692
+ completedAt: string | undefined;
693
+ addedAt: string | undefined;
694
+ }[];
695
+ nextCursor: string | undefined;
696
+ totalCount: number;
697
+ hasMore: boolean;
698
+ appliedFilters: {
699
+ daysCount: number;
700
+ limit: number;
701
+ labels?: string[] | undefined;
702
+ labelsOperator?: "and" | "or" | undefined;
703
+ startDate?: string | undefined;
704
+ overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
705
+ cursor?: string | undefined;
706
+ responsibleUser?: string | undefined;
707
+ responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
708
+ };
709
+ };
710
+ }>;
711
+ };
712
+ findCompletedTasks: {
713
+ name: "find-completed-tasks";
714
+ description: string;
715
+ parameters: {
716
+ labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
717
+ labelsOperator: import('zod').ZodOptional<import('zod').ZodEnum<{
718
+ and: "and";
719
+ or: "or";
720
+ }>>;
721
+ getBy: import('zod').ZodDefault<import('zod').ZodEnum<{
722
+ due: "due";
723
+ completion: "completion";
724
+ }>>;
725
+ since: import('zod').ZodOptional<import('zod').ZodString>;
726
+ until: import('zod').ZodOptional<import('zod').ZodString>;
727
+ workspaceId: import('zod').ZodOptional<import('zod').ZodString>;
728
+ projectId: import('zod').ZodOptional<import('zod').ZodString>;
729
+ sectionId: import('zod').ZodOptional<import('zod').ZodString>;
730
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
731
+ responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
732
+ limit: import('zod').ZodDefault<import('zod').ZodNumber>;
733
+ cursor: import('zod').ZodOptional<import('zod').ZodString>;
734
+ };
735
+ outputSchema: {
736
+ tasks: import('zod').ZodArray<import('zod').ZodObject<{
737
+ id: import('zod').ZodString;
738
+ content: import('zod').ZodString;
739
+ description: import('zod').ZodString;
740
+ dueDate: import('zod').ZodOptional<import('zod').ZodString>;
741
+ recurring: import('zod').ZodUnion<readonly [import('zod').ZodBoolean, import('zod').ZodString]>;
742
+ deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
743
+ priority: import('zod').ZodEnum<{
744
+ p1: "p1";
745
+ p2: "p2";
746
+ p3: "p3";
747
+ p4: "p4";
748
+ }>;
749
+ projectId: import('zod').ZodString;
750
+ sectionId: import('zod').ZodOptional<import('zod').ZodString>;
751
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
752
+ labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
753
+ duration: import('zod').ZodOptional<import('zod').ZodString>;
754
+ responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
755
+ isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
756
+ assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
757
+ isDeleted: import('zod').ZodOptional<import('zod').ZodBoolean>;
758
+ checked: import('zod').ZodBoolean;
759
+ completedAt: import('zod').ZodOptional<import('zod').ZodString>;
760
+ addedAt: import('zod').ZodOptional<import('zod').ZodString>;
761
+ }, import('zod/v4/core').$strip>>;
762
+ nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
763
+ totalCount: import('zod').ZodNumber;
764
+ hasMore: import('zod').ZodBoolean;
765
+ appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
766
+ };
767
+ annotations: {
768
+ readOnlyHint: true;
769
+ destructiveHint: false;
770
+ idempotentHint: true;
771
+ };
772
+ execute(args: {
773
+ getBy: "due" | "completion";
774
+ limit: number;
775
+ labels?: string[] | undefined;
776
+ labelsOperator?: "and" | "or" | undefined;
777
+ since?: string | undefined;
778
+ until?: string | undefined;
779
+ workspaceId?: string | undefined;
780
+ projectId?: string | undefined;
781
+ sectionId?: string | undefined;
782
+ parentId?: string | undefined;
783
+ responsibleUser?: string | undefined;
784
+ cursor?: string | undefined;
785
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
786
+ textContent: string;
787
+ structuredContent: {
788
+ tasks: {
789
+ id: string;
790
+ content: string;
791
+ description: string;
792
+ dueDate: string | undefined;
793
+ recurring: string | boolean;
794
+ deadlineDate: string | undefined;
795
+ priority: "p1" | "p2" | "p3" | "p4";
796
+ projectId: string;
797
+ sectionId: string | undefined;
798
+ parentId: string | undefined;
799
+ labels: string[];
800
+ duration: string | undefined;
801
+ responsibleUid: string | undefined;
802
+ assignedByUid: string | undefined;
803
+ isDeleted: true | undefined;
804
+ checked: boolean;
805
+ completedAt: string | undefined;
806
+ addedAt: string | undefined;
807
+ }[];
808
+ nextCursor: string | undefined;
809
+ totalCount: number;
810
+ hasMore: boolean;
811
+ appliedFilters: {
812
+ since: string;
813
+ until: string;
814
+ getBy: "due" | "completion";
815
+ limit: number;
816
+ labels?: string[] | undefined;
817
+ labelsOperator?: "and" | "or" | undefined;
818
+ workspaceId?: string | undefined;
819
+ projectId?: string | undefined;
820
+ sectionId?: string | undefined;
821
+ parentId?: string | undefined;
822
+ responsibleUser?: string | undefined;
823
+ cursor?: string | undefined;
824
+ };
825
+ };
826
+ }>;
827
+ };
828
+ addProjects: {
829
+ name: "add-projects";
830
+ description: string;
831
+ parameters: {
832
+ projects: import('zod').ZodArray<import('zod').ZodObject<{
833
+ name: import('zod').ZodString;
834
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
835
+ isFavorite: import('zod').ZodOptional<import('zod').ZodBoolean>;
836
+ viewStyle: import('zod').ZodOptional<import('zod').ZodEnum<{
837
+ list: "list";
838
+ board: "board";
839
+ calendar: "calendar";
840
+ table: "table";
841
+ }>>;
842
+ description: import('zod').ZodOptional<import('zod').ZodString>;
843
+ color: import('zod').ZodPreprocess<import('zod').ZodOptional<import('zod').ZodEnum<{
844
+ berry_red: "berry_red";
845
+ red: "red";
846
+ orange: "orange";
847
+ yellow: "yellow";
848
+ olive_green: "olive_green";
849
+ lime_green: "lime_green";
850
+ green: "green";
851
+ mint_green: "mint_green";
852
+ teal: "teal";
853
+ sky_blue: "sky_blue";
854
+ light_blue: "light_blue";
855
+ blue: "blue";
856
+ grape: "grape";
857
+ violet: "violet";
858
+ lavender: "lavender";
859
+ magenta: "magenta";
860
+ salmon: "salmon";
861
+ charcoal: "charcoal";
862
+ grey: "grey";
863
+ taupe: "taupe";
864
+ }>>, unknown>;
865
+ workspace: import('zod').ZodOptional<import('zod').ZodString>;
866
+ }, import('zod/v4/core').$strip>>;
867
+ };
868
+ outputSchema: {
869
+ projects: import('zod').ZodArray<import('zod').ZodObject<{
870
+ id: import('zod').ZodString;
871
+ name: import('zod').ZodString;
872
+ description: import('zod').ZodString;
873
+ color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
874
+ berry_red: "berry_red";
875
+ red: "red";
876
+ orange: "orange";
877
+ yellow: "yellow";
878
+ olive_green: "olive_green";
879
+ lime_green: "lime_green";
880
+ green: "green";
881
+ mint_green: "mint_green";
882
+ teal: "teal";
883
+ sky_blue: "sky_blue";
884
+ light_blue: "light_blue";
885
+ blue: "blue";
886
+ grape: "grape";
887
+ violet: "violet";
888
+ lavender: "lavender";
889
+ magenta: "magenta";
890
+ salmon: "salmon";
891
+ charcoal: "charcoal";
892
+ grey: "grey";
893
+ taupe: "taupe";
894
+ }>>>;
895
+ isFavorite: import('zod').ZodBoolean;
896
+ isShared: import('zod').ZodBoolean;
897
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
898
+ inboxProject: import('zod').ZodBoolean;
899
+ viewStyle: import('zod').ZodString;
900
+ workspaceId: import('zod').ZodOptional<import('zod').ZodString>;
901
+ folderId: import('zod').ZodOptional<import('zod').ZodString>;
902
+ childOrder: import('zod').ZodNumber;
903
+ isArchived: import('zod').ZodBoolean;
904
+ }, import('zod/v4/core').$strip>>;
905
+ totalCount: import('zod').ZodNumber;
906
+ failures: import('zod').ZodArray<import('zod').ZodObject<{
907
+ item: import('zod').ZodString;
908
+ error: import('zod').ZodString;
909
+ code: import('zod').ZodOptional<import('zod').ZodString>;
910
+ }, import('zod/v4/core').$strip>>;
911
+ totalRequested: import('zod').ZodNumber;
912
+ successCount: import('zod').ZodNumber;
913
+ failureCount: import('zod').ZodNumber;
914
+ };
915
+ annotations: {
916
+ readOnlyHint: false;
917
+ destructiveHint: false;
918
+ idempotentHint: false;
919
+ };
920
+ execute({ projects }: {
921
+ projects: {
922
+ name: string;
923
+ parentId?: string | undefined;
924
+ isFavorite?: boolean | undefined;
925
+ viewStyle?: "list" | "board" | "calendar" | "table" | undefined;
926
+ description?: string | undefined;
927
+ 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;
928
+ workspace?: string | undefined;
929
+ }[];
930
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
931
+ textContent: string;
932
+ structuredContent: {
933
+ projects: {
934
+ id: string;
935
+ name: string;
936
+ description: string;
937
+ color: import('@doist/todoist-sdk').ColorKey;
938
+ isFavorite: boolean;
939
+ isShared: boolean;
940
+ parentId: string | undefined;
941
+ inboxProject: boolean;
942
+ viewStyle: string;
943
+ workspaceId: string | undefined;
944
+ folderId: string | undefined;
945
+ childOrder: number;
946
+ isArchived: boolean;
947
+ }[];
948
+ totalCount: number;
949
+ failures: {
950
+ item: string;
951
+ error: string;
952
+ }[];
953
+ totalRequested: number;
954
+ successCount: number;
955
+ failureCount: number;
956
+ };
957
+ }>;
958
+ };
959
+ updateProjects: {
960
+ name: "update-projects";
961
+ description: string;
962
+ parameters: {
963
+ projects: import('zod').ZodArray<import('zod').ZodObject<{
964
+ id: import('zod').ZodString;
965
+ name: import('zod').ZodOptional<import('zod').ZodString>;
966
+ isFavorite: import('zod').ZodOptional<import('zod').ZodBoolean>;
967
+ viewStyle: import('zod').ZodOptional<import('zod').ZodEnum<{
968
+ list: "list";
969
+ board: "board";
970
+ calendar: "calendar";
971
+ table: "table";
972
+ }>>;
973
+ description: import('zod').ZodOptional<import('zod').ZodPreprocess<import('zod').ZodString, unknown>>;
974
+ color: import('zod').ZodPreprocess<import('zod').ZodOptional<import('zod').ZodEnum<{
975
+ berry_red: "berry_red";
976
+ red: "red";
977
+ orange: "orange";
978
+ yellow: "yellow";
979
+ olive_green: "olive_green";
980
+ lime_green: "lime_green";
981
+ green: "green";
982
+ mint_green: "mint_green";
983
+ teal: "teal";
984
+ sky_blue: "sky_blue";
985
+ light_blue: "light_blue";
986
+ blue: "blue";
987
+ grape: "grape";
988
+ violet: "violet";
989
+ lavender: "lavender";
990
+ magenta: "magenta";
991
+ salmon: "salmon";
992
+ charcoal: "charcoal";
993
+ grey: "grey";
994
+ taupe: "taupe";
995
+ }>>, unknown>;
996
+ }, import('zod/v4/core').$strip>>;
997
+ };
998
+ outputSchema: {
999
+ projects: import('zod').ZodArray<import('zod').ZodObject<{
1000
+ id: import('zod').ZodString;
1001
+ name: import('zod').ZodString;
1002
+ description: import('zod').ZodString;
1003
+ color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
1004
+ berry_red: "berry_red";
1005
+ red: "red";
1006
+ orange: "orange";
1007
+ yellow: "yellow";
1008
+ olive_green: "olive_green";
1009
+ lime_green: "lime_green";
1010
+ green: "green";
1011
+ mint_green: "mint_green";
1012
+ teal: "teal";
1013
+ sky_blue: "sky_blue";
1014
+ light_blue: "light_blue";
1015
+ blue: "blue";
1016
+ grape: "grape";
1017
+ violet: "violet";
1018
+ lavender: "lavender";
1019
+ magenta: "magenta";
1020
+ salmon: "salmon";
1021
+ charcoal: "charcoal";
1022
+ grey: "grey";
1023
+ taupe: "taupe";
1024
+ }>>>;
1025
+ isFavorite: import('zod').ZodBoolean;
1026
+ isShared: import('zod').ZodBoolean;
1027
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
1028
+ inboxProject: import('zod').ZodBoolean;
1029
+ viewStyle: import('zod').ZodString;
1030
+ workspaceId: import('zod').ZodOptional<import('zod').ZodString>;
1031
+ folderId: import('zod').ZodOptional<import('zod').ZodString>;
1032
+ childOrder: import('zod').ZodNumber;
1033
+ isArchived: import('zod').ZodBoolean;
1034
+ }, import('zod/v4/core').$strip>>;
1035
+ totalCount: import('zod').ZodNumber;
1036
+ updatedProjectIds: import('zod').ZodArray<import('zod').ZodString>;
1037
+ failures: import('zod').ZodArray<import('zod').ZodObject<{
1038
+ item: import('zod').ZodString;
1039
+ error: import('zod').ZodString;
1040
+ code: import('zod').ZodOptional<import('zod').ZodString>;
1041
+ }, import('zod/v4/core').$strip>>;
1042
+ appliedOperations: import('zod').ZodObject<{
1043
+ updateCount: import('zod').ZodNumber;
1044
+ skippedCount: import('zod').ZodNumber;
1045
+ failureCount: import('zod').ZodNumber;
1046
+ }, import('zod/v4/core').$strip>;
1047
+ };
1048
+ annotations: {
1049
+ readOnlyHint: false;
1050
+ destructiveHint: true;
1051
+ idempotentHint: false;
1052
+ };
1053
+ execute(args: {
1054
+ projects: {
1055
+ id: string;
1056
+ name?: string | undefined;
1057
+ isFavorite?: boolean | undefined;
1058
+ viewStyle?: "list" | "board" | "calendar" | "table" | undefined;
1059
+ description?: string | undefined;
1060
+ 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;
1061
+ }[];
1062
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1063
+ textContent: string;
1064
+ structuredContent: {
1065
+ projects: {
1066
+ id: string;
1067
+ name: string;
1068
+ description: string;
1069
+ color: import('@doist/todoist-sdk').ColorKey;
1070
+ isFavorite: boolean;
1071
+ isShared: boolean;
1072
+ parentId: string | undefined;
1073
+ inboxProject: boolean;
1074
+ viewStyle: string;
1075
+ workspaceId: string | undefined;
1076
+ folderId: string | undefined;
1077
+ childOrder: number;
1078
+ isArchived: boolean;
1079
+ }[];
1080
+ totalCount: number;
1081
+ updatedProjectIds: string[];
1082
+ failures: {
1083
+ item: string;
1084
+ error: string;
1085
+ }[];
1086
+ appliedOperations: {
1087
+ updateCount: number;
1088
+ skippedCount: number;
1089
+ failureCount: number;
1090
+ };
1091
+ };
1092
+ }>;
1093
+ };
1094
+ findProjects: {
1095
+ name: "find-projects";
1096
+ description: string;
1097
+ parameters: {
1098
+ searchText: import('zod').ZodOptional<import('zod').ZodString>;
1099
+ limit: import('zod').ZodDefault<import('zod').ZodNumber>;
1100
+ cursor: import('zod').ZodOptional<import('zod').ZodString>;
1101
+ archivedStatus: import('zod').ZodOptional<import('zod').ZodEnum<{
1102
+ all: "all";
1103
+ active: "active";
1104
+ archived: "archived";
1105
+ }>>;
1106
+ };
1107
+ outputSchema: {
1108
+ projects: import('zod').ZodArray<import('zod').ZodObject<{
1109
+ id: import('zod').ZodString;
1110
+ name: import('zod').ZodString;
1111
+ description: import('zod').ZodString;
1112
+ color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
1113
+ berry_red: "berry_red";
1114
+ red: "red";
1115
+ orange: "orange";
1116
+ yellow: "yellow";
1117
+ olive_green: "olive_green";
1118
+ lime_green: "lime_green";
1119
+ green: "green";
1120
+ mint_green: "mint_green";
1121
+ teal: "teal";
1122
+ sky_blue: "sky_blue";
1123
+ light_blue: "light_blue";
1124
+ blue: "blue";
1125
+ grape: "grape";
1126
+ violet: "violet";
1127
+ lavender: "lavender";
1128
+ magenta: "magenta";
1129
+ salmon: "salmon";
1130
+ charcoal: "charcoal";
1131
+ grey: "grey";
1132
+ taupe: "taupe";
1133
+ }>>>;
1134
+ isFavorite: import('zod').ZodBoolean;
1135
+ isShared: import('zod').ZodBoolean;
1136
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
1137
+ inboxProject: import('zod').ZodBoolean;
1138
+ viewStyle: import('zod').ZodString;
1139
+ workspaceId: import('zod').ZodOptional<import('zod').ZodString>;
1140
+ folderId: import('zod').ZodOptional<import('zod').ZodString>;
1141
+ childOrder: import('zod').ZodNumber;
1142
+ isArchived: import('zod').ZodBoolean;
1143
+ }, import('zod/v4/core').$strip>>;
1144
+ nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
1145
+ totalCount: import('zod').ZodNumber;
1146
+ hasMore: import('zod').ZodBoolean;
1147
+ appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
1148
+ };
1149
+ annotations: {
1150
+ readOnlyHint: true;
1151
+ destructiveHint: false;
1152
+ idempotentHint: true;
1153
+ };
1154
+ execute(args: {
1155
+ limit: number;
1156
+ searchText?: string | undefined;
1157
+ cursor?: string | undefined;
1158
+ archivedStatus?: "all" | "active" | "archived" | undefined;
1159
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1160
+ textContent: string;
1161
+ structuredContent: {
1162
+ projects: {
1163
+ id: string;
1164
+ name: string;
1165
+ description: string;
1166
+ color: import('@doist/todoist-sdk').ColorKey;
1167
+ isFavorite: boolean;
1168
+ isShared: boolean;
1169
+ parentId: string | undefined;
1170
+ inboxProject: boolean;
1171
+ viewStyle: string;
1172
+ workspaceId: string | undefined;
1173
+ folderId: string | undefined;
1174
+ childOrder: number;
1175
+ isArchived: boolean;
1176
+ }[];
1177
+ nextCursor: string | undefined;
1178
+ totalCount: number;
1179
+ hasMore: boolean;
1180
+ appliedFilters: {
1181
+ limit: number;
1182
+ searchText?: string | undefined;
1183
+ cursor?: string | undefined;
1184
+ archivedStatus?: "all" | "active" | "archived" | undefined;
1185
+ };
1186
+ };
1187
+ }>;
1188
+ };
1189
+ projectManagement: {
1190
+ name: "project-management";
1191
+ description: string;
1192
+ parameters: {
1193
+ action: import('zod').ZodEnum<{
1194
+ archive: "archive";
1195
+ unarchive: "unarchive";
1196
+ }>;
1197
+ projectId: import('zod').ZodString;
1198
+ };
1199
+ outputSchema: {
1200
+ project: import('zod').ZodObject<{
1201
+ id: import('zod').ZodString;
1202
+ name: import('zod').ZodString;
1203
+ description: import('zod').ZodString;
1204
+ color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
1205
+ berry_red: "berry_red";
1206
+ red: "red";
1207
+ orange: "orange";
1208
+ yellow: "yellow";
1209
+ olive_green: "olive_green";
1210
+ lime_green: "lime_green";
1211
+ green: "green";
1212
+ mint_green: "mint_green";
1213
+ teal: "teal";
1214
+ sky_blue: "sky_blue";
1215
+ light_blue: "light_blue";
1216
+ blue: "blue";
1217
+ grape: "grape";
1218
+ violet: "violet";
1219
+ lavender: "lavender";
1220
+ magenta: "magenta";
1221
+ salmon: "salmon";
1222
+ charcoal: "charcoal";
1223
+ grey: "grey";
1224
+ taupe: "taupe";
1225
+ }>>>;
1226
+ isFavorite: import('zod').ZodBoolean;
1227
+ isShared: import('zod').ZodBoolean;
1228
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
1229
+ inboxProject: import('zod').ZodBoolean;
1230
+ viewStyle: import('zod').ZodString;
1231
+ workspaceId: import('zod').ZodOptional<import('zod').ZodString>;
1232
+ folderId: import('zod').ZodOptional<import('zod').ZodString>;
1233
+ childOrder: import('zod').ZodNumber;
1234
+ isArchived: import('zod').ZodBoolean;
1235
+ }, import('zod/v4/core').$strip>;
1236
+ success: import('zod').ZodBoolean;
1237
+ };
1238
+ annotations: {
1239
+ readOnlyHint: false;
1240
+ destructiveHint: false;
1241
+ idempotentHint: true;
1242
+ };
1243
+ execute(args: {
1244
+ action: "archive" | "unarchive";
1245
+ projectId: string;
1246
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1247
+ textContent: string;
1248
+ structuredContent: {
1249
+ project: {
1250
+ id: string;
1251
+ name: string;
1252
+ description: string;
1253
+ color: import('@doist/todoist-sdk').ColorKey;
1254
+ isFavorite: boolean;
1255
+ isShared: boolean;
1256
+ parentId: string | undefined;
1257
+ inboxProject: boolean;
1258
+ viewStyle: string;
1259
+ workspaceId: string | undefined;
1260
+ folderId: string | undefined;
1261
+ childOrder: number;
1262
+ isArchived: boolean;
1263
+ };
1264
+ success: true;
1265
+ };
1266
+ }>;
1267
+ };
1268
+ projectMove: {
1269
+ name: "project-move";
1270
+ description: string;
1271
+ parameters: {
1272
+ action: import('zod').ZodEnum<{
1273
+ "move-to-workspace": "move-to-workspace";
1274
+ "move-to-personal": "move-to-personal";
1275
+ }>;
1276
+ projectId: import('zod').ZodString;
1277
+ workspaceId: import('zod').ZodOptional<import('zod').ZodString>;
1278
+ folderId: import('zod').ZodOptional<import('zod').ZodString>;
1279
+ visibility: import('zod').ZodOptional<import('zod').ZodEnum<{
1280
+ public: "public";
1281
+ restricted: "restricted";
1282
+ team: "team";
1283
+ }>>;
1284
+ };
1285
+ outputSchema: {
1286
+ project: import('zod').ZodObject<{
1287
+ id: import('zod').ZodString;
1288
+ name: import('zod').ZodString;
1289
+ description: import('zod').ZodString;
1290
+ color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
1291
+ berry_red: "berry_red";
1292
+ red: "red";
1293
+ orange: "orange";
1294
+ yellow: "yellow";
1295
+ olive_green: "olive_green";
1296
+ lime_green: "lime_green";
1297
+ green: "green";
1298
+ mint_green: "mint_green";
1299
+ teal: "teal";
1300
+ sky_blue: "sky_blue";
1301
+ light_blue: "light_blue";
1302
+ blue: "blue";
1303
+ grape: "grape";
1304
+ violet: "violet";
1305
+ lavender: "lavender";
1306
+ magenta: "magenta";
1307
+ salmon: "salmon";
1308
+ charcoal: "charcoal";
1309
+ grey: "grey";
1310
+ taupe: "taupe";
1311
+ }>>>;
1312
+ isFavorite: import('zod').ZodBoolean;
1313
+ isShared: import('zod').ZodBoolean;
1314
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
1315
+ inboxProject: import('zod').ZodBoolean;
1316
+ viewStyle: import('zod').ZodString;
1317
+ workspaceId: import('zod').ZodOptional<import('zod').ZodString>;
1318
+ folderId: import('zod').ZodOptional<import('zod').ZodString>;
1319
+ childOrder: import('zod').ZodNumber;
1320
+ isArchived: import('zod').ZodBoolean;
1321
+ }, import('zod/v4/core').$strip>;
1322
+ success: import('zod').ZodBoolean;
1323
+ };
1324
+ annotations: {
1325
+ readOnlyHint: false;
1326
+ destructiveHint: true;
1327
+ idempotentHint: true;
1328
+ };
1329
+ execute(args: {
1330
+ action: "move-to-workspace" | "move-to-personal";
1331
+ projectId: string;
1332
+ workspaceId?: string | undefined;
1333
+ folderId?: string | undefined;
1334
+ visibility?: "public" | "restricted" | "team" | undefined;
1335
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1336
+ textContent: string;
1337
+ structuredContent: {
1338
+ project: {
1339
+ id: string;
1340
+ name: string;
1341
+ description: string;
1342
+ color: import('@doist/todoist-sdk').ColorKey;
1343
+ isFavorite: boolean;
1344
+ isShared: boolean;
1345
+ parentId: string | undefined;
1346
+ inboxProject: boolean;
1347
+ viewStyle: string;
1348
+ workspaceId: string | undefined;
1349
+ folderId: string | undefined;
1350
+ childOrder: number;
1351
+ isArchived: boolean;
1352
+ };
1353
+ success: true;
1354
+ };
1355
+ }>;
1356
+ };
1357
+ addSections: {
1358
+ name: "add-sections";
1359
+ description: string;
1360
+ parameters: {
1361
+ sections: import('zod').ZodArray<import('zod').ZodObject<{
1362
+ name: import('zod').ZodString;
1363
+ projectId: import('zod').ZodString;
1364
+ description: import('zod').ZodOptional<import('zod').ZodString>;
1365
+ }, import('zod/v4/core').$strip>>;
1366
+ };
1367
+ outputSchema: {
1368
+ sections: import('zod').ZodArray<import('zod').ZodObject<{
1369
+ id: import('zod').ZodString;
1370
+ name: import('zod').ZodString;
1371
+ sectionOrder: import('zod').ZodNumber;
1372
+ description: import('zod').ZodOptional<import('zod').ZodString>;
1373
+ }, import('zod/v4/core').$strip>>;
1374
+ totalCount: import('zod').ZodNumber;
1375
+ failures: import('zod').ZodArray<import('zod').ZodObject<{
1376
+ item: import('zod').ZodString;
1377
+ error: import('zod').ZodString;
1378
+ code: import('zod').ZodOptional<import('zod').ZodString>;
1379
+ }, import('zod/v4/core').$strip>>;
1380
+ totalRequested: import('zod').ZodNumber;
1381
+ successCount: import('zod').ZodNumber;
1382
+ failureCount: import('zod').ZodNumber;
1383
+ };
1384
+ annotations: {
1385
+ readOnlyHint: false;
1386
+ destructiveHint: false;
1387
+ idempotentHint: false;
1388
+ };
1389
+ execute({ sections }: {
1390
+ sections: {
1391
+ name: string;
1392
+ projectId: string;
1393
+ description?: string | undefined;
1394
+ }[];
1395
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1396
+ textContent: string;
1397
+ structuredContent: {
1398
+ sections: {
1399
+ id: string;
1400
+ name: string;
1401
+ sectionOrder: number;
1402
+ description?: string | undefined;
1403
+ }[];
1404
+ totalCount: number;
1405
+ failures: {
1406
+ item: string;
1407
+ error: string;
1408
+ }[];
1409
+ totalRequested: number;
1410
+ successCount: number;
1411
+ failureCount: number;
1412
+ };
1413
+ }>;
1414
+ };
1415
+ updateSections: {
1416
+ name: "update-sections";
1417
+ description: string;
1418
+ parameters: {
1419
+ sections: import('zod').ZodArray<import('zod').ZodObject<{
1420
+ id: import('zod').ZodString;
1421
+ name: import('zod').ZodOptional<import('zod').ZodString>;
1422
+ description: import('zod').ZodOptional<import('zod').ZodPreprocess<import('zod').ZodString, unknown>>;
1423
+ }, import('zod/v4/core').$strip>>;
1424
+ };
1425
+ outputSchema: {
1426
+ sections: import('zod').ZodArray<import('zod').ZodObject<{
1427
+ id: import('zod').ZodString;
1428
+ name: import('zod').ZodString;
1429
+ sectionOrder: import('zod').ZodNumber;
1430
+ description: import('zod').ZodOptional<import('zod').ZodString>;
1431
+ }, import('zod/v4/core').$strip>>;
1432
+ totalCount: import('zod').ZodNumber;
1433
+ updatedSectionIds: import('zod').ZodArray<import('zod').ZodString>;
1434
+ failures: import('zod').ZodArray<import('zod').ZodObject<{
1435
+ item: import('zod').ZodString;
1436
+ error: import('zod').ZodString;
1437
+ code: import('zod').ZodOptional<import('zod').ZodString>;
1438
+ }, import('zod/v4/core').$strip>>;
1439
+ appliedOperations: import('zod').ZodObject<{
1440
+ updateCount: import('zod').ZodNumber;
1441
+ failureCount: import('zod').ZodNumber;
1442
+ }, import('zod/v4/core').$strip>;
1443
+ };
1444
+ annotations: {
1445
+ readOnlyHint: false;
1446
+ destructiveHint: true;
1447
+ idempotentHint: false;
1448
+ };
1449
+ execute({ sections }: {
1450
+ sections: {
1451
+ id: string;
1452
+ name?: string | undefined;
1453
+ description?: string | undefined;
1454
+ }[];
1455
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1456
+ textContent: string;
1457
+ structuredContent: {
1458
+ sections: {
1459
+ id: string;
1460
+ name: string;
1461
+ sectionOrder: number;
1462
+ description?: string | undefined;
1463
+ }[];
1464
+ totalCount: number;
1465
+ updatedSectionIds: string[];
1466
+ failures: {
1467
+ item: string;
1468
+ error: string;
1469
+ }[];
1470
+ appliedOperations: {
1471
+ updateCount: number;
1472
+ failureCount: number;
1473
+ };
1474
+ };
1475
+ }>;
1476
+ };
1477
+ findSections: {
1478
+ name: "find-sections";
1479
+ description: string;
1480
+ parameters: {
1481
+ projectId: import('zod').ZodString;
1482
+ searchText: import('zod').ZodOptional<import('zod').ZodString>;
1483
+ };
1484
+ outputSchema: {
1485
+ sections: import('zod').ZodArray<import('zod').ZodObject<{
1486
+ id: import('zod').ZodString;
1487
+ name: import('zod').ZodString;
1488
+ sectionOrder: import('zod').ZodNumber;
1489
+ description: import('zod').ZodOptional<import('zod').ZodString>;
1490
+ }, import('zod/v4/core').$strip>>;
1491
+ totalCount: import('zod').ZodNumber;
1492
+ appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
1493
+ };
1494
+ annotations: {
1495
+ readOnlyHint: true;
1496
+ destructiveHint: false;
1497
+ idempotentHint: true;
1498
+ };
1499
+ execute(args: {
1500
+ projectId: string;
1501
+ searchText?: string | undefined;
1502
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1503
+ textContent: string;
1504
+ structuredContent: {
1505
+ sections: {
1506
+ id: string;
1507
+ name: string;
1508
+ sectionOrder: number;
1509
+ description?: string | undefined;
1510
+ }[];
1511
+ totalCount: number;
1512
+ appliedFilters: {
1513
+ projectId: string;
1514
+ searchText?: string | undefined;
1515
+ };
1516
+ };
1517
+ }>;
1518
+ };
1519
+ addComments: {
1520
+ name: "add-comments";
1521
+ description: string;
1522
+ parameters: {
1523
+ comments: import('zod').ZodArray<import('zod').ZodObject<{
1524
+ taskId: import('zod').ZodOptional<import('zod').ZodString>;
1525
+ projectId: import('zod').ZodOptional<import('zod').ZodString>;
1526
+ content: import('zod').ZodString;
1527
+ notifyUsers: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
1528
+ }, import('zod/v4/core').$strip>>;
1529
+ };
1530
+ outputSchema: {
1531
+ comments: import('zod').ZodArray<import('zod').ZodObject<{
1532
+ id: import('zod').ZodString;
1533
+ taskId: import('zod').ZodOptional<import('zod').ZodString>;
1534
+ projectId: import('zod').ZodOptional<import('zod').ZodString>;
1535
+ content: import('zod').ZodString;
1536
+ postedAt: import('zod').ZodString;
1537
+ postedUid: import('zod').ZodOptional<import('zod').ZodString>;
1538
+ notifiedUserIds: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
1539
+ fileAttachment: import('zod').ZodOptional<import('zod').ZodObject<{
1540
+ resourceType: import('zod').ZodString;
1541
+ fileName: import('zod').ZodOptional<import('zod').ZodString>;
1542
+ fileSize: import('zod').ZodOptional<import('zod').ZodNumber>;
1543
+ fileType: import('zod').ZodOptional<import('zod').ZodString>;
1544
+ fileUrl: import('zod').ZodOptional<import('zod').ZodString>;
1545
+ fileDuration: import('zod').ZodOptional<import('zod').ZodNumber>;
1546
+ uploadState: import('zod').ZodOptional<import('zod').ZodEnum<{
1547
+ pending: "pending";
1548
+ completed: "completed";
1549
+ }>>;
1550
+ url: import('zod').ZodOptional<import('zod').ZodString>;
1551
+ title: import('zod').ZodOptional<import('zod').ZodString>;
1552
+ image: import('zod').ZodOptional<import('zod').ZodString>;
1553
+ imageWidth: import('zod').ZodOptional<import('zod').ZodNumber>;
1554
+ imageHeight: import('zod').ZodOptional<import('zod').ZodNumber>;
1555
+ }, import('zod/v4/core').$strip>>;
1556
+ }, import('zod/v4/core').$strip>>;
1557
+ totalCount: import('zod').ZodNumber;
1558
+ addedCommentIds: import('zod').ZodArray<import('zod').ZodString>;
1559
+ failures: import('zod').ZodArray<import('zod').ZodObject<{
1560
+ item: import('zod').ZodString;
1561
+ error: import('zod').ZodString;
1562
+ code: import('zod').ZodOptional<import('zod').ZodString>;
1563
+ }, import('zod/v4/core').$strip>>;
1564
+ totalRequested: import('zod').ZodNumber;
1565
+ successCount: import('zod').ZodNumber;
1566
+ failureCount: import('zod').ZodNumber;
1567
+ };
1568
+ annotations: {
1569
+ readOnlyHint: false;
1570
+ destructiveHint: false;
1571
+ idempotentHint: false;
1572
+ openWorldHint: true;
1573
+ };
1574
+ execute(args: {
1575
+ comments: {
1576
+ content: string;
1577
+ taskId?: string | undefined;
1578
+ projectId?: string | undefined;
1579
+ notifyUsers?: string[] | undefined;
1580
+ }[];
1581
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1582
+ textContent: string;
1583
+ structuredContent: {
1584
+ comments: {
1585
+ id: string;
1586
+ taskId: string | undefined;
1587
+ projectId: string | undefined;
1588
+ content: string;
1589
+ postedAt: string;
1590
+ postedUid: string;
1591
+ notifiedUserIds: string[] | undefined;
1592
+ fileAttachment: {
1593
+ resourceType: string;
1594
+ fileName: string | undefined;
1595
+ fileSize: number | undefined;
1596
+ fileType: string | undefined;
1597
+ fileUrl: string | undefined;
1598
+ fileDuration: number | undefined;
1599
+ uploadState: "pending" | "completed" | undefined;
1600
+ url: string | undefined;
1601
+ title: string | undefined;
1602
+ image: string | undefined;
1603
+ imageWidth: number | undefined;
1604
+ imageHeight: number | undefined;
1605
+ } | undefined;
1606
+ }[];
1607
+ totalCount: number;
1608
+ addedCommentIds: string[];
1609
+ failures: {
1610
+ item: string;
1611
+ error: string;
1612
+ }[];
1613
+ totalRequested: number;
1614
+ successCount: number;
1615
+ failureCount: number;
1616
+ };
1617
+ }>;
1618
+ };
1619
+ findComments: {
1620
+ name: "find-comments";
1621
+ description: string;
1622
+ parameters: {
1623
+ taskId: import('zod').ZodOptional<import('zod').ZodString>;
1624
+ projectId: import('zod').ZodOptional<import('zod').ZodString>;
1625
+ commentId: import('zod').ZodOptional<import('zod').ZodString>;
1626
+ cursor: import('zod').ZodOptional<import('zod').ZodString>;
1627
+ limit: import('zod').ZodOptional<import('zod').ZodNumber>;
1628
+ };
1629
+ outputSchema: {
1630
+ comments: import('zod').ZodArray<import('zod').ZodObject<{
1631
+ id: import('zod').ZodString;
1632
+ taskId: import('zod').ZodOptional<import('zod').ZodString>;
1633
+ projectId: import('zod').ZodOptional<import('zod').ZodString>;
1634
+ content: import('zod').ZodString;
1635
+ postedAt: import('zod').ZodString;
1636
+ postedUid: import('zod').ZodOptional<import('zod').ZodString>;
1637
+ notifiedUserIds: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
1638
+ fileAttachment: import('zod').ZodOptional<import('zod').ZodObject<{
1639
+ resourceType: import('zod').ZodString;
1640
+ fileName: import('zod').ZodOptional<import('zod').ZodString>;
1641
+ fileSize: import('zod').ZodOptional<import('zod').ZodNumber>;
1642
+ fileType: import('zod').ZodOptional<import('zod').ZodString>;
1643
+ fileUrl: import('zod').ZodOptional<import('zod').ZodString>;
1644
+ fileDuration: import('zod').ZodOptional<import('zod').ZodNumber>;
1645
+ uploadState: import('zod').ZodOptional<import('zod').ZodEnum<{
1646
+ pending: "pending";
1647
+ completed: "completed";
1648
+ }>>;
1649
+ url: import('zod').ZodOptional<import('zod').ZodString>;
1650
+ title: import('zod').ZodOptional<import('zod').ZodString>;
1651
+ image: import('zod').ZodOptional<import('zod').ZodString>;
1652
+ imageWidth: import('zod').ZodOptional<import('zod').ZodNumber>;
1653
+ imageHeight: import('zod').ZodOptional<import('zod').ZodNumber>;
1654
+ }, import('zod/v4/core').$strip>>;
1655
+ }, import('zod/v4/core').$strip>>;
1656
+ searchType: import('zod').ZodString;
1657
+ searchId: import('zod').ZodString;
1658
+ hasMore: import('zod').ZodBoolean;
1659
+ nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
1660
+ totalCount: import('zod').ZodNumber;
1661
+ };
1662
+ annotations: {
1663
+ readOnlyHint: true;
1664
+ destructiveHint: false;
1665
+ idempotentHint: true;
1666
+ };
1667
+ execute(args: {
1668
+ taskId?: string | undefined;
1669
+ projectId?: string | undefined;
1670
+ commentId?: string | undefined;
1671
+ cursor?: string | undefined;
1672
+ limit?: number | undefined;
1673
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1674
+ textContent: string;
1675
+ structuredContent: {
1676
+ comments: {
1677
+ id: string;
1678
+ taskId: string | undefined;
1679
+ projectId: string | undefined;
1680
+ content: string;
1681
+ postedAt: string;
1682
+ postedUid: string;
1683
+ notifiedUserIds: string[] | undefined;
1684
+ fileAttachment: {
1685
+ resourceType: string;
1686
+ fileName: string | undefined;
1687
+ fileSize: number | undefined;
1688
+ fileType: string | undefined;
1689
+ fileUrl: string | undefined;
1690
+ fileDuration: number | undefined;
1691
+ uploadState: "pending" | "completed" | undefined;
1692
+ url: string | undefined;
1693
+ title: string | undefined;
1694
+ image: string | undefined;
1695
+ imageWidth: number | undefined;
1696
+ imageHeight: number | undefined;
1697
+ } | undefined;
1698
+ }[];
1699
+ searchType: string;
1700
+ searchId: string;
1701
+ hasMore: boolean;
1702
+ nextCursor: string | undefined;
1703
+ totalCount: number;
1704
+ };
1705
+ }>;
1706
+ };
1707
+ updateComments: {
1708
+ name: "update-comments";
1709
+ description: string;
1710
+ parameters: {
1711
+ comments: import('zod').ZodArray<import('zod').ZodObject<{
1712
+ id: import('zod').ZodString;
1713
+ content: import('zod').ZodString;
1714
+ }, import('zod/v4/core').$strip>>;
1715
+ };
1716
+ outputSchema: {
1717
+ comments: import('zod').ZodArray<import('zod').ZodObject<{
1718
+ id: import('zod').ZodString;
1719
+ taskId: import('zod').ZodOptional<import('zod').ZodString>;
1720
+ projectId: import('zod').ZodOptional<import('zod').ZodString>;
1721
+ content: import('zod').ZodString;
1722
+ postedAt: import('zod').ZodString;
1723
+ postedUid: import('zod').ZodOptional<import('zod').ZodString>;
1724
+ notifiedUserIds: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
1725
+ fileAttachment: import('zod').ZodOptional<import('zod').ZodObject<{
1726
+ resourceType: import('zod').ZodString;
1727
+ fileName: import('zod').ZodOptional<import('zod').ZodString>;
1728
+ fileSize: import('zod').ZodOptional<import('zod').ZodNumber>;
1729
+ fileType: import('zod').ZodOptional<import('zod').ZodString>;
1730
+ fileUrl: import('zod').ZodOptional<import('zod').ZodString>;
1731
+ fileDuration: import('zod').ZodOptional<import('zod').ZodNumber>;
1732
+ uploadState: import('zod').ZodOptional<import('zod').ZodEnum<{
1733
+ pending: "pending";
1734
+ completed: "completed";
1735
+ }>>;
1736
+ url: import('zod').ZodOptional<import('zod').ZodString>;
1737
+ title: import('zod').ZodOptional<import('zod').ZodString>;
1738
+ image: import('zod').ZodOptional<import('zod').ZodString>;
1739
+ imageWidth: import('zod').ZodOptional<import('zod').ZodNumber>;
1740
+ imageHeight: import('zod').ZodOptional<import('zod').ZodNumber>;
1741
+ }, import('zod/v4/core').$strip>>;
1742
+ }, import('zod/v4/core').$strip>>;
1743
+ totalCount: import('zod').ZodNumber;
1744
+ updatedCommentIds: import('zod').ZodArray<import('zod').ZodString>;
1745
+ failures: import('zod').ZodArray<import('zod').ZodObject<{
1746
+ item: import('zod').ZodString;
1747
+ error: import('zod').ZodString;
1748
+ code: import('zod').ZodOptional<import('zod').ZodString>;
1749
+ }, import('zod/v4/core').$strip>>;
1750
+ appliedOperations: import('zod').ZodObject<{
1751
+ updateCount: import('zod').ZodNumber;
1752
+ failureCount: import('zod').ZodNumber;
1753
+ }, import('zod/v4/core').$strip>;
1754
+ };
1755
+ annotations: {
1756
+ readOnlyHint: false;
1757
+ destructiveHint: true;
1758
+ idempotentHint: false;
1759
+ };
1760
+ execute(args: {
1761
+ comments: {
1762
+ id: string;
1763
+ content: string;
1764
+ }[];
1765
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1766
+ textContent: string;
1767
+ structuredContent: {
1768
+ comments: {
1769
+ id: string;
1770
+ taskId: string | undefined;
1771
+ projectId: string | undefined;
1772
+ content: string;
1773
+ postedAt: string;
1774
+ postedUid: string;
1775
+ notifiedUserIds: string[] | undefined;
1776
+ fileAttachment: {
1777
+ resourceType: string;
1778
+ fileName: string | undefined;
1779
+ fileSize: number | undefined;
1780
+ fileType: string | undefined;
1781
+ fileUrl: string | undefined;
1782
+ fileDuration: number | undefined;
1783
+ uploadState: "pending" | "completed" | undefined;
1784
+ url: string | undefined;
1785
+ title: string | undefined;
1786
+ image: string | undefined;
1787
+ imageWidth: number | undefined;
1788
+ imageHeight: number | undefined;
1789
+ } | undefined;
1790
+ }[];
1791
+ totalCount: number;
1792
+ updatedCommentIds: string[];
1793
+ failures: {
1794
+ item: string;
1795
+ error: string;
1796
+ }[];
1797
+ appliedOperations: {
1798
+ updateCount: number;
1799
+ failureCount: number;
1800
+ };
1801
+ };
1802
+ }>;
1803
+ };
1804
+ addReminders: {
1805
+ name: "add-reminders";
1806
+ description: string;
1807
+ parameters: {
1808
+ reminders: import('zod').ZodArray<import('zod').ZodDiscriminatedUnion<[import('zod').ZodObject<{
1809
+ type: import('zod').ZodLiteral<"relative">;
1810
+ taskId: import('zod').ZodString;
1811
+ minuteOffset: import('zod').ZodNumber;
1812
+ service: import('zod').ZodOptional<import('zod').ZodEnum<{
1813
+ push: "push";
1814
+ email: "email";
1815
+ }>>;
1816
+ isUrgent: import('zod').ZodOptional<import('zod').ZodBoolean>;
1817
+ notifyUser: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
1818
+ }, import('zod/v4/core').$strip>, import('zod').ZodObject<{
1819
+ type: import('zod').ZodLiteral<"absolute">;
1820
+ taskId: import('zod').ZodString;
1821
+ due: import('zod').ZodObject<{
1822
+ date: import('zod').ZodOptional<import('zod').ZodString>;
1823
+ string: import('zod').ZodOptional<import('zod').ZodString>;
1824
+ timezone: import('zod').ZodOptional<import('zod').ZodString>;
1825
+ lang: import('zod').ZodOptional<import('zod').ZodString>;
1826
+ }, import('zod/v4/core').$strip>;
1827
+ service: import('zod').ZodOptional<import('zod').ZodEnum<{
1828
+ push: "push";
1829
+ email: "email";
1830
+ }>>;
1831
+ isUrgent: import('zod').ZodOptional<import('zod').ZodBoolean>;
1832
+ notifyUser: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
1833
+ }, import('zod/v4/core').$strip>, import('zod').ZodObject<{
1834
+ type: import('zod').ZodLiteral<"location">;
1835
+ taskId: import('zod').ZodString;
1836
+ name: import('zod').ZodString;
1837
+ locLat: import('zod').ZodString;
1838
+ locLong: import('zod').ZodString;
1839
+ locTrigger: import('zod').ZodEnum<{
1840
+ on_enter: "on_enter";
1841
+ on_leave: "on_leave";
1842
+ }>;
1843
+ radius: import('zod').ZodOptional<import('zod').ZodNumber>;
1844
+ notifyUser: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
1845
+ }, import('zod/v4/core').$strip>], "type">>;
1846
+ };
1847
+ outputSchema: {
1848
+ reminders: import('zod').ZodArray<import('zod').ZodObject<{
1849
+ id: import('zod').ZodString;
1850
+ taskId: import('zod').ZodString;
1851
+ type: import('zod').ZodEnum<{
1852
+ location: "location";
1853
+ absolute: "absolute";
1854
+ relative: "relative";
1855
+ }>;
1856
+ notifyUid: import('zod').ZodOptional<import('zod').ZodString>;
1857
+ minuteOffset: import('zod').ZodOptional<import('zod').ZodNumber>;
1858
+ due: import('zod').ZodOptional<import('zod').ZodObject<{
1859
+ isRecurring: import('zod').ZodBoolean;
1860
+ string: import('zod').ZodString;
1861
+ date: import('zod').ZodString;
1862
+ datetime: import('zod').ZodOptional<import('zod').ZodString>;
1863
+ timezone: import('zod').ZodOptional<import('zod').ZodString>;
1864
+ }, import('zod/v4/core').$strip>>;
1865
+ name: import('zod').ZodOptional<import('zod').ZodString>;
1866
+ locLat: import('zod').ZodOptional<import('zod').ZodString>;
1867
+ locLong: import('zod').ZodOptional<import('zod').ZodString>;
1868
+ locTrigger: import('zod').ZodOptional<import('zod').ZodEnum<{
1869
+ on_enter: "on_enter";
1870
+ on_leave: "on_leave";
1871
+ }>>;
1872
+ radius: import('zod').ZodOptional<import('zod').ZodNumber>;
1873
+ isUrgent: import('zod').ZodOptional<import('zod').ZodBoolean>;
1874
+ }, import('zod/v4/core').$strip>>;
1875
+ totalCount: import('zod').ZodNumber;
1876
+ addedReminderIds: import('zod').ZodArray<import('zod').ZodString>;
1877
+ failures: import('zod').ZodArray<import('zod').ZodObject<{
1878
+ item: import('zod').ZodString;
1879
+ error: import('zod').ZodString;
1880
+ code: import('zod').ZodOptional<import('zod').ZodString>;
1881
+ }, import('zod/v4/core').$strip>>;
1882
+ totalRequested: import('zod').ZodNumber;
1883
+ successCount: import('zod').ZodNumber;
1884
+ failureCount: import('zod').ZodNumber;
1885
+ };
1886
+ annotations: {
1887
+ readOnlyHint: false;
1888
+ destructiveHint: false;
1889
+ idempotentHint: false;
1890
+ openWorldHint: true;
1891
+ };
1892
+ execute(args: {
1893
+ reminders: ({
1894
+ type: "relative";
1895
+ taskId: string;
1896
+ minuteOffset: number;
1897
+ service?: "push" | "email" | undefined;
1898
+ isUrgent?: boolean | undefined;
1899
+ notifyUser?: string | undefined;
1900
+ } | {
1901
+ type: "absolute";
1902
+ taskId: string;
1903
+ due: {
1904
+ date?: string | undefined;
1905
+ string?: string | undefined;
1906
+ timezone?: string | undefined;
1907
+ lang?: string | undefined;
1908
+ };
1909
+ service?: "push" | "email" | undefined;
1910
+ isUrgent?: boolean | undefined;
1911
+ notifyUser?: string | undefined;
1912
+ } | {
1913
+ type: "location";
1914
+ taskId: string;
1915
+ name: string;
1916
+ locLat: string;
1917
+ locLong: string;
1918
+ locTrigger: "on_enter" | "on_leave";
1919
+ radius?: number | undefined;
1920
+ notifyUser?: string | undefined;
1921
+ })[];
1922
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1923
+ textContent: string;
1924
+ structuredContent: {
1925
+ reminders: ({
1926
+ minuteOffset: number;
1927
+ due: {
1928
+ isRecurring: boolean;
1929
+ string: string;
1930
+ date: string;
1931
+ datetime: string | undefined;
1932
+ timezone: string | undefined;
1933
+ } | undefined;
1934
+ isUrgent: boolean | undefined;
1935
+ id: string;
1936
+ taskId: string;
1937
+ type: "location" | "absolute" | "relative";
1938
+ notifyUid: string;
1939
+ } | {
1940
+ due: {
1941
+ isRecurring: boolean;
1942
+ string: string;
1943
+ date: string;
1944
+ datetime: string | undefined;
1945
+ timezone: string | undefined;
1946
+ };
1947
+ isUrgent: boolean | undefined;
1948
+ id: string;
1949
+ taskId: string;
1950
+ type: "location" | "absolute" | "relative";
1951
+ notifyUid: string;
1952
+ } | {
1953
+ name: string;
1954
+ locLat: string;
1955
+ locLong: string;
1956
+ locTrigger: "on_enter" | "on_leave";
1957
+ radius: number;
1958
+ id: string;
1959
+ taskId: string;
1960
+ type: "location" | "absolute" | "relative";
1961
+ notifyUid: string;
1962
+ })[];
1963
+ totalCount: number;
1964
+ addedReminderIds: string[];
1965
+ failures: {
1966
+ item: string;
1967
+ error: string;
1968
+ }[];
1969
+ totalRequested: number;
1970
+ successCount: number;
1971
+ failureCount: number;
1972
+ };
1973
+ }>;
1974
+ };
1975
+ findReminders: {
1976
+ name: "find-reminders";
1977
+ description: string;
1978
+ parameters: {
1979
+ taskId: import('zod').ZodOptional<import('zod').ZodString>;
1980
+ reminderId: import('zod').ZodOptional<import('zod').ZodString>;
1981
+ locationReminderId: import('zod').ZodOptional<import('zod').ZodString>;
1982
+ };
1983
+ outputSchema: {
1984
+ reminders: import('zod').ZodArray<import('zod').ZodObject<{
1985
+ id: import('zod').ZodString;
1986
+ taskId: import('zod').ZodString;
1987
+ type: import('zod').ZodEnum<{
1988
+ location: "location";
1989
+ absolute: "absolute";
1990
+ relative: "relative";
1991
+ }>;
1992
+ notifyUid: import('zod').ZodOptional<import('zod').ZodString>;
1993
+ minuteOffset: import('zod').ZodOptional<import('zod').ZodNumber>;
1994
+ due: import('zod').ZodOptional<import('zod').ZodObject<{
1995
+ isRecurring: import('zod').ZodBoolean;
1996
+ string: import('zod').ZodString;
1997
+ date: import('zod').ZodString;
1998
+ datetime: import('zod').ZodOptional<import('zod').ZodString>;
1999
+ timezone: import('zod').ZodOptional<import('zod').ZodString>;
2000
+ }, import('zod/v4/core').$strip>>;
2001
+ name: import('zod').ZodOptional<import('zod').ZodString>;
2002
+ locLat: import('zod').ZodOptional<import('zod').ZodString>;
2003
+ locLong: import('zod').ZodOptional<import('zod').ZodString>;
2004
+ locTrigger: import('zod').ZodOptional<import('zod').ZodEnum<{
2005
+ on_enter: "on_enter";
2006
+ on_leave: "on_leave";
2007
+ }>>;
2008
+ radius: import('zod').ZodOptional<import('zod').ZodNumber>;
2009
+ isUrgent: import('zod').ZodOptional<import('zod').ZodBoolean>;
2010
+ }, import('zod/v4/core').$strip>>;
2011
+ searchType: import('zod').ZodString;
2012
+ searchId: import('zod').ZodString;
2013
+ totalCount: import('zod').ZodNumber;
2014
+ };
2015
+ annotations: {
2016
+ readOnlyHint: true;
2017
+ destructiveHint: false;
2018
+ idempotentHint: true;
2019
+ };
2020
+ execute(args: {
2021
+ taskId?: string | undefined;
2022
+ reminderId?: string | undefined;
2023
+ locationReminderId?: string | undefined;
2024
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2025
+ textContent: string;
2026
+ structuredContent: {
2027
+ reminders: ({
2028
+ minuteOffset: number;
2029
+ due: {
2030
+ isRecurring: boolean;
2031
+ string: string;
2032
+ date: string;
2033
+ datetime: string | undefined;
2034
+ timezone: string | undefined;
2035
+ } | undefined;
2036
+ isUrgent: boolean | undefined;
2037
+ id: string;
2038
+ taskId: string;
2039
+ type: "location" | "absolute" | "relative";
2040
+ notifyUid: string;
2041
+ } | {
2042
+ due: {
2043
+ isRecurring: boolean;
2044
+ string: string;
2045
+ date: string;
2046
+ datetime: string | undefined;
2047
+ timezone: string | undefined;
2048
+ };
2049
+ isUrgent: boolean | undefined;
2050
+ id: string;
2051
+ taskId: string;
2052
+ type: "location" | "absolute" | "relative";
2053
+ notifyUid: string;
2054
+ } | {
2055
+ name: string;
2056
+ locLat: string;
2057
+ locLong: string;
2058
+ locTrigger: "on_enter" | "on_leave";
2059
+ radius: number;
2060
+ id: string;
2061
+ taskId: string;
2062
+ type: "location" | "absolute" | "relative";
2063
+ notifyUid: string;
2064
+ })[];
2065
+ searchType: string;
2066
+ searchId: string;
2067
+ totalCount: number;
2068
+ };
2069
+ }>;
2070
+ };
2071
+ updateReminders: {
2072
+ name: "update-reminders";
2073
+ description: string;
2074
+ parameters: {
2075
+ reminders: import('zod').ZodArray<import('zod').ZodDiscriminatedUnion<[import('zod').ZodObject<{
2076
+ type: import('zod').ZodLiteral<"relative">;
2077
+ id: import('zod').ZodString;
2078
+ minuteOffset: import('zod').ZodOptional<import('zod').ZodNumber>;
2079
+ service: import('zod').ZodOptional<import('zod').ZodEnum<{
2080
+ push: "push";
2081
+ email: "email";
2082
+ }>>;
2083
+ isUrgent: import('zod').ZodOptional<import('zod').ZodBoolean>;
2084
+ notifyUser: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
2085
+ }, import('zod/v4/core').$strip>, import('zod').ZodObject<{
2086
+ type: import('zod').ZodLiteral<"absolute">;
2087
+ id: import('zod').ZodString;
2088
+ due: import('zod').ZodOptional<import('zod').ZodObject<{
2089
+ date: import('zod').ZodOptional<import('zod').ZodString>;
2090
+ string: import('zod').ZodOptional<import('zod').ZodString>;
2091
+ timezone: import('zod').ZodOptional<import('zod').ZodString>;
2092
+ lang: import('zod').ZodOptional<import('zod').ZodString>;
2093
+ }, import('zod/v4/core').$strip>>;
2094
+ service: import('zod').ZodOptional<import('zod').ZodEnum<{
2095
+ push: "push";
2096
+ email: "email";
2097
+ }>>;
2098
+ isUrgent: import('zod').ZodOptional<import('zod').ZodBoolean>;
2099
+ notifyUser: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
2100
+ }, import('zod/v4/core').$strip>, import('zod').ZodObject<{
2101
+ type: import('zod').ZodLiteral<"location">;
2102
+ id: import('zod').ZodString;
2103
+ name: import('zod').ZodOptional<import('zod').ZodString>;
2104
+ locLat: import('zod').ZodOptional<import('zod').ZodString>;
2105
+ locLong: import('zod').ZodOptional<import('zod').ZodString>;
2106
+ locTrigger: import('zod').ZodOptional<import('zod').ZodEnum<{
2107
+ on_enter: "on_enter";
2108
+ on_leave: "on_leave";
2109
+ }>>;
2110
+ radius: import('zod').ZodOptional<import('zod').ZodNumber>;
2111
+ notifyUser: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
2112
+ }, import('zod/v4/core').$strip>], "type">>;
2113
+ };
2114
+ outputSchema: {
2115
+ reminders: import('zod').ZodArray<import('zod').ZodObject<{
2116
+ id: import('zod').ZodString;
2117
+ taskId: import('zod').ZodString;
2118
+ type: import('zod').ZodEnum<{
2119
+ location: "location";
2120
+ absolute: "absolute";
2121
+ relative: "relative";
2122
+ }>;
2123
+ notifyUid: import('zod').ZodOptional<import('zod').ZodString>;
2124
+ minuteOffset: import('zod').ZodOptional<import('zod').ZodNumber>;
2125
+ due: import('zod').ZodOptional<import('zod').ZodObject<{
2126
+ isRecurring: import('zod').ZodBoolean;
2127
+ string: import('zod').ZodString;
2128
+ date: import('zod').ZodString;
2129
+ datetime: import('zod').ZodOptional<import('zod').ZodString>;
2130
+ timezone: import('zod').ZodOptional<import('zod').ZodString>;
2131
+ }, import('zod/v4/core').$strip>>;
2132
+ name: import('zod').ZodOptional<import('zod').ZodString>;
2133
+ locLat: import('zod').ZodOptional<import('zod').ZodString>;
2134
+ locLong: import('zod').ZodOptional<import('zod').ZodString>;
2135
+ locTrigger: import('zod').ZodOptional<import('zod').ZodEnum<{
2136
+ on_enter: "on_enter";
2137
+ on_leave: "on_leave";
2138
+ }>>;
2139
+ radius: import('zod').ZodOptional<import('zod').ZodNumber>;
2140
+ isUrgent: import('zod').ZodOptional<import('zod').ZodBoolean>;
2141
+ }, import('zod/v4/core').$strip>>;
2142
+ totalCount: import('zod').ZodNumber;
2143
+ updatedReminderIds: import('zod').ZodArray<import('zod').ZodString>;
2144
+ failures: import('zod').ZodArray<import('zod').ZodObject<{
2145
+ item: import('zod').ZodString;
2146
+ error: import('zod').ZodString;
2147
+ code: import('zod').ZodOptional<import('zod').ZodString>;
2148
+ }, import('zod/v4/core').$strip>>;
2149
+ appliedOperations: import('zod').ZodObject<{
2150
+ updateCount: import('zod').ZodNumber;
2151
+ failureCount: import('zod').ZodNumber;
2152
+ }, import('zod/v4/core').$strip>;
2153
+ };
2154
+ annotations: {
2155
+ readOnlyHint: false;
2156
+ destructiveHint: true;
2157
+ idempotentHint: true;
2158
+ openWorldHint: true;
2159
+ };
2160
+ execute(args: {
2161
+ reminders: ({
2162
+ type: "relative";
2163
+ id: string;
2164
+ minuteOffset?: number | undefined;
2165
+ service?: "push" | "email" | undefined;
2166
+ isUrgent?: boolean | undefined;
2167
+ notifyUser?: string | undefined;
2168
+ } | {
2169
+ type: "absolute";
2170
+ id: string;
2171
+ due?: {
2172
+ date?: string | undefined;
2173
+ string?: string | undefined;
2174
+ timezone?: string | undefined;
2175
+ lang?: string | undefined;
2176
+ } | undefined;
2177
+ service?: "push" | "email" | undefined;
2178
+ isUrgent?: boolean | undefined;
2179
+ notifyUser?: string | undefined;
2180
+ } | {
2181
+ type: "location";
2182
+ id: string;
2183
+ name?: string | undefined;
2184
+ locLat?: string | undefined;
2185
+ locLong?: string | undefined;
2186
+ locTrigger?: "on_enter" | "on_leave" | undefined;
2187
+ radius?: number | undefined;
2188
+ notifyUser?: string | undefined;
2189
+ })[];
2190
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2191
+ textContent: string;
2192
+ structuredContent: {
2193
+ reminders: ({
2194
+ minuteOffset: number;
2195
+ due: {
2196
+ isRecurring: boolean;
2197
+ string: string;
2198
+ date: string;
2199
+ datetime: string | undefined;
2200
+ timezone: string | undefined;
2201
+ } | undefined;
2202
+ isUrgent: boolean | undefined;
2203
+ id: string;
2204
+ taskId: string;
2205
+ type: "location" | "absolute" | "relative";
2206
+ notifyUid: string;
2207
+ } | {
2208
+ due: {
2209
+ isRecurring: boolean;
2210
+ string: string;
2211
+ date: string;
2212
+ datetime: string | undefined;
2213
+ timezone: string | undefined;
2214
+ };
2215
+ isUrgent: boolean | undefined;
2216
+ id: string;
2217
+ taskId: string;
2218
+ type: "location" | "absolute" | "relative";
2219
+ notifyUid: string;
2220
+ } | {
2221
+ name: string;
2222
+ locLat: string;
2223
+ locLong: string;
2224
+ locTrigger: "on_enter" | "on_leave";
2225
+ radius: number;
2226
+ id: string;
2227
+ taskId: string;
2228
+ type: "location" | "absolute" | "relative";
2229
+ notifyUid: string;
2230
+ })[];
2231
+ totalCount: number;
2232
+ updatedReminderIds: string[];
2233
+ failures: {
2234
+ item: string;
2235
+ error: string;
2236
+ }[];
2237
+ appliedOperations: {
2238
+ updateCount: number;
2239
+ failureCount: number;
2240
+ };
2241
+ };
2242
+ }>;
2243
+ };
2244
+ viewAttachment: {
2245
+ name: "view-attachment";
2246
+ description: string;
2247
+ parameters: {
2248
+ fileUrl: import('zod').ZodURL;
2249
+ };
2250
+ annotations: {
2251
+ readOnlyHint: true;
2252
+ destructiveHint: false;
2253
+ idempotentHint: true;
2254
+ };
2255
+ execute({ fileUrl }: {
2256
+ fileUrl: string;
2257
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2258
+ textContent: string;
2259
+ contentItems?: undefined;
2260
+ } | {
2261
+ textContent: string;
2262
+ contentItems: import('@modelcontextprotocol/server').ContentBlock[];
2263
+ }>;
2264
+ };
2265
+ addLabels: {
2266
+ name: "add-labels";
2267
+ description: string;
2268
+ parameters: {
2269
+ labels: import('zod').ZodArray<import('zod').ZodObject<{
2270
+ name: import('zod').ZodString;
2271
+ color: import('zod').ZodPreprocess<import('zod').ZodOptional<import('zod').ZodEnum<{
2272
+ berry_red: "berry_red";
2273
+ red: "red";
2274
+ orange: "orange";
2275
+ yellow: "yellow";
2276
+ olive_green: "olive_green";
2277
+ lime_green: "lime_green";
2278
+ green: "green";
2279
+ mint_green: "mint_green";
2280
+ teal: "teal";
2281
+ sky_blue: "sky_blue";
2282
+ light_blue: "light_blue";
2283
+ blue: "blue";
2284
+ grape: "grape";
2285
+ violet: "violet";
2286
+ lavender: "lavender";
2287
+ magenta: "magenta";
2288
+ salmon: "salmon";
2289
+ charcoal: "charcoal";
2290
+ grey: "grey";
2291
+ taupe: "taupe";
2292
+ }>>, unknown>;
2293
+ order: import('zod').ZodOptional<import('zod').ZodNumber>;
2294
+ isFavorite: import('zod').ZodOptional<import('zod').ZodBoolean>;
2295
+ }, import('zod/v4/core').$strip>>;
2296
+ };
2297
+ outputSchema: {
2298
+ labels: import('zod').ZodArray<import('zod').ZodObject<{
2299
+ id: import('zod').ZodString;
2300
+ name: import('zod').ZodString;
2301
+ color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
2302
+ berry_red: "berry_red";
2303
+ red: "red";
2304
+ orange: "orange";
2305
+ yellow: "yellow";
2306
+ olive_green: "olive_green";
2307
+ lime_green: "lime_green";
2308
+ green: "green";
2309
+ mint_green: "mint_green";
2310
+ teal: "teal";
2311
+ sky_blue: "sky_blue";
2312
+ light_blue: "light_blue";
2313
+ blue: "blue";
2314
+ grape: "grape";
2315
+ violet: "violet";
2316
+ lavender: "lavender";
2317
+ magenta: "magenta";
2318
+ salmon: "salmon";
2319
+ charcoal: "charcoal";
2320
+ grey: "grey";
2321
+ taupe: "taupe";
2322
+ }>>>;
2323
+ order: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodNumber>>;
2324
+ isFavorite: import('zod').ZodBoolean;
2325
+ }, import('zod/v4/core').$strip>>;
2326
+ totalCount: import('zod').ZodNumber;
2327
+ failures: import('zod').ZodArray<import('zod').ZodObject<{
2328
+ item: import('zod').ZodString;
2329
+ error: import('zod').ZodString;
2330
+ code: import('zod').ZodOptional<import('zod').ZodString>;
2331
+ }, import('zod/v4/core').$strip>>;
2332
+ totalRequested: import('zod').ZodNumber;
2333
+ successCount: import('zod').ZodNumber;
2334
+ failureCount: import('zod').ZodNumber;
2335
+ };
2336
+ annotations: {
2337
+ readOnlyHint: false;
2338
+ destructiveHint: false;
2339
+ idempotentHint: false;
2340
+ };
2341
+ execute({ labels }: {
2342
+ labels: {
2343
+ name: string;
2344
+ 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;
2345
+ order?: number | undefined;
2346
+ isFavorite?: boolean | undefined;
2347
+ }[];
2348
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2349
+ textContent: string;
2350
+ structuredContent: {
2351
+ labels: {
2352
+ id: string;
2353
+ name: string;
2354
+ isFavorite: boolean;
2355
+ 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;
2356
+ order?: number | undefined;
2357
+ }[];
2358
+ totalCount: number;
2359
+ failures: {
2360
+ item: string;
2361
+ error: string;
2362
+ }[];
2363
+ totalRequested: number;
2364
+ successCount: number;
2365
+ failureCount: number;
2366
+ };
2367
+ }>;
2368
+ };
2369
+ updateLabels: {
2370
+ name: "update-labels";
2371
+ description: string;
2372
+ parameters: {
2373
+ labels: import('zod').ZodArray<import('zod').ZodDiscriminatedUnion<[import('zod').ZodObject<{
2374
+ labelType: import('zod').ZodLiteral<"personal">;
2375
+ id: import('zod').ZodString;
2376
+ name: import('zod').ZodOptional<import('zod').ZodString>;
2377
+ color: import('zod').ZodPreprocess<import('zod').ZodOptional<import('zod').ZodEnum<{
2378
+ berry_red: "berry_red";
2379
+ red: "red";
2380
+ orange: "orange";
2381
+ yellow: "yellow";
2382
+ olive_green: "olive_green";
2383
+ lime_green: "lime_green";
2384
+ green: "green";
2385
+ mint_green: "mint_green";
2386
+ teal: "teal";
2387
+ sky_blue: "sky_blue";
2388
+ light_blue: "light_blue";
2389
+ blue: "blue";
2390
+ grape: "grape";
2391
+ violet: "violet";
2392
+ lavender: "lavender";
2393
+ magenta: "magenta";
2394
+ salmon: "salmon";
2395
+ charcoal: "charcoal";
2396
+ grey: "grey";
2397
+ taupe: "taupe";
2398
+ }>>, unknown>;
2399
+ order: import('zod').ZodOptional<import('zod').ZodNumber>;
2400
+ isFavorite: import('zod').ZodOptional<import('zod').ZodBoolean>;
2401
+ }, import('zod/v4/core').$strip>, import('zod').ZodObject<{
2402
+ labelType: import('zod').ZodLiteral<"shared">;
2403
+ name: import('zod').ZodString;
2404
+ newName: import('zod').ZodString;
2405
+ }, import('zod/v4/core').$strip>], "labelType">>;
2406
+ };
2407
+ outputSchema: {
2408
+ updatedLabels: import('zod').ZodArray<import('zod').ZodObject<{
2409
+ id: import('zod').ZodString;
2410
+ name: import('zod').ZodString;
2411
+ color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
2412
+ berry_red: "berry_red";
2413
+ red: "red";
2414
+ orange: "orange";
2415
+ yellow: "yellow";
2416
+ olive_green: "olive_green";
2417
+ lime_green: "lime_green";
2418
+ green: "green";
2419
+ mint_green: "mint_green";
2420
+ teal: "teal";
2421
+ sky_blue: "sky_blue";
2422
+ light_blue: "light_blue";
2423
+ blue: "blue";
2424
+ grape: "grape";
2425
+ violet: "violet";
2426
+ lavender: "lavender";
2427
+ magenta: "magenta";
2428
+ salmon: "salmon";
2429
+ charcoal: "charcoal";
2430
+ grey: "grey";
2431
+ taupe: "taupe";
2432
+ }>>>;
2433
+ order: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodNumber>>;
2434
+ isFavorite: import('zod').ZodBoolean;
2435
+ }, import('zod/v4/core').$strip>>;
2436
+ renamedSharedLabels: import('zod').ZodArray<import('zod').ZodObject<{
2437
+ name: import('zod').ZodString;
2438
+ newName: import('zod').ZodString;
2439
+ }, import('zod/v4/core').$strip>>;
2440
+ totalCount: import('zod').ZodNumber;
2441
+ failures: import('zod').ZodArray<import('zod').ZodObject<{
2442
+ item: import('zod').ZodString;
2443
+ error: import('zod').ZodString;
2444
+ code: import('zod').ZodOptional<import('zod').ZodString>;
2445
+ }, import('zod/v4/core').$strip>>;
2446
+ appliedOperations: import('zod').ZodObject<{
2447
+ updateCount: import('zod').ZodNumber;
2448
+ renameCount: import('zod').ZodNumber;
2449
+ skippedCount: import('zod').ZodNumber;
2450
+ failureCount: import('zod').ZodNumber;
2451
+ }, import('zod/v4/core').$strip>;
2452
+ };
2453
+ annotations: {
2454
+ readOnlyHint: false;
2455
+ destructiveHint: true;
2456
+ idempotentHint: false;
2457
+ };
2458
+ execute(args: {
2459
+ labels: ({
2460
+ labelType: "personal";
2461
+ id: string;
2462
+ name?: string | undefined;
2463
+ 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;
2464
+ order?: number | undefined;
2465
+ isFavorite?: boolean | undefined;
2466
+ } | {
2467
+ labelType: "shared";
2468
+ name: string;
2469
+ newName: string;
2470
+ })[];
2471
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2472
+ textContent: string;
2473
+ structuredContent: {
2474
+ updatedLabels: {
2475
+ id: string;
2476
+ name: string;
2477
+ isFavorite: boolean;
2478
+ 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;
2479
+ order?: number | undefined;
2480
+ }[];
2481
+ renamedSharedLabels: {
2482
+ name: string;
2483
+ newName: string;
2484
+ }[];
2485
+ totalCount: number;
2486
+ failures: {
2487
+ item: string;
2488
+ error: string;
2489
+ }[];
2490
+ appliedOperations: {
2491
+ updateCount: number;
2492
+ renameCount: number;
2493
+ skippedCount: number;
2494
+ failureCount: number;
2495
+ };
2496
+ };
2497
+ }>;
2498
+ };
2499
+ findLabels: {
2500
+ name: "find-labels";
2501
+ description: string;
2502
+ parameters: {
2503
+ searchText: import('zod').ZodOptional<import('zod').ZodString>;
2504
+ limit: import('zod').ZodDefault<import('zod').ZodNumber>;
2505
+ cursor: import('zod').ZodOptional<import('zod').ZodString>;
2506
+ };
2507
+ outputSchema: {
2508
+ labels: import('zod').ZodArray<import('zod').ZodObject<{
2509
+ id: import('zod').ZodString;
2510
+ name: import('zod').ZodString;
2511
+ color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
2512
+ berry_red: "berry_red";
2513
+ red: "red";
2514
+ orange: "orange";
2515
+ yellow: "yellow";
2516
+ olive_green: "olive_green";
2517
+ lime_green: "lime_green";
2518
+ green: "green";
2519
+ mint_green: "mint_green";
2520
+ teal: "teal";
2521
+ sky_blue: "sky_blue";
2522
+ light_blue: "light_blue";
2523
+ blue: "blue";
2524
+ grape: "grape";
2525
+ violet: "violet";
2526
+ lavender: "lavender";
2527
+ magenta: "magenta";
2528
+ salmon: "salmon";
2529
+ charcoal: "charcoal";
2530
+ grey: "grey";
2531
+ taupe: "taupe";
2532
+ }>>>;
2533
+ order: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodNumber>>;
2534
+ isFavorite: import('zod').ZodBoolean;
2535
+ }, import('zod/v4/core').$strip>>;
2536
+ nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
2537
+ totalCount: import('zod').ZodNumber;
2538
+ hasMore: import('zod').ZodBoolean;
2539
+ sharedLabels: import('zod').ZodArray<import('zod').ZodString>;
2540
+ appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
2541
+ };
2542
+ annotations: {
2543
+ readOnlyHint: true;
2544
+ destructiveHint: false;
2545
+ idempotentHint: true;
2546
+ };
2547
+ execute(args: {
2548
+ limit: number;
2549
+ searchText?: string | undefined;
2550
+ cursor?: string | undefined;
2551
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2552
+ textContent: string;
2553
+ structuredContent: {
2554
+ labels: {
2555
+ id: string;
2556
+ name: string;
2557
+ isFavorite: boolean;
2558
+ 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;
2559
+ order?: number | undefined;
2560
+ }[];
2561
+ nextCursor: string | undefined;
2562
+ totalCount: number;
2563
+ hasMore: boolean;
2564
+ sharedLabels: string[];
2565
+ appliedFilters: {
2566
+ searchText: string;
2567
+ limit?: undefined;
2568
+ cursor?: undefined;
2569
+ } | {
2570
+ limit: number;
2571
+ cursor: string | undefined;
2572
+ searchText?: undefined;
2573
+ };
2574
+ };
2575
+ }>;
2576
+ };
2577
+ findFilters: {
2578
+ name: "find-filters";
2579
+ description: string;
2580
+ parameters: {
2581
+ search: import('zod').ZodOptional<import('zod').ZodString>;
2582
+ };
2583
+ outputSchema: {
2584
+ filters: import('zod').ZodArray<import('zod').ZodObject<{
2585
+ id: import('zod').ZodString;
2586
+ name: import('zod').ZodString;
2587
+ query: import('zod').ZodString;
2588
+ description: import('zod').ZodOptional<import('zod').ZodString>;
2589
+ color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
2590
+ berry_red: "berry_red";
2591
+ red: "red";
2592
+ orange: "orange";
2593
+ yellow: "yellow";
2594
+ olive_green: "olive_green";
2595
+ lime_green: "lime_green";
2596
+ green: "green";
2597
+ mint_green: "mint_green";
2598
+ teal: "teal";
2599
+ sky_blue: "sky_blue";
2600
+ light_blue: "light_blue";
2601
+ blue: "blue";
2602
+ grape: "grape";
2603
+ violet: "violet";
2604
+ lavender: "lavender";
2605
+ magenta: "magenta";
2606
+ salmon: "salmon";
2607
+ charcoal: "charcoal";
2608
+ grey: "grey";
2609
+ taupe: "taupe";
2610
+ }>>>;
2611
+ isFavorite: import('zod').ZodBoolean;
2612
+ itemOrder: import('zod').ZodNumber;
2613
+ }, import('zod/v4/core').$strip>>;
2614
+ totalCount: import('zod').ZodNumber;
2615
+ };
2616
+ annotations: {
2617
+ readOnlyHint: true;
2618
+ destructiveHint: false;
2619
+ idempotentHint: true;
2620
+ };
2621
+ execute(args: {
2622
+ search?: string | undefined;
2623
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2624
+ textContent: string;
2625
+ structuredContent: {
2626
+ filters: {
2627
+ id: string;
2628
+ name: string;
2629
+ query: string;
2630
+ description: string | undefined;
2631
+ 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;
2632
+ isFavorite: boolean;
2633
+ itemOrder: number;
2634
+ }[];
2635
+ totalCount: number;
2636
+ };
2637
+ }>;
2638
+ };
2639
+ addFilters: {
2640
+ name: "add-filters";
2641
+ description: string;
2642
+ parameters: {
2643
+ filters: import('zod').ZodArray<import('zod').ZodObject<{
2644
+ name: import('zod').ZodString;
2645
+ query: import('zod').ZodString;
2646
+ description: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
2647
+ color: import('zod').ZodPreprocess<import('zod').ZodOptional<import('zod').ZodEnum<{
2648
+ berry_red: "berry_red";
2649
+ red: "red";
2650
+ orange: "orange";
2651
+ yellow: "yellow";
2652
+ olive_green: "olive_green";
2653
+ lime_green: "lime_green";
2654
+ green: "green";
2655
+ mint_green: "mint_green";
2656
+ teal: "teal";
2657
+ sky_blue: "sky_blue";
2658
+ light_blue: "light_blue";
2659
+ blue: "blue";
2660
+ grape: "grape";
2661
+ violet: "violet";
2662
+ lavender: "lavender";
2663
+ magenta: "magenta";
2664
+ salmon: "salmon";
2665
+ charcoal: "charcoal";
2666
+ grey: "grey";
2667
+ taupe: "taupe";
2668
+ }>>, unknown>;
2669
+ isFavorite: import('zod').ZodOptional<import('zod').ZodBoolean>;
2670
+ }, import('zod/v4/core').$strip>>;
2671
+ };
2672
+ outputSchema: {
2673
+ filters: import('zod').ZodArray<import('zod').ZodObject<{
2674
+ id: import('zod').ZodString;
2675
+ name: import('zod').ZodString;
2676
+ query: import('zod').ZodString;
2677
+ description: import('zod').ZodOptional<import('zod').ZodString>;
2678
+ color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
2679
+ berry_red: "berry_red";
2680
+ red: "red";
2681
+ orange: "orange";
2682
+ yellow: "yellow";
2683
+ olive_green: "olive_green";
2684
+ lime_green: "lime_green";
2685
+ green: "green";
2686
+ mint_green: "mint_green";
2687
+ teal: "teal";
2688
+ sky_blue: "sky_blue";
2689
+ light_blue: "light_blue";
2690
+ blue: "blue";
2691
+ grape: "grape";
2692
+ violet: "violet";
2693
+ lavender: "lavender";
2694
+ magenta: "magenta";
2695
+ salmon: "salmon";
2696
+ charcoal: "charcoal";
2697
+ grey: "grey";
2698
+ taupe: "taupe";
2699
+ }>>>;
2700
+ isFavorite: import('zod').ZodBoolean;
2701
+ itemOrder: import('zod').ZodNumber;
2702
+ }, import('zod/v4/core').$strip>>;
2703
+ totalCount: import('zod').ZodNumber;
2704
+ failures: import('zod').ZodArray<import('zod').ZodObject<{
2705
+ item: import('zod').ZodString;
2706
+ error: import('zod').ZodString;
2707
+ code: import('zod').ZodOptional<import('zod').ZodString>;
2708
+ }, import('zod/v4/core').$strip>>;
2709
+ totalRequested: import('zod').ZodNumber;
2710
+ successCount: import('zod').ZodNumber;
2711
+ failureCount: import('zod').ZodNumber;
2712
+ };
2713
+ annotations: {
2714
+ readOnlyHint: false;
2715
+ destructiveHint: false;
2716
+ idempotentHint: false;
2717
+ };
2718
+ execute({ filters }: {
2719
+ filters: {
2720
+ name: string;
2721
+ query: string;
2722
+ description?: string | undefined;
2723
+ 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;
2724
+ isFavorite?: boolean | undefined;
2725
+ }[];
2726
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2727
+ textContent: string;
2728
+ structuredContent: {
2729
+ filters: {
2730
+ id: string;
2731
+ name: string;
2732
+ query: string;
2733
+ isFavorite: boolean;
2734
+ itemOrder: number;
2735
+ description?: string | undefined;
2736
+ 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;
2737
+ }[];
2738
+ totalCount: number;
2739
+ failures: {
2740
+ item: string;
2741
+ error: string;
2742
+ }[];
2743
+ totalRequested: number;
2744
+ successCount: number;
2745
+ failureCount: number;
2746
+ };
2747
+ }>;
2748
+ };
2749
+ updateFilters: {
2750
+ name: "update-filters";
2751
+ description: string;
2752
+ parameters: {
2753
+ filters: import('zod').ZodArray<import('zod').ZodObject<{
2754
+ id: import('zod').ZodString;
2755
+ name: import('zod').ZodOptional<import('zod').ZodString>;
2756
+ query: import('zod').ZodOptional<import('zod').ZodString>;
2757
+ description: import('zod').ZodOptional<import('zod').ZodPreprocess<import('zod').ZodString, unknown>>;
2758
+ color: import('zod').ZodPreprocess<import('zod').ZodOptional<import('zod').ZodEnum<{
2759
+ berry_red: "berry_red";
2760
+ red: "red";
2761
+ orange: "orange";
2762
+ yellow: "yellow";
2763
+ olive_green: "olive_green";
2764
+ lime_green: "lime_green";
2765
+ green: "green";
2766
+ mint_green: "mint_green";
2767
+ teal: "teal";
2768
+ sky_blue: "sky_blue";
2769
+ light_blue: "light_blue";
2770
+ blue: "blue";
2771
+ grape: "grape";
2772
+ violet: "violet";
2773
+ lavender: "lavender";
2774
+ magenta: "magenta";
2775
+ salmon: "salmon";
2776
+ charcoal: "charcoal";
2777
+ grey: "grey";
2778
+ taupe: "taupe";
2779
+ }>>, unknown>;
2780
+ isFavorite: import('zod').ZodOptional<import('zod').ZodBoolean>;
2781
+ }, import('zod/v4/core').$strip>>;
2782
+ };
2783
+ outputSchema: {
2784
+ filters: import('zod').ZodArray<import('zod').ZodObject<{
2785
+ id: import('zod').ZodString;
2786
+ name: import('zod').ZodString;
2787
+ query: import('zod').ZodString;
2788
+ description: import('zod').ZodOptional<import('zod').ZodString>;
2789
+ color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
2790
+ berry_red: "berry_red";
2791
+ red: "red";
2792
+ orange: "orange";
2793
+ yellow: "yellow";
2794
+ olive_green: "olive_green";
2795
+ lime_green: "lime_green";
2796
+ green: "green";
2797
+ mint_green: "mint_green";
2798
+ teal: "teal";
2799
+ sky_blue: "sky_blue";
2800
+ light_blue: "light_blue";
2801
+ blue: "blue";
2802
+ grape: "grape";
2803
+ violet: "violet";
2804
+ lavender: "lavender";
2805
+ magenta: "magenta";
2806
+ salmon: "salmon";
2807
+ charcoal: "charcoal";
2808
+ grey: "grey";
2809
+ taupe: "taupe";
2810
+ }>>>;
2811
+ isFavorite: import('zod').ZodBoolean;
2812
+ itemOrder: import('zod').ZodNumber;
2813
+ }, import('zod/v4/core').$strip>>;
2814
+ totalCount: import('zod').ZodNumber;
2815
+ updatedFilterIds: import('zod').ZodArray<import('zod').ZodString>;
2816
+ failures: import('zod').ZodArray<import('zod').ZodObject<{
2817
+ item: import('zod').ZodString;
2818
+ error: import('zod').ZodString;
2819
+ code: import('zod').ZodOptional<import('zod').ZodString>;
2820
+ }, import('zod/v4/core').$strip>>;
2821
+ appliedOperations: import('zod').ZodObject<{
2822
+ updateCount: import('zod').ZodNumber;
2823
+ skippedCount: import('zod').ZodNumber;
2824
+ failureCount: import('zod').ZodNumber;
2825
+ }, import('zod/v4/core').$strip>;
2826
+ };
2827
+ annotations: {
2828
+ readOnlyHint: false;
2829
+ destructiveHint: true;
2830
+ idempotentHint: false;
2831
+ };
2832
+ execute(args: {
2833
+ filters: {
2834
+ id: string;
2835
+ name?: string | undefined;
2836
+ query?: string | undefined;
2837
+ description?: string | undefined;
2838
+ 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;
2839
+ isFavorite?: boolean | undefined;
2840
+ }[];
2841
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2842
+ textContent: string;
2843
+ structuredContent: {
2844
+ filters: {
2845
+ id: string;
2846
+ name: string;
2847
+ query: string;
2848
+ isFavorite: boolean;
2849
+ itemOrder: number;
2850
+ description?: string | undefined;
2851
+ 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;
2852
+ }[];
2853
+ totalCount: number;
2854
+ updatedFilterIds: string[];
2855
+ failures: {
2856
+ item: string;
2857
+ error: string;
2858
+ }[];
2859
+ appliedOperations: {
2860
+ updateCount: number;
2861
+ skippedCount: number;
2862
+ failureCount: number;
2863
+ };
2864
+ };
2865
+ }>;
2866
+ };
2867
+ findActivity: {
2868
+ name: "find-activity";
2869
+ description: string;
2870
+ parameters: {
2871
+ objectType: import('zod').ZodOptional<import('zod').ZodEnum<{
2872
+ task: "task";
2873
+ comment: "comment";
2874
+ project: "project";
2875
+ }>>;
2876
+ objectId: import('zod').ZodOptional<import('zod').ZodString>;
2877
+ eventType: import('zod').ZodOptional<import('zod').ZodEnum<{
2878
+ completed: "completed";
2879
+ added: "added";
2880
+ updated: "updated";
2881
+ deleted: "deleted";
2882
+ uncompleted: "uncompleted";
2883
+ archived: "archived";
2884
+ unarchived: "unarchived";
2885
+ shared: "shared";
2886
+ left: "left";
2887
+ moved: "moved";
2888
+ }>>;
2889
+ projectId: import('zod').ZodOptional<import('zod').ZodString>;
2890
+ taskId: import('zod').ZodOptional<import('zod').ZodString>;
2891
+ initiatorId: import('zod').ZodOptional<import('zod').ZodString>;
2892
+ dateFrom: import('zod').ZodPipe<import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>, import('zod').ZodOptional<import('zod').ZodUnion<readonly [import('zod').ZodISODate, import('zod').ZodISODateTime]>>>;
2893
+ dateTo: import('zod').ZodPipe<import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>, import('zod').ZodOptional<import('zod').ZodUnion<readonly [import('zod').ZodISODate, import('zod').ZodISODateTime]>>>;
2894
+ limit: import('zod').ZodDefault<import('zod').ZodNumber>;
2895
+ cursor: import('zod').ZodOptional<import('zod').ZodString>;
2896
+ };
2897
+ outputSchema: {
2898
+ events: import('zod').ZodArray<import('zod').ZodObject<{
2899
+ id: import('zod').ZodOptional<import('zod').ZodString>;
2900
+ objectType: import('zod').ZodString;
2901
+ objectId: import('zod').ZodString;
2902
+ eventType: import('zod').ZodString;
2903
+ eventDate: import('zod').ZodString;
2904
+ parentProjectId: import('zod').ZodOptional<import('zod').ZodString>;
2905
+ parentItemId: import('zod').ZodOptional<import('zod').ZodString>;
2906
+ initiatorId: import('zod').ZodOptional<import('zod').ZodString>;
2907
+ extraData: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
2908
+ }, import('zod/v4/core').$strip>>;
2909
+ nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
2910
+ totalCount: import('zod').ZodNumber;
2911
+ hasMore: import('zod').ZodBoolean;
2912
+ appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
2913
+ };
2914
+ annotations: {
2915
+ readOnlyHint: true;
2916
+ destructiveHint: false;
2917
+ idempotentHint: true;
2918
+ };
2919
+ execute(args: {
2920
+ limit: number;
2921
+ objectType?: "task" | "comment" | "project" | undefined;
2922
+ objectId?: string | undefined;
2923
+ eventType?: "completed" | "added" | "updated" | "deleted" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | "moved" | undefined;
2924
+ projectId?: string | undefined;
2925
+ taskId?: string | undefined;
2926
+ initiatorId?: string | undefined;
2927
+ dateFrom?: string | undefined;
2928
+ dateTo?: string | undefined;
2929
+ cursor?: string | undefined;
2930
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2931
+ textContent: string;
2932
+ structuredContent: {
2933
+ events: {
2934
+ id: string | undefined;
2935
+ objectType: string;
2936
+ objectId: string;
2937
+ eventType: string;
2938
+ eventDate: string;
2939
+ parentProjectId: string | undefined;
2940
+ parentItemId: string | undefined;
2941
+ initiatorId: string | undefined;
2942
+ extraData: Record<string, any> | undefined;
2943
+ }[];
2944
+ nextCursor: string | undefined;
2945
+ totalCount: number;
2946
+ hasMore: boolean;
2947
+ appliedFilters: {
2948
+ limit: number;
2949
+ objectType?: "task" | "comment" | "project" | undefined;
2950
+ objectId?: string | undefined;
2951
+ eventType?: "completed" | "added" | "updated" | "deleted" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | "moved" | undefined;
2952
+ projectId?: string | undefined;
2953
+ taskId?: string | undefined;
2954
+ initiatorId?: string | undefined;
2955
+ dateFrom?: string | undefined;
2956
+ dateTo?: string | undefined;
2957
+ cursor?: string | undefined;
2958
+ };
2959
+ };
2960
+ }>;
2961
+ };
2962
+ getProductivityStats: {
2963
+ name: "get-productivity-stats";
2964
+ description: string;
2965
+ parameters: {};
2966
+ outputSchema: {
2967
+ completedCount: import('zod').ZodNumber;
2968
+ daysItems: import('zod').ZodArray<import('zod').ZodObject<{
2969
+ date: import('zod').ZodString;
2970
+ totalCompleted: import('zod').ZodNumber;
2971
+ items: import('zod').ZodArray<import('zod').ZodObject<{
2972
+ id: import('zod').ZodString;
2973
+ completed: import('zod').ZodNumber;
2974
+ }, import('zod/v4/core').$strip>>;
2975
+ }, import('zod/v4/core').$strip>>;
2976
+ weekItems: import('zod').ZodArray<import('zod').ZodObject<{
2977
+ from: import('zod').ZodString;
2978
+ to: import('zod').ZodString;
2979
+ totalCompleted: import('zod').ZodNumber;
2980
+ items: import('zod').ZodArray<import('zod').ZodObject<{
2981
+ id: import('zod').ZodString;
2982
+ completed: import('zod').ZodNumber;
2983
+ }, import('zod/v4/core').$strip>>;
2984
+ }, import('zod/v4/core').$strip>>;
2985
+ goals: import('zod').ZodObject<{
2986
+ dailyGoal: import('zod').ZodNumber;
2987
+ weeklyGoal: import('zod').ZodNumber;
2988
+ currentDailyStreak: import('zod').ZodObject<{
2989
+ count: import('zod').ZodNumber;
2990
+ start: import('zod').ZodString;
2991
+ end: import('zod').ZodString;
2992
+ }, import('zod/v4/core').$strip>;
2993
+ currentWeeklyStreak: import('zod').ZodObject<{
2994
+ count: import('zod').ZodNumber;
2995
+ start: import('zod').ZodString;
2996
+ end: import('zod').ZodString;
2997
+ }, import('zod/v4/core').$strip>;
2998
+ lastDailyStreak: import('zod').ZodObject<{
2999
+ count: import('zod').ZodNumber;
3000
+ start: import('zod').ZodString;
3001
+ end: import('zod').ZodString;
3002
+ }, import('zod/v4/core').$strip>;
3003
+ lastWeeklyStreak: import('zod').ZodObject<{
3004
+ count: import('zod').ZodNumber;
3005
+ start: import('zod').ZodString;
3006
+ end: import('zod').ZodString;
3007
+ }, import('zod/v4/core').$strip>;
3008
+ maxDailyStreak: import('zod').ZodObject<{
3009
+ count: import('zod').ZodNumber;
3010
+ start: import('zod').ZodString;
3011
+ end: import('zod').ZodString;
3012
+ }, import('zod/v4/core').$strip>;
3013
+ maxWeeklyStreak: import('zod').ZodObject<{
3014
+ count: import('zod').ZodNumber;
3015
+ start: import('zod').ZodString;
3016
+ end: import('zod').ZodString;
3017
+ }, import('zod/v4/core').$strip>;
3018
+ vacationMode: import('zod').ZodBoolean;
3019
+ karmaDisabled: import('zod').ZodBoolean;
3020
+ }, import('zod/v4/core').$strip>;
3021
+ karma: import('zod').ZodNumber;
3022
+ karmaTrend: import('zod').ZodString;
3023
+ karmaLastUpdate: import('zod').ZodNumber;
3024
+ karmaGraphData: import('zod').ZodArray<import('zod').ZodObject<{
3025
+ date: import('zod').ZodString;
3026
+ karmaAvg: import('zod').ZodNumber;
3027
+ }, import('zod/v4/core').$strip>>;
3028
+ karmaUpdateReasons: import('zod').ZodArray<import('zod').ZodObject<{
3029
+ time: import('zod').ZodString;
3030
+ newKarma: import('zod').ZodNumber;
3031
+ positiveKarma: import('zod').ZodNumber;
3032
+ negativeKarma: import('zod').ZodNumber;
3033
+ positiveKarmaReasons: import('zod').ZodArray<import('zod').ZodAny>;
3034
+ negativeKarmaReasons: import('zod').ZodArray<import('zod').ZodAny>;
3035
+ }, import('zod/v4/core').$strip>>;
3036
+ projectColors: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodString>;
3037
+ };
3038
+ annotations: {
3039
+ readOnlyHint: true;
3040
+ destructiveHint: false;
3041
+ idempotentHint: true;
3042
+ };
3043
+ execute(_args: Record<string, never>, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3044
+ textContent: string;
3045
+ structuredContent: {
3046
+ completedCount: number;
3047
+ daysItems: {
3048
+ items: {
3049
+ id: string;
3050
+ completed: number;
3051
+ }[];
3052
+ totalCompleted: number;
3053
+ date: string;
3054
+ }[];
3055
+ weekItems: {
3056
+ items: {
3057
+ id: string;
3058
+ completed: number;
3059
+ }[];
3060
+ totalCompleted: number;
3061
+ from: string;
3062
+ to: string;
3063
+ }[];
3064
+ goals: {
3065
+ dailyGoal: number;
3066
+ weeklyGoal: number;
3067
+ currentDailyStreak: {
3068
+ count: number;
3069
+ start: string;
3070
+ end: string;
3071
+ };
3072
+ currentWeeklyStreak: {
3073
+ count: number;
3074
+ start: string;
3075
+ end: string;
3076
+ };
3077
+ lastDailyStreak: {
3078
+ count: number;
3079
+ start: string;
3080
+ end: string;
3081
+ };
3082
+ lastWeeklyStreak: {
3083
+ count: number;
3084
+ start: string;
3085
+ end: string;
3086
+ };
3087
+ maxDailyStreak: {
3088
+ count: number;
3089
+ start: string;
3090
+ end: string;
3091
+ };
3092
+ maxWeeklyStreak: {
3093
+ count: number;
3094
+ start: string;
3095
+ end: string;
3096
+ };
3097
+ vacationMode: boolean;
3098
+ karmaDisabled: boolean;
3099
+ };
3100
+ karma: number;
3101
+ karmaTrend: string;
3102
+ karmaLastUpdate: number;
3103
+ karmaGraphData: {
3104
+ date: string;
3105
+ karmaAvg: number;
3106
+ }[];
3107
+ karmaUpdateReasons: {
3108
+ time: string;
3109
+ newKarma: number;
3110
+ positiveKarma: number;
3111
+ negativeKarma: number;
3112
+ positiveKarmaReasons: any[];
3113
+ negativeKarmaReasons: any[];
3114
+ }[];
3115
+ projectColors: Record<string, string>;
3116
+ };
3117
+ }>;
3118
+ };
3119
+ getProjectHealth: {
3120
+ name: "get-project-health";
3121
+ description: string;
3122
+ parameters: {
3123
+ projectId: import('zod').ZodString;
3124
+ includeContext: import('zod').ZodDefault<import('zod').ZodBoolean>;
3125
+ };
3126
+ outputSchema: {
3127
+ projectId: import('zod').ZodString;
3128
+ projectName: import('zod').ZodString;
3129
+ progress: import('zod').ZodObject<{
3130
+ completedCount: import('zod').ZodNumber;
3131
+ activeCount: import('zod').ZodNumber;
3132
+ progressPercent: import('zod').ZodNumber;
3133
+ }, import('zod/v4/core').$strip>;
3134
+ health: import('zod').ZodObject<{
3135
+ status: import('zod').ZodEnum<{
3136
+ UNKNOWN: "UNKNOWN";
3137
+ ON_TRACK: "ON_TRACK";
3138
+ AT_RISK: "AT_RISK";
3139
+ CRITICAL: "CRITICAL";
3140
+ EXCELLENT: "EXCELLENT";
3141
+ ERROR: "ERROR";
3142
+ }>;
3143
+ description: import('zod').ZodOptional<import('zod').ZodString>;
3144
+ descriptionSummary: import('zod').ZodOptional<import('zod').ZodString>;
3145
+ isStale: import('zod').ZodBoolean;
3146
+ updateInProgress: import('zod').ZodBoolean;
3147
+ updatedAt: import('zod').ZodOptional<import('zod').ZodString>;
3148
+ }, import('zod/v4/core').$strip>;
3149
+ context: import('zod').ZodOptional<import('zod').ZodObject<{
3150
+ projectDescription: import('zod').ZodOptional<import('zod').ZodString>;
3151
+ projectMetrics: import('zod').ZodObject<{
3152
+ totalTasks: import('zod').ZodNumber;
3153
+ completedTasks: import('zod').ZodNumber;
3154
+ overdueTasks: import('zod').ZodNumber;
3155
+ tasksCreatedThisWeek: import('zod').ZodNumber;
3156
+ tasksCompletedThisWeek: import('zod').ZodNumber;
3157
+ averageCompletionTime: import('zod').ZodOptional<import('zod').ZodNumber>;
3158
+ }, import('zod/v4/core').$strip>;
3159
+ tasks: import('zod').ZodArray<import('zod').ZodObject<{
3160
+ id: import('zod').ZodString;
3161
+ content: import('zod').ZodString;
3162
+ priority: import('zod').ZodString;
3163
+ due: import('zod').ZodOptional<import('zod').ZodString>;
3164
+ deadline: import('zod').ZodOptional<import('zod').ZodString>;
3165
+ isCompleted: import('zod').ZodBoolean;
3166
+ labels: import('zod').ZodArray<import('zod').ZodString>;
3167
+ }, import('zod/v4/core').$strip>>;
3168
+ }, import('zod/v4/core').$strip>>;
3169
+ };
3170
+ annotations: {
3171
+ readOnlyHint: true;
3172
+ destructiveHint: false;
3173
+ idempotentHint: true;
3174
+ };
3175
+ execute(args: {
3176
+ projectId: string;
3177
+ includeContext: boolean;
3178
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3179
+ textContent: string;
3180
+ structuredContent: {
3181
+ projectId: string;
3182
+ projectName: string;
3183
+ progress: {
3184
+ completedCount: number;
3185
+ activeCount: number;
3186
+ progressPercent: number;
3187
+ };
3188
+ health: {
3189
+ status: "UNKNOWN" | "ON_TRACK" | "AT_RISK" | "CRITICAL" | "EXCELLENT" | "ERROR";
3190
+ description: string | undefined;
3191
+ descriptionSummary: string | undefined;
3192
+ isStale: boolean;
3193
+ updateInProgress: boolean;
3194
+ updatedAt: string | undefined;
3195
+ };
3196
+ context: {
3197
+ projectDescription: string | undefined;
3198
+ projectMetrics: {
3199
+ averageCompletionTime: number | undefined;
3200
+ totalTasks: number;
3201
+ completedTasks: number;
3202
+ overdueTasks: number;
3203
+ tasksCreatedThisWeek: number;
3204
+ tasksCompletedThisWeek: number;
3205
+ };
3206
+ tasks: {
3207
+ id: string;
3208
+ content: string;
3209
+ priority: string;
3210
+ due: string | undefined;
3211
+ deadline: string | undefined;
3212
+ isCompleted: boolean;
3213
+ labels: string[];
3214
+ }[];
3215
+ } | undefined;
3216
+ };
3217
+ }>;
3218
+ };
3219
+ getProjectActivityStats: {
3220
+ name: "get-project-activity-stats";
3221
+ description: string;
3222
+ parameters: {
3223
+ projectId: import('zod').ZodString;
3224
+ weeks: import('zod').ZodOptional<import('zod').ZodNumber>;
3225
+ includeWeeklyCounts: import('zod').ZodOptional<import('zod').ZodBoolean>;
3226
+ };
3227
+ outputSchema: {
3228
+ projectId: import('zod').ZodString;
3229
+ dayItems: import('zod').ZodArray<import('zod').ZodObject<{
3230
+ date: import('zod').ZodString;
3231
+ totalCount: import('zod').ZodNumber;
3232
+ }, import('zod/v4/core').$strip>>;
3233
+ weekItems: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodObject<{
3234
+ fromDate: import('zod').ZodString;
3235
+ toDate: import('zod').ZodString;
3236
+ totalCount: import('zod').ZodNumber;
3237
+ }, import('zod/v4/core').$strip>>>;
3238
+ };
3239
+ annotations: {
3240
+ readOnlyHint: true;
3241
+ destructiveHint: false;
3242
+ idempotentHint: true;
3243
+ };
3244
+ execute(args: {
3245
+ projectId: string;
3246
+ weeks?: number | undefined;
3247
+ includeWeeklyCounts?: boolean | undefined;
3248
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3249
+ textContent: string;
3250
+ structuredContent: {
3251
+ projectId: string;
3252
+ dayItems: {
3253
+ date: string;
3254
+ totalCount: number;
3255
+ }[];
3256
+ weekItems: {
3257
+ fromDate: string;
3258
+ toDate: string;
3259
+ totalCount: number;
3260
+ }[] | undefined;
3261
+ };
3262
+ }>;
3263
+ };
3264
+ analyzeProjectHealth: {
3265
+ name: "analyze-project-health";
3266
+ description: string;
3267
+ parameters: {
3268
+ projectId: import('zod').ZodString;
3269
+ };
3270
+ outputSchema: {
3271
+ projectId: import('zod').ZodString;
3272
+ health: import('zod').ZodObject<{
3273
+ status: import('zod').ZodEnum<{
3274
+ UNKNOWN: "UNKNOWN";
3275
+ ON_TRACK: "ON_TRACK";
3276
+ AT_RISK: "AT_RISK";
3277
+ CRITICAL: "CRITICAL";
3278
+ EXCELLENT: "EXCELLENT";
3279
+ ERROR: "ERROR";
3280
+ }>;
3281
+ isStale: import('zod').ZodBoolean;
3282
+ updateInProgress: import('zod').ZodBoolean;
3283
+ }, import('zod/v4/core').$strip>;
3284
+ message: import('zod').ZodString;
3285
+ };
3286
+ annotations: {
3287
+ readOnlyHint: false;
3288
+ destructiveHint: false;
3289
+ idempotentHint: true;
3290
+ };
3291
+ execute(args: {
3292
+ projectId: string;
3293
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3294
+ textContent: string;
3295
+ structuredContent: {
3296
+ projectId: string;
3297
+ health: {
3298
+ status: "UNKNOWN" | "ON_TRACK" | "AT_RISK" | "CRITICAL" | "EXCELLENT" | "ERROR";
3299
+ isStale: boolean;
3300
+ updateInProgress: boolean;
3301
+ };
3302
+ message: string;
3303
+ };
3304
+ }>;
3305
+ };
3306
+ getWorkspaceInsights: {
3307
+ name: "get-workspace-insights";
3308
+ description: string;
3309
+ parameters: {
3310
+ workspaceIdOrName: import('zod').ZodString;
3311
+ projectIds: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
3312
+ };
3313
+ outputSchema: {
3314
+ workspaceId: import('zod').ZodString;
3315
+ workspaceName: import('zod').ZodString;
3316
+ projectInsights: import('zod').ZodArray<import('zod').ZodObject<{
3317
+ projectId: import('zod').ZodString;
3318
+ health: import('zod').ZodOptional<import('zod').ZodObject<{
3319
+ status: import('zod').ZodEnum<{
3320
+ UNKNOWN: "UNKNOWN";
3321
+ ON_TRACK: "ON_TRACK";
3322
+ AT_RISK: "AT_RISK";
3323
+ CRITICAL: "CRITICAL";
3324
+ EXCELLENT: "EXCELLENT";
3325
+ ERROR: "ERROR";
3326
+ }>;
3327
+ isStale: import('zod').ZodBoolean;
3328
+ updateInProgress: import('zod').ZodBoolean;
3329
+ }, import('zod/v4/core').$strip>>;
3330
+ progress: import('zod').ZodOptional<import('zod').ZodObject<{
3331
+ completedCount: import('zod').ZodNumber;
3332
+ activeCount: import('zod').ZodNumber;
3333
+ progressPercent: import('zod').ZodNumber;
3334
+ }, import('zod/v4/core').$strip>>;
3335
+ }, import('zod/v4/core').$strip>>;
3336
+ };
3337
+ annotations: {
3338
+ readOnlyHint: true;
3339
+ destructiveHint: false;
3340
+ idempotentHint: true;
3341
+ };
3342
+ execute(args: {
3343
+ workspaceIdOrName: string;
3344
+ projectIds?: string[] | undefined;
3345
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3346
+ textContent: string;
3347
+ structuredContent: {
3348
+ workspaceId: string;
3349
+ workspaceName: string;
3350
+ projectInsights: {
3351
+ projectId: string;
3352
+ health: {
3353
+ status: "UNKNOWN" | "ON_TRACK" | "AT_RISK" | "CRITICAL" | "EXCELLENT" | "ERROR";
3354
+ isStale: boolean;
3355
+ updateInProgress: boolean;
3356
+ } | undefined;
3357
+ progress: {
3358
+ completedCount: number;
3359
+ activeCount: number;
3360
+ progressPercent: number;
3361
+ } | undefined;
3362
+ }[];
3363
+ };
3364
+ }>;
3365
+ };
3366
+ getOverview: {
3367
+ name: "get-overview";
3368
+ description: string;
3369
+ parameters: {
3370
+ projectId: import('zod').ZodOptional<import('zod').ZodString>;
3371
+ };
3372
+ outputSchema: {
3373
+ type: import('zod').ZodEnum<{
3374
+ account_overview: "account_overview";
3375
+ project_overview: "project_overview";
3376
+ }>;
3377
+ totalProjects: import('zod').ZodOptional<import('zod').ZodNumber>;
3378
+ totalTasks: import('zod').ZodOptional<import('zod').ZodNumber>;
3379
+ totalSections: import('zod').ZodOptional<import('zod').ZodNumber>;
3380
+ tasksWithoutSection: import('zod').ZodOptional<import('zod').ZodNumber>;
3381
+ projectInfo: import('zod').ZodOptional<import('zod').ZodObject<{
3382
+ id: import('zod').ZodString;
3383
+ name: import('zod').ZodString;
3384
+ isShared: import('zod').ZodBoolean;
3385
+ isFavorite: import('zod').ZodBoolean;
3386
+ }, import('zod/v4/core').$strip>>;
3387
+ hasNestedProjects: import('zod').ZodOptional<import('zod').ZodBoolean>;
3388
+ inbox: import('zod').ZodOptional<import('zod').ZodObject<{
3389
+ id: import('zod').ZodString;
3390
+ name: import('zod').ZodString;
3391
+ sections: import('zod').ZodArray<import('zod').ZodObject<{
3392
+ id: import('zod').ZodString;
3393
+ name: import('zod').ZodString;
3394
+ sectionOrder: import('zod').ZodNumber;
3395
+ description: import('zod').ZodOptional<import('zod').ZodString>;
3396
+ }, import('zod/v4/core').$strip>>;
3397
+ }, import('zod/v4/core').$strip>>;
3398
+ projects: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodLazy<import('zod').ZodType<{
3399
+ id: string;
3400
+ name: string;
3401
+ parentId?: string;
3402
+ folderId?: string;
3403
+ childOrder: number;
3404
+ sections: import('./utils/output-schemas.js').SectionSummary[];
3405
+ children: unknown[];
3406
+ }, unknown, import('zod/v4/core').$ZodTypeInternals<{
3407
+ id: string;
3408
+ name: string;
3409
+ parentId?: string;
3410
+ folderId?: string;
3411
+ childOrder: number;
3412
+ sections: import('./utils/output-schemas.js').SectionSummary[];
3413
+ children: unknown[];
3414
+ }, unknown>>>>>;
3415
+ project: import('zod').ZodOptional<import('zod').ZodObject<{
3416
+ id: import('zod').ZodString;
3417
+ name: import('zod').ZodString;
3418
+ }, import('zod/v4/core').$strip>>;
3419
+ sections: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodObject<{
3420
+ id: import('zod').ZodString;
3421
+ name: import('zod').ZodString;
3422
+ sectionOrder: import('zod').ZodNumber;
3423
+ description: import('zod').ZodOptional<import('zod').ZodString>;
3424
+ }, import('zod/v4/core').$strip>>>;
3425
+ tasks: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodAny>>;
3426
+ stats: import('zod').ZodOptional<import('zod').ZodObject<{
3427
+ totalTasks: import('zod').ZodNumber;
3428
+ totalSections: import('zod').ZodNumber;
3429
+ tasksWithoutSection: import('zod').ZodNumber;
3430
+ }, import('zod/v4/core').$strip>>;
3431
+ };
3432
+ annotations: {
3433
+ readOnlyHint: true;
3434
+ destructiveHint: false;
3435
+ idempotentHint: true;
3436
+ };
3437
+ execute(args: {
3438
+ projectId?: string | undefined;
3439
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3440
+ textContent: string;
3441
+ structuredContent: import('./tools/get-overview.js').AccountOverviewStructured | import('./tools/get-overview.js').ProjectOverviewStructured;
3442
+ }>;
3443
+ };
3444
+ deleteObject: {
3445
+ name: "delete-object";
3446
+ description: string;
3447
+ parameters: {
3448
+ type: import('zod').ZodEnum<{
3449
+ filter: "filter";
3450
+ label: "label";
3451
+ task: "task";
3452
+ comment: "comment";
3453
+ reminder: "reminder";
3454
+ project: "project";
3455
+ section: "section";
3456
+ location_reminder: "location_reminder";
3457
+ }>;
3458
+ id: import('zod').ZodString;
3459
+ };
3460
+ outputSchema: {
3461
+ deletedEntity: import('zod').ZodObject<{
3462
+ type: import('zod').ZodEnum<{
3463
+ filter: "filter";
3464
+ label: "label";
3465
+ task: "task";
3466
+ comment: "comment";
3467
+ reminder: "reminder";
3468
+ project: "project";
3469
+ section: "section";
3470
+ location_reminder: "location_reminder";
3471
+ }>;
3472
+ id: import('zod').ZodString;
3473
+ }, import('zod/v4/core').$strip>;
3474
+ success: import('zod').ZodBoolean;
3475
+ };
3476
+ annotations: {
3477
+ readOnlyHint: false;
3478
+ destructiveHint: true;
3479
+ idempotentHint: true;
3480
+ };
3481
+ execute(args: {
3482
+ type: "filter" | "label" | "task" | "comment" | "reminder" | "project" | "section" | "location_reminder";
3483
+ id: string;
3484
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3485
+ textContent: string;
3486
+ structuredContent: {
3487
+ deletedEntity: {
3488
+ type: "filter" | "label" | "task" | "comment" | "reminder" | "project" | "section" | "location_reminder";
3489
+ id: string;
3490
+ };
3491
+ success: true;
3492
+ };
3493
+ }>;
3494
+ };
3495
+ fetchObject: {
3496
+ name: "fetch-object";
3497
+ description: string;
3498
+ parameters: {
3499
+ type: import('zod').ZodEnum<{
3500
+ task: "task";
3501
+ comment: "comment";
3502
+ project: "project";
3503
+ section: "section";
3504
+ }>;
3505
+ id: import('zod').ZodString;
3506
+ includeChildren: import('zod').ZodOptional<import('zod').ZodBoolean>;
3507
+ };
3508
+ outputSchema: {
3509
+ childCount: import('zod').ZodOptional<import('zod').ZodNumber>;
3510
+ children: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodUnion<readonly [import('zod').ZodObject<{
3511
+ content: import('zod').ZodString;
3512
+ id: import('zod').ZodString;
3513
+ checked: import('zod').ZodBoolean;
3514
+ dueDate: import('zod').ZodOptional<import('zod').ZodString>;
3515
+ hasChildren: import('zod').ZodBoolean;
3516
+ }, import('zod/v4/core').$strip>, import('zod').ZodObject<{
3517
+ name: import('zod').ZodString;
3518
+ id: import('zod').ZodString;
3519
+ hasChildren: import('zod').ZodBoolean;
3520
+ }, import('zod/v4/core').$strip>]>>>;
3521
+ hasMoreChildren: import('zod').ZodOptional<import('zod').ZodBoolean>;
3522
+ childrenError: import('zod').ZodOptional<import('zod').ZodString>;
3523
+ type: import('zod').ZodEnum<{
3524
+ task: "task";
3525
+ comment: "comment";
3526
+ project: "project";
3527
+ section: "section";
3528
+ }>;
3529
+ id: import('zod').ZodString;
3530
+ object: import('zod').ZodUnion<readonly [import('zod').ZodObject<{
3531
+ id: import('zod').ZodString;
3532
+ content: import('zod').ZodString;
3533
+ description: import('zod').ZodString;
3534
+ dueDate: import('zod').ZodOptional<import('zod').ZodString>;
3535
+ recurring: import('zod').ZodUnion<readonly [import('zod').ZodBoolean, import('zod').ZodString]>;
3536
+ deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
3537
+ priority: import('zod').ZodEnum<{
3538
+ p1: "p1";
3539
+ p2: "p2";
3540
+ p3: "p3";
3541
+ p4: "p4";
3542
+ }>;
3543
+ projectId: import('zod').ZodString;
3544
+ sectionId: import('zod').ZodOptional<import('zod').ZodString>;
3545
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
3546
+ labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
3547
+ duration: import('zod').ZodOptional<import('zod').ZodString>;
3548
+ responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
3549
+ isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
3550
+ assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
3551
+ isDeleted: import('zod').ZodOptional<import('zod').ZodBoolean>;
3552
+ checked: import('zod').ZodBoolean;
3553
+ completedAt: import('zod').ZodOptional<import('zod').ZodString>;
3554
+ addedAt: import('zod').ZodOptional<import('zod').ZodString>;
3555
+ }, import('zod/v4/core').$strip>, import('zod').ZodObject<{
3556
+ id: import('zod').ZodString;
3557
+ name: import('zod').ZodString;
3558
+ description: import('zod').ZodString;
3559
+ color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
3560
+ berry_red: "berry_red";
3561
+ red: "red";
3562
+ orange: "orange";
3563
+ yellow: "yellow";
3564
+ olive_green: "olive_green";
3565
+ lime_green: "lime_green";
3566
+ green: "green";
3567
+ mint_green: "mint_green";
3568
+ teal: "teal";
3569
+ sky_blue: "sky_blue";
3570
+ light_blue: "light_blue";
3571
+ blue: "blue";
3572
+ grape: "grape";
3573
+ violet: "violet";
3574
+ lavender: "lavender";
3575
+ magenta: "magenta";
3576
+ salmon: "salmon";
3577
+ charcoal: "charcoal";
3578
+ grey: "grey";
3579
+ taupe: "taupe";
3580
+ }>>>;
3581
+ isFavorite: import('zod').ZodBoolean;
3582
+ isShared: import('zod').ZodBoolean;
3583
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
3584
+ inboxProject: import('zod').ZodBoolean;
3585
+ viewStyle: import('zod').ZodString;
3586
+ workspaceId: import('zod').ZodOptional<import('zod').ZodString>;
3587
+ folderId: import('zod').ZodOptional<import('zod').ZodString>;
3588
+ childOrder: import('zod').ZodNumber;
3589
+ isArchived: import('zod').ZodBoolean;
3590
+ }, import('zod/v4/core').$strip>, import('zod').ZodObject<{
3591
+ id: import('zod').ZodString;
3592
+ taskId: import('zod').ZodOptional<import('zod').ZodString>;
3593
+ projectId: import('zod').ZodOptional<import('zod').ZodString>;
3594
+ content: import('zod').ZodString;
3595
+ postedAt: import('zod').ZodString;
3596
+ postedUid: import('zod').ZodOptional<import('zod').ZodString>;
3597
+ notifiedUserIds: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
3598
+ fileAttachment: import('zod').ZodOptional<import('zod').ZodObject<{
3599
+ resourceType: import('zod').ZodString;
3600
+ fileName: import('zod').ZodOptional<import('zod').ZodString>;
3601
+ fileSize: import('zod').ZodOptional<import('zod').ZodNumber>;
3602
+ fileType: import('zod').ZodOptional<import('zod').ZodString>;
3603
+ fileUrl: import('zod').ZodOptional<import('zod').ZodString>;
3604
+ fileDuration: import('zod').ZodOptional<import('zod').ZodNumber>;
3605
+ uploadState: import('zod').ZodOptional<import('zod').ZodEnum<{
3606
+ pending: "pending";
3607
+ completed: "completed";
3608
+ }>>;
3609
+ url: import('zod').ZodOptional<import('zod').ZodString>;
3610
+ title: import('zod').ZodOptional<import('zod').ZodString>;
3611
+ image: import('zod').ZodOptional<import('zod').ZodString>;
3612
+ imageWidth: import('zod').ZodOptional<import('zod').ZodNumber>;
3613
+ imageHeight: import('zod').ZodOptional<import('zod').ZodNumber>;
3614
+ }, import('zod/v4/core').$strip>>;
3615
+ }, import('zod/v4/core').$strip>, import('zod').ZodObject<{
3616
+ id: import('zod').ZodString;
3617
+ name: import('zod').ZodString;
3618
+ sectionOrder: import('zod').ZodNumber;
3619
+ description: import('zod').ZodOptional<import('zod').ZodString>;
3620
+ }, import('zod/v4/core').$strip>]>;
3621
+ };
3622
+ annotations: {
3623
+ readOnlyHint: true;
3624
+ destructiveHint: false;
3625
+ idempotentHint: true;
3626
+ };
3627
+ execute(args: {
3628
+ type: "task" | "comment" | "project" | "section";
3629
+ id: string;
3630
+ includeChildren?: boolean | undefined;
3631
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3632
+ textContent: string;
3633
+ structuredContent: {
3634
+ type: "task";
3635
+ id: string;
3636
+ object: {
3637
+ id: string;
3638
+ content: string;
3639
+ description: string;
3640
+ dueDate: string | undefined;
3641
+ recurring: string | boolean;
3642
+ deadlineDate: string | undefined;
3643
+ priority: "p1" | "p2" | "p3" | "p4";
3644
+ projectId: string;
3645
+ sectionId: string | undefined;
3646
+ parentId: string | undefined;
3647
+ labels: string[];
3648
+ duration: string | undefined;
3649
+ responsibleUid: string | undefined;
3650
+ assignedByUid: string | undefined;
3651
+ isDeleted: true | undefined;
3652
+ checked: boolean;
3653
+ completedAt: string | undefined;
3654
+ addedAt: string | undefined;
3655
+ };
3656
+ };
3657
+ } | {
3658
+ textContent: string;
3659
+ structuredContent: {
3660
+ childCount?: number;
3661
+ children?: ({
3662
+ content: string;
3663
+ id: string;
3664
+ checked: boolean;
3665
+ hasChildren: boolean;
3666
+ dueDate?: string | undefined;
3667
+ } | {
3668
+ name: string;
3669
+ id: string;
3670
+ hasChildren: boolean;
3671
+ })[];
3672
+ hasMoreChildren?: boolean;
3673
+ childrenError?: string;
3674
+ type: "project";
3675
+ id: string;
3676
+ object: {
3677
+ id: string;
3678
+ name: string;
3679
+ description: string;
3680
+ color: import('@doist/todoist-sdk').ColorKey;
3681
+ isFavorite: boolean;
3682
+ isShared: boolean;
3683
+ parentId: string | undefined;
3684
+ inboxProject: boolean;
3685
+ viewStyle: string;
3686
+ workspaceId: string | undefined;
3687
+ folderId: string | undefined;
3688
+ childOrder: number;
3689
+ isArchived: boolean;
3690
+ };
3691
+ };
3692
+ } | {
3693
+ textContent: string;
3694
+ structuredContent: {
3695
+ type: "comment";
3696
+ id: string;
3697
+ object: {
3698
+ id: string;
3699
+ taskId: string | undefined;
3700
+ projectId: string | undefined;
3701
+ content: string;
3702
+ postedAt: string;
3703
+ postedUid: string;
3704
+ notifiedUserIds: string[] | undefined;
3705
+ fileAttachment: {
3706
+ resourceType: string;
3707
+ fileName: string | undefined;
3708
+ fileSize: number | undefined;
3709
+ fileType: string | undefined;
3710
+ fileUrl: string | undefined;
3711
+ fileDuration: number | undefined;
3712
+ uploadState: "pending" | "completed" | undefined;
3713
+ url: string | undefined;
3714
+ title: string | undefined;
3715
+ image: string | undefined;
3716
+ imageWidth: number | undefined;
3717
+ imageHeight: number | undefined;
3718
+ } | undefined;
3719
+ };
3720
+ };
3721
+ } | {
3722
+ textContent: string;
3723
+ structuredContent: {
3724
+ type: "section";
3725
+ id: string;
3726
+ object: {
3727
+ id: string;
3728
+ name: string;
3729
+ sectionOrder: number;
3730
+ description?: string | undefined;
3731
+ };
3732
+ };
3733
+ }>;
3734
+ };
3735
+ reorderObjects: {
3736
+ name: "reorder-objects";
3737
+ description: string;
3738
+ parameters: {
3739
+ type: import('zod').ZodEnum<{
3740
+ project: "project";
3741
+ section: "section";
3742
+ }>;
3743
+ items: import('zod').ZodArray<import('zod').ZodObject<{
3744
+ id: import('zod').ZodString;
3745
+ order: import('zod').ZodOptional<import('zod').ZodNumber>;
3746
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
3747
+ }, import('zod/v4/core').$strip>>;
3748
+ };
3749
+ outputSchema: {
3750
+ type: import('zod').ZodEnum<{
3751
+ project: "project";
3752
+ section: "section";
3753
+ }>;
3754
+ movedCount: import('zod').ZodNumber;
3755
+ reorderedCount: import('zod').ZodNumber;
3756
+ affectedIds: import('zod').ZodArray<import('zod').ZodString>;
3757
+ failures: import('zod').ZodArray<import('zod').ZodObject<{
3758
+ item: import('zod').ZodString;
3759
+ error: import('zod').ZodString;
3760
+ code: import('zod').ZodOptional<import('zod').ZodString>;
3761
+ }, import('zod/v4/core').$strip>>;
3762
+ success: import('zod').ZodBoolean;
3763
+ };
3764
+ annotations: {
3765
+ readOnlyHint: false;
3766
+ destructiveHint: false;
3767
+ idempotentHint: true;
3768
+ };
3769
+ execute(args: {
3770
+ type: "project" | "section";
3771
+ items: {
3772
+ id: string;
3773
+ order?: number | undefined;
3774
+ parentId?: string | undefined;
3775
+ }[];
3776
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3777
+ textContent: string;
3778
+ structuredContent: {
3779
+ type: "project" | "section";
3780
+ movedCount: number;
3781
+ reorderedCount: number;
3782
+ affectedIds: string[];
3783
+ failures: {
3784
+ item: string;
3785
+ error: string;
3786
+ }[];
3787
+ success: boolean;
3788
+ };
3789
+ }>;
3790
+ };
3791
+ userInfo: {
3792
+ name: "user-info";
3793
+ description: string;
3794
+ parameters: {};
3795
+ outputSchema: {
3796
+ type: import('zod').ZodLiteral<"user_info">;
3797
+ userId: import('zod').ZodString;
3798
+ fullName: import('zod').ZodString;
3799
+ timezone: import('zod').ZodString;
3800
+ currentLocalTime: import('zod').ZodString;
3801
+ startDay: import('zod').ZodNumber;
3802
+ startDayName: import('zod').ZodString;
3803
+ weekStartDate: import('zod').ZodString;
3804
+ weekEndDate: import('zod').ZodString;
3805
+ currentWeekNumber: import('zod').ZodNumber;
3806
+ completedToday: import('zod').ZodNumber;
3807
+ dailyGoal: import('zod').ZodNumber;
3808
+ weeklyGoal: import('zod').ZodNumber;
3809
+ email: import('zod').ZodString;
3810
+ plan: import('zod').ZodEnum<{
3811
+ "Todoist Free": "Todoist Free";
3812
+ "Todoist Pro": "Todoist Pro";
3813
+ "Todoist Business": "Todoist Business";
3814
+ }>;
3815
+ };
3816
+ annotations: {
3817
+ readOnlyHint: true;
3818
+ destructiveHint: false;
3819
+ idempotentHint: true;
3820
+ };
3821
+ execute(_args: Record<string, never>, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3822
+ textContent: string;
3823
+ structuredContent: import('./tools/user-info.js').UserInfoStructured;
3824
+ }>;
3825
+ };
3826
+ getUserStatus: {
3827
+ name: "get-user-status";
3828
+ description: string;
3829
+ parameters: {};
3830
+ outputSchema: {
3831
+ hasStatus: import('zod').ZodBoolean;
3832
+ status: import('zod').ZodOptional<import('zod').ZodObject<{
3833
+ message: import('zod').ZodString;
3834
+ emoji: import('zod').ZodOptional<import('zod').ZodString>;
3835
+ activeUntil: import('zod').ZodOptional<import('zod').ZodString>;
3836
+ pauseNotifications: import('zod').ZodBoolean;
3837
+ pauseActivity: import('zod').ZodBoolean;
3838
+ }, import('zod/v4/core').$strip>>;
3839
+ };
3840
+ annotations: {
3841
+ readOnlyHint: true;
3842
+ destructiveHint: false;
3843
+ idempotentHint: true;
3844
+ };
3845
+ execute(_args: Record<string, never>, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3846
+ textContent: string;
3847
+ structuredContent: {
3848
+ hasStatus: boolean;
3849
+ status?: {
3850
+ message: string;
3851
+ pauseNotifications: boolean;
3852
+ pauseActivity: boolean;
3853
+ emoji?: string | undefined;
3854
+ activeUntil?: string | undefined;
3855
+ };
3856
+ };
3857
+ }>;
3858
+ };
3859
+ setUserStatus: {
3860
+ name: "set-user-status";
3861
+ description: string;
3862
+ parameters: {
3863
+ message: import('zod').ZodOptional<import('zod').ZodString>;
3864
+ emoji: import('zod').ZodOptional<import('zod').ZodString>;
3865
+ activeUntil: import('zod').ZodOptional<import('zod').ZodString>;
3866
+ pauseNotifications: import('zod').ZodOptional<import('zod').ZodBoolean>;
3867
+ pauseActivity: import('zod').ZodOptional<import('zod').ZodBoolean>;
3868
+ clear: import('zod').ZodOptional<import('zod').ZodBoolean>;
3869
+ };
3870
+ outputSchema: {
3871
+ hasStatus: import('zod').ZodBoolean;
3872
+ status: import('zod').ZodOptional<import('zod').ZodObject<{
3873
+ message: import('zod').ZodString;
3874
+ emoji: import('zod').ZodOptional<import('zod').ZodString>;
3875
+ activeUntil: import('zod').ZodOptional<import('zod').ZodString>;
3876
+ pauseNotifications: import('zod').ZodBoolean;
3877
+ pauseActivity: import('zod').ZodBoolean;
3878
+ }, import('zod/v4/core').$strip>>;
3879
+ };
3880
+ annotations: {
3881
+ readOnlyHint: false;
3882
+ destructiveHint: true;
3883
+ idempotentHint: true;
3884
+ openWorldHint: true;
3885
+ };
3886
+ execute(args: {
3887
+ message?: string | undefined;
3888
+ emoji?: string | undefined;
3889
+ activeUntil?: string | undefined;
3890
+ pauseNotifications?: boolean | undefined;
3891
+ pauseActivity?: boolean | undefined;
3892
+ clear?: boolean | undefined;
3893
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3894
+ textContent: string;
3895
+ structuredContent: {
3896
+ hasStatus: boolean;
3897
+ status?: {
3898
+ message: string;
3899
+ pauseNotifications: boolean;
3900
+ pauseActivity: boolean;
3901
+ emoji?: string | undefined;
3902
+ activeUntil?: string | undefined;
3903
+ };
3904
+ };
3905
+ }>;
3906
+ };
3907
+ findProjectCollaborators: {
3908
+ name: "find-project-collaborators";
3909
+ description: string;
3910
+ parameters: {
3911
+ projectId: import('zod').ZodOptional<import('zod').ZodString>;
3912
+ searchTerm: import('zod').ZodOptional<import('zod').ZodString>;
3913
+ };
3914
+ outputSchema: {
3915
+ collaborators: import('zod').ZodArray<import('zod').ZodObject<{
3916
+ id: import('zod').ZodString;
3917
+ name: import('zod').ZodString;
3918
+ email: import('zod').ZodString;
3919
+ }, import('zod/v4/core').$strip>>;
3920
+ projectInfo: import('zod').ZodOptional<import('zod').ZodObject<{
3921
+ id: import('zod').ZodString;
3922
+ name: import('zod').ZodString;
3923
+ isShared: import('zod').ZodBoolean;
3924
+ }, import('zod/v4/core').$strip>>;
3925
+ totalCount: import('zod').ZodNumber;
3926
+ totalAvailable: import('zod').ZodOptional<import('zod').ZodNumber>;
3927
+ appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
3928
+ };
3929
+ annotations: {
3930
+ readOnlyHint: true;
3931
+ destructiveHint: false;
3932
+ idempotentHint: true;
3933
+ };
3934
+ execute(args: {
3935
+ projectId?: string | undefined;
3936
+ searchTerm?: string | undefined;
3937
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3938
+ textContent: string;
3939
+ structuredContent: {
3940
+ collaborators: import('./utils/user-resolver.js').ProjectCollaborator[];
3941
+ projectInfo: undefined;
3942
+ totalCount: number;
3943
+ totalAvailable: number;
3944
+ appliedFilters: Record<string, unknown>;
3945
+ };
3946
+ } | {
3947
+ textContent: string;
3948
+ structuredContent: {
3949
+ collaborators: never[];
3950
+ projectInfo: {
3951
+ id: string;
3952
+ name: string;
3953
+ isShared: false;
3954
+ };
3955
+ totalCount: number;
3956
+ appliedFilters: {
3957
+ projectId?: string | undefined;
3958
+ searchTerm?: string | undefined;
3959
+ };
3960
+ totalAvailable?: undefined;
3961
+ };
3962
+ } | {
3963
+ textContent: string;
3964
+ structuredContent: {
3965
+ collaborators: never[];
3966
+ projectInfo: {
3967
+ id: string;
3968
+ name: string;
3969
+ isShared: true;
3970
+ };
3971
+ totalCount: number;
3972
+ appliedFilters: {
3973
+ projectId?: string | undefined;
3974
+ searchTerm?: string | undefined;
3975
+ };
3976
+ totalAvailable?: undefined;
3977
+ };
3978
+ } | {
3979
+ textContent: string;
3980
+ structuredContent: {
3981
+ collaborators: import('./utils/user-resolver.js').ProjectCollaborator[];
3982
+ projectInfo: {
3983
+ id: string;
3984
+ name: string;
3985
+ isShared: true;
3986
+ };
3987
+ totalCount: number;
3988
+ totalAvailable: number;
3989
+ appliedFilters: {
3990
+ projectId?: string | undefined;
3991
+ searchTerm?: string | undefined;
3992
+ };
3993
+ };
3994
+ }>;
3995
+ };
3996
+ manageAssignments: {
3997
+ name: "manage-assignments";
3998
+ description: string;
3999
+ parameters: {
4000
+ operation: import('zod').ZodEnum<{
4001
+ assign: "assign";
4002
+ unassign: "unassign";
4003
+ reassign: "reassign";
4004
+ }>;
4005
+ taskIds: import('zod').ZodArray<import('zod').ZodString>;
4006
+ responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
4007
+ fromAssigneeUser: import('zod').ZodOptional<import('zod').ZodString>;
4008
+ dryRun: import('zod').ZodDefault<import('zod').ZodOptional<import('zod').ZodBoolean>>;
4009
+ };
4010
+ outputSchema: {
4011
+ results: import('zod').ZodArray<import('zod').ZodObject<{
4012
+ taskId: import('zod').ZodString;
4013
+ success: import('zod').ZodBoolean;
4014
+ error: import('zod').ZodOptional<import('zod').ZodString>;
4015
+ originalAssigneeId: import('zod').ZodOptional<import('zod').ZodString>;
4016
+ newAssigneeId: import('zod').ZodOptional<import('zod').ZodString>;
4017
+ }, import('zod/v4/core').$strip>>;
4018
+ summary: import('zod').ZodOptional<import('zod').ZodObject<{
4019
+ total: import('zod').ZodNumber;
4020
+ succeeded: import('zod').ZodNumber;
4021
+ failed: import('zod').ZodNumber;
4022
+ dryRun: import('zod').ZodBoolean;
4023
+ }, import('zod/v4/core').$strip>>;
4024
+ };
4025
+ annotations: {
4026
+ readOnlyHint: false;
4027
+ destructiveHint: true;
4028
+ idempotentHint: false;
4029
+ openWorldHint: true;
4030
+ };
4031
+ execute(args: {
4032
+ operation: "assign" | "unassign" | "reassign";
4033
+ taskIds: string[];
4034
+ dryRun: boolean;
4035
+ responsibleUser?: string | undefined;
4036
+ fromAssigneeUser?: string | undefined;
4037
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
4038
+ textContent: string;
4039
+ structuredContent: {
4040
+ operation: "unassign";
4041
+ results: import('./tools/manage-assignments.js').OperationResult[];
4042
+ totalRequested: number;
4043
+ successful: number;
4044
+ failed: number;
4045
+ dryRun: boolean;
4046
+ };
4047
+ } | {
4048
+ textContent: string;
4049
+ structuredContent: {
4050
+ operation: "assign" | "reassign";
4051
+ results: import('./tools/manage-assignments.js').OperationResult[];
4052
+ totalRequested: number;
4053
+ successful: number;
4054
+ failed: number;
4055
+ dryRun: boolean;
4056
+ };
4057
+ }>;
4058
+ };
4059
+ exportProjectTemplate: {
4060
+ name: "export-project-template";
4061
+ description: string;
4062
+ parameters: {
4063
+ projectId: import('zod').ZodString;
4064
+ format: import('zod').ZodDefault<import('zod').ZodEnum<{
4065
+ file: "file";
4066
+ url: "url";
4067
+ }>>;
4068
+ useRelativeDates: import('zod').ZodOptional<import('zod').ZodBoolean>;
4069
+ };
4070
+ outputSchema: {
4071
+ format: import('zod').ZodEnum<{
4072
+ file: "file";
4073
+ url: "url";
4074
+ }>;
4075
+ content: import('zod').ZodOptional<import('zod').ZodString>;
4076
+ lineCount: import('zod').ZodOptional<import('zod').ZodNumber>;
4077
+ fileName: import('zod').ZodOptional<import('zod').ZodString>;
4078
+ fileUrl: import('zod').ZodOptional<import('zod').ZodString>;
4079
+ };
4080
+ annotations: {
4081
+ readOnlyHint: false;
4082
+ destructiveHint: false;
4083
+ idempotentHint: true;
4084
+ openWorldHint: true;
4085
+ };
4086
+ execute({ projectId, format, useRelativeDates }: {
4087
+ projectId: string;
4088
+ format: "file" | "url";
4089
+ useRelativeDates?: boolean | undefined;
4090
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
4091
+ textContent: string;
4092
+ structuredContent: {
4093
+ format: "url";
4094
+ fileName: string;
4095
+ fileUrl: string;
4096
+ content?: undefined;
4097
+ lineCount?: undefined;
4098
+ };
4099
+ } | {
4100
+ textContent: string;
4101
+ structuredContent: {
4102
+ format: "file";
4103
+ content: string;
4104
+ lineCount: number;
4105
+ fileName?: undefined;
4106
+ fileUrl?: undefined;
4107
+ };
4108
+ }>;
4109
+ };
4110
+ importProjectTemplate: {
4111
+ name: "import-project-template";
4112
+ description: string;
4113
+ parameters: {
4114
+ projectId: import('zod').ZodString;
4115
+ templateId: import('zod').ZodOptional<import('zod').ZodString>;
4116
+ csvFileContent: import('zod').ZodOptional<import('zod').ZodString>;
4117
+ locale: import('zod').ZodOptional<import('zod').ZodString>;
4118
+ };
4119
+ outputSchema: {
4120
+ sections: import('zod').ZodArray<import('zod').ZodObject<{
4121
+ id: import('zod').ZodString;
4122
+ name: import('zod').ZodString;
4123
+ sectionOrder: import('zod').ZodNumber;
4124
+ description: import('zod').ZodOptional<import('zod').ZodString>;
4125
+ }, import('zod/v4/core').$strip>>;
4126
+ tasks: import('zod').ZodArray<import('zod').ZodObject<{
4127
+ id: import('zod').ZodString;
4128
+ content: import('zod').ZodString;
4129
+ description: import('zod').ZodString;
4130
+ dueDate: import('zod').ZodOptional<import('zod').ZodString>;
4131
+ recurring: import('zod').ZodUnion<readonly [import('zod').ZodBoolean, import('zod').ZodString]>;
4132
+ deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
4133
+ priority: import('zod').ZodEnum<{
4134
+ p1: "p1";
4135
+ p2: "p2";
4136
+ p3: "p3";
4137
+ p4: "p4";
4138
+ }>;
4139
+ projectId: import('zod').ZodString;
4140
+ sectionId: import('zod').ZodOptional<import('zod').ZodString>;
4141
+ parentId: import('zod').ZodOptional<import('zod').ZodString>;
4142
+ labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
4143
+ duration: import('zod').ZodOptional<import('zod').ZodString>;
4144
+ responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
4145
+ isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
4146
+ assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
4147
+ isDeleted: import('zod').ZodOptional<import('zod').ZodBoolean>;
4148
+ checked: import('zod').ZodBoolean;
4149
+ completedAt: import('zod').ZodOptional<import('zod').ZodString>;
4150
+ addedAt: import('zod').ZodOptional<import('zod').ZodString>;
4151
+ }, import('zod/v4/core').$strip>>;
4152
+ comments: import('zod').ZodArray<import('zod').ZodObject<{
4153
+ id: import('zod').ZodString;
4154
+ taskId: import('zod').ZodOptional<import('zod').ZodString>;
4155
+ projectId: import('zod').ZodOptional<import('zod').ZodString>;
4156
+ content: import('zod').ZodString;
4157
+ postedAt: import('zod').ZodString;
4158
+ postedUid: import('zod').ZodOptional<import('zod').ZodString>;
4159
+ notifiedUserIds: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
4160
+ fileAttachment: import('zod').ZodOptional<import('zod').ZodObject<{
4161
+ resourceType: import('zod').ZodString;
4162
+ fileName: import('zod').ZodOptional<import('zod').ZodString>;
4163
+ fileSize: import('zod').ZodOptional<import('zod').ZodNumber>;
4164
+ fileType: import('zod').ZodOptional<import('zod').ZodString>;
4165
+ fileUrl: import('zod').ZodOptional<import('zod').ZodString>;
4166
+ fileDuration: import('zod').ZodOptional<import('zod').ZodNumber>;
4167
+ uploadState: import('zod').ZodOptional<import('zod').ZodEnum<{
4168
+ pending: "pending";
4169
+ completed: "completed";
4170
+ }>>;
4171
+ url: import('zod').ZodOptional<import('zod').ZodString>;
4172
+ title: import('zod').ZodOptional<import('zod').ZodString>;
4173
+ image: import('zod').ZodOptional<import('zod').ZodString>;
4174
+ imageWidth: import('zod').ZodOptional<import('zod').ZodNumber>;
4175
+ imageHeight: import('zod').ZodOptional<import('zod').ZodNumber>;
4176
+ }, import('zod/v4/core').$strip>>;
4177
+ }, import('zod/v4/core').$strip>>;
4178
+ totalCount: import('zod').ZodNumber;
4179
+ };
4180
+ annotations: {
4181
+ readOnlyHint: false;
4182
+ destructiveHint: false;
4183
+ idempotentHint: false;
4184
+ };
4185
+ execute({ projectId, templateId, csvFileContent, locale }: {
4186
+ projectId: string;
4187
+ templateId?: string | undefined;
4188
+ csvFileContent?: string | undefined;
4189
+ locale?: string | undefined;
4190
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
4191
+ textContent: string;
4192
+ structuredContent: {
4193
+ sections: {
4194
+ id: string;
4195
+ name: string;
4196
+ sectionOrder: number;
4197
+ description?: string | undefined;
4198
+ }[];
4199
+ tasks: {
4200
+ id: string;
4201
+ content: string;
4202
+ description: string;
4203
+ dueDate: string | undefined;
4204
+ recurring: string | boolean;
4205
+ deadlineDate: string | undefined;
4206
+ priority: "p1" | "p2" | "p3" | "p4";
4207
+ projectId: string;
4208
+ sectionId: string | undefined;
4209
+ parentId: string | undefined;
4210
+ labels: string[];
4211
+ duration: string | undefined;
4212
+ responsibleUid: string | undefined;
4213
+ assignedByUid: string | undefined;
4214
+ isDeleted: true | undefined;
4215
+ checked: boolean;
4216
+ completedAt: string | undefined;
4217
+ addedAt: string | undefined;
4218
+ }[];
4219
+ comments: {
4220
+ id: string;
4221
+ taskId: string | undefined;
4222
+ projectId: string | undefined;
4223
+ content: string;
4224
+ postedAt: string;
4225
+ postedUid: string;
4226
+ notifiedUserIds: string[] | undefined;
4227
+ fileAttachment: {
4228
+ resourceType: string;
4229
+ fileName: string | undefined;
4230
+ fileSize: number | undefined;
4231
+ fileType: string | undefined;
4232
+ fileUrl: string | undefined;
4233
+ fileDuration: number | undefined;
4234
+ uploadState: "pending" | "completed" | undefined;
4235
+ url: string | undefined;
4236
+ title: string | undefined;
4237
+ image: string | undefined;
4238
+ imageWidth: number | undefined;
4239
+ imageHeight: number | undefined;
4240
+ } | undefined;
4241
+ }[];
4242
+ totalCount: number;
4243
+ };
4244
+ }>;
4245
+ };
4246
+ listWorkspaces: {
4247
+ name: "list-workspaces";
4248
+ description: string;
4249
+ parameters: {};
4250
+ outputSchema: {
4251
+ type: import('zod').ZodLiteral<"workspaces">;
4252
+ workspaces: import('zod').ZodArray<import('zod').ZodObject<{
4253
+ id: import('zod').ZodString;
4254
+ name: import('zod').ZodString;
4255
+ plan: import('zod').ZodEnum<{
4256
+ STARTER: "STARTER";
4257
+ BUSINESS: "BUSINESS";
4258
+ }>;
4259
+ role: import('zod').ZodOptional<import('zod').ZodEnum<{
4260
+ ADMIN: "ADMIN";
4261
+ MEMBER: "MEMBER";
4262
+ GUEST: "GUEST";
4263
+ }>>;
4264
+ isLinkSharingEnabled: import('zod').ZodBoolean;
4265
+ isGuestAllowed: import('zod').ZodBoolean;
4266
+ createdAt: import('zod').ZodOptional<import('zod').ZodString>;
4267
+ creatorId: import('zod').ZodString;
4268
+ }, import('zod/v4/core').$strip>>;
4269
+ count: import('zod').ZodNumber;
4270
+ };
4271
+ annotations: {
4272
+ readOnlyHint: true;
4273
+ destructiveHint: false;
4274
+ idempotentHint: true;
4275
+ };
4276
+ execute(_args: Record<string, never>, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
4277
+ textContent: string;
4278
+ structuredContent: import('./tools/list-workspaces.js').WorkspacesStructured;
4279
+ }>;
4280
+ };
4281
+ search: {
4282
+ name: "search";
4283
+ description: string;
4284
+ parameters: {
4285
+ query: import('zod').ZodString;
4286
+ };
4287
+ outputSchema: {
4288
+ results: import('zod').ZodArray<import('zod').ZodObject<{
4289
+ id: import('zod').ZodString;
4290
+ title: import('zod').ZodString;
4291
+ url: import('zod').ZodString;
4292
+ }, import('zod/v4/core').$strip>>;
4293
+ totalCount: import('zod').ZodNumber;
4294
+ };
4295
+ annotations: {
4296
+ readOnlyHint: true;
4297
+ destructiveHint: false;
4298
+ idempotentHint: true;
4299
+ };
4300
+ execute(args: {
4301
+ query: string;
4302
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
4303
+ textContent: string;
4304
+ structuredContent: {
4305
+ results: {
4306
+ id: string;
4307
+ title: string;
4308
+ url: string;
4309
+ }[];
4310
+ totalCount: number;
4311
+ };
4312
+ }>;
4313
+ };
4314
+ fetch: {
4315
+ name: "fetch";
4316
+ description: string;
4317
+ parameters: {
4318
+ id: import('zod').ZodString;
4319
+ };
4320
+ outputSchema: {
4321
+ id: import('zod').ZodString;
4322
+ title: import('zod').ZodString;
4323
+ text: import('zod').ZodString;
4324
+ url: import('zod').ZodString;
4325
+ metadata: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
4326
+ };
4327
+ annotations: {
4328
+ readOnlyHint: true;
4329
+ destructiveHint: false;
4330
+ idempotentHint: true;
4331
+ };
4332
+ execute(args: {
4333
+ id: string;
4334
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
4335
+ textContent: string;
4336
+ structuredContent: {
4337
+ id: string;
4338
+ title: string;
4339
+ text: string;
4340
+ url: string;
4341
+ metadata?: Record<string, unknown>;
4342
+ };
4343
+ }>;
4344
+ };
4345
+ };
4346
+ export { addTasks, completeTasks, findTasks, findTasksByDate, findCompletedTasks, rescheduleTasks, addProjects, findProjects, analyzeProjectHealth, projectManagement, projectMove, addSections, findSections, addComments, findComments, addReminders, findReminders, updateReminders, addLabels, findLabels, updateLabels, addFilters, findFilters, findActivity, getProductivityStats, getProjectHealth, getProjectActivityStats, getWorkspaceInsights, findProjectCollaborators, manageAssignments, exportProjectTemplate, importProjectTemplate, listWorkspaces, viewAttachment, deleteObject, fetchObject, getOverview, reorderObjects, userInfo, getUserStatus, setUserStatus, uncompleteTasks, updateComments, updateFilters, updateProjects, updateSections, updateTasks, search, fetch, getMcpServer, tools, registeredTools, FEATURE_NAMES, type Feature, type FeatureName, type Features, requireValidTodoistToken, type RequireValidTodoistTokenOptions, validateTodoistToken, };
4347
+ //# sourceMappingURL=index.d.ts.map