@@ -593,13 +593,14 @@ Return ONLY the comment text - no explanations.`,
593593 if ( ! params . serviceDeskId ) {
594594 throw new Error ( 'Service Desk ID is required' )
595595 }
596- if ( ! params . accountIds ) {
597- throw new Error ( 'At least one account ID is required' )
596+ if ( ! params . accountIds && ! params . emails ) {
597+ throw new Error ( 'Account IDs or emails are required' )
598598 }
599599 return {
600600 ...baseParams ,
601601 serviceDeskId : params . serviceDeskId ,
602602 accountIds : params . accountIds ,
603+ emails : params . emails ,
603604 }
604605 }
605606 case 'get_organizations' :
@@ -749,6 +750,10 @@ Return ONLY the comment text - no explanations.`,
749750 commentBody : { type : 'string' , description : 'Comment text' } ,
750751 isPublic : { type : 'string' , description : 'Whether comment is public or internal' } ,
751752 accountIds : { type : 'string' , description : 'Comma-separated Atlassian account IDs' } ,
753+ emails : {
754+ type : 'string' ,
755+ description : 'Comma-separated email addresses' ,
756+ } ,
752757 customerQuery : { type : 'string' , description : 'Customer search query' } ,
753758 transitionId : { type : 'string' , description : 'Transition ID' } ,
754759 transitionComment : { type : 'string' , description : 'Transition comment' } ,
@@ -799,6 +804,7 @@ Return ONLY the comment text - no explanations.`,
799804 transitionId : { type : 'string' , description : 'Applied transition ID' } ,
800805 participants : { type : 'json' , description : 'Array of participants' } ,
801806 approvals : { type : 'json' , description : 'Array of approvals' } ,
807+ approval : { type : 'json' , description : 'Approval object' } ,
802808 approvalId : { type : 'string' , description : 'Approval ID' } ,
803809 decision : { type : 'string' , description : 'Approval decision' } ,
804810 total : { type : 'number' , description : 'Total count' } ,
0 commit comments