@@ -83,16 +83,42 @@ export const resendGetEmailTool: ToolConfig<GetEmailParams, GetEmailResult> = {
8383 outputs : {
8484 id : { type : 'string' , description : 'Email ID' } ,
8585 from : { type : 'string' , description : 'Sender email address' } ,
86- to : { type : 'json' , description : 'Recipient email addresses' } ,
86+ to : {
87+ type : 'array' ,
88+ description : 'Recipient email addresses' ,
89+ items : { type : 'string' , description : 'Recipient email address' } ,
90+ } ,
8791 subject : { type : 'string' , description : 'Email subject' } ,
8892 html : { type : 'string' , description : 'HTML email content' } ,
8993 text : { type : 'string' , description : 'Plain text email content' , optional : true } ,
90- cc : { type : 'json' , description : 'CC email addresses' } ,
91- bcc : { type : 'json' , description : 'BCC email addresses' } ,
92- replyTo : { type : 'json' , description : 'Reply-to email addresses' } ,
94+ cc : {
95+ type : 'array' ,
96+ description : 'CC email addresses' ,
97+ items : { type : 'string' , description : 'CC email address' } ,
98+ } ,
99+ bcc : {
100+ type : 'array' ,
101+ description : 'BCC email addresses' ,
102+ items : { type : 'string' , description : 'BCC email address' } ,
103+ } ,
104+ replyTo : {
105+ type : 'array' ,
106+ description : 'Reply-to email addresses' ,
107+ items : { type : 'string' , description : 'Reply-to email address' } ,
108+ } ,
93109 lastEvent : { type : 'string' , description : 'Last event status (e.g., delivered, bounced)' } ,
94110 createdAt : { type : 'string' , description : 'Email creation timestamp' } ,
95111 scheduledAt : { type : 'string' , description : 'Scheduled send timestamp' , optional : true } ,
96- tags : { type : 'json' , description : 'Email tags as name-value pairs' } ,
112+ tags : {
113+ type : 'array' ,
114+ description : 'Email tags as name-value pairs' ,
115+ items : {
116+ type : 'object' ,
117+ properties : {
118+ name : { type : 'string' , description : 'Tag name' } ,
119+ value : { type : 'string' , description : 'Tag value' } ,
120+ } ,
121+ } ,
122+ } ,
97123 } ,
98124}
0 commit comments