Hello. I'm creating a project that has 2 agents. An email writer that writes personalized emails and an email sender that sends those emails. The email writer outputs JSON and the email sender uses that as input to use in the GMAIL_SEND_EMAIL tool. Sadly, I get this error message: "Error: the Action Input is not a valid key, value dictionary.". I doublechecked the required parameters but it seems to not work.
Output from the email writer agent (i replaced the actual values with <description>. those values are strings):
[
{
'recipient_email': '<email address>',
'subject': '<subject>',
'body': "<content>",
'user_id': 'me',
'is_html': True
},
{
'recipient_email': '<email address>',
'subject': '<subject>',
'body': "<content>",
'user_id': 'me',
'is_html': True
}
]
Do you have a sample input for this tool? How do I fix this issue?