togello-mcp-server 1.0.12 → 1.0.13
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.
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { httpClient } from '../../client.js';
|
|
2
|
-
export const updateTaskHandler = async ({ todoUUID, isCompleted, }) => {
|
|
2
|
+
export const updateTaskHandler = async ({ todoUUID, isCompleted, scheduledStartDate, url, }) => {
|
|
3
3
|
try {
|
|
4
4
|
await httpClient.putJson({
|
|
5
5
|
path: `/v2/integration/todo/${todoUUID}`,
|
|
6
6
|
body: {
|
|
7
7
|
isCompleted,
|
|
8
|
+
scheduledStartDate,
|
|
9
|
+
url,
|
|
8
10
|
},
|
|
9
11
|
});
|
|
10
12
|
return {
|
package/build/index.js
CHANGED
|
@@ -55,6 +55,14 @@ async function main() {
|
|
|
55
55
|
isCompleted: z
|
|
56
56
|
.boolean()
|
|
57
57
|
.describe('You can update the completion status of the task. If true, it is completed. If false, it can be reverted to incomplete.'),
|
|
58
|
+
scheduledStartDate: z
|
|
59
|
+
.string()
|
|
60
|
+
.optional()
|
|
61
|
+
.describe('Scheduled start date in ISO format.'),
|
|
62
|
+
url: z
|
|
63
|
+
.string()
|
|
64
|
+
.optional()
|
|
65
|
+
.describe('Optional URL associated with the task.'),
|
|
58
66
|
}, updateTaskHandler);
|
|
59
67
|
server.tool('get-todo-category-list', 'Retrieves the list of categories from the TODO feature. Recognizes category name / category UUID', {}, getTodoCategoryListHandler);
|
|
60
68
|
server.tool('get-today-calendar', 'Retrieves scheduled events for yesterday/today/tomorrow from the linked Google Calendar. Recognizes event name / start date and time / end date and time. ', {}, getTodayCalendarHandler);
|