@@ -419,6 +419,28 @@ const DELETE_TASK_TOOL: Tool = {
419
419
} ,
420
420
} ;
421
421
422
+ const ADD_TASK_COMMENT_TOOL : Tool = {
423
+ name : "add_task_comment" ,
424
+ description :
425
+ "Add a comment to an existing task without modifying the task description. Comments support markdown formatting." ,
426
+ inputSchema : {
427
+ type : "object" ,
428
+ properties : {
429
+ taskId : {
430
+ type : "string" ,
431
+ description : "The 12-character alphanumeric ID of the task" ,
432
+ pattern : "^[a-zA-Z0-9]{12}$" ,
433
+ } ,
434
+ text : {
435
+ type : "string" ,
436
+ description :
437
+ "The full content of the comment, which can include markdown formatting." ,
438
+ } ,
439
+ } ,
440
+ required : [ "taskId" , "text" ] ,
441
+ } ,
442
+ } ;
443
+
422
444
const LIST_DOCS_TOOL : Tool = {
423
445
name : "list_docs" ,
424
446
description :
@@ -560,27 +582,6 @@ const DELETE_DOC_TOOL: Tool = {
560
582
} ,
561
583
} ;
562
584
563
- const ADD_TASK_COMMENT_TOOL : Tool = {
564
- name : "add_task_comment" ,
565
- description :
566
- "Add a comment to an existing task without modifying the task description. Comments support markdown formatting." ,
567
- inputSchema : {
568
- type : "object" ,
569
- properties : {
570
- taskId : {
571
- type : "string" ,
572
- description : "The 12-character alphanumeric ID of the task" ,
573
- pattern : "^[a-zA-Z0-9]{12}$" ,
574
- } ,
575
- text : {
576
- type : "string" ,
577
- description : "The full content of the comment, which can include markdown formatting" ,
578
- } ,
579
- } ,
580
- required : [ "taskId" , "text" ] ,
581
- } ,
582
- } ;
583
-
584
585
// Server
585
586
const server = new Server (
586
587
{
0 commit comments