I keep on getting various pydantic errors when I try to set up my custom tool.
I'm trying to feed several parameters to my argsschema (first_name, last_name, email_pattern) to generate a single output (email_address)
The logic of my tool goes under the description of my @tool email_finder() function.
ChatGPT says it has to do with how my input should be a subclass of BaseModel. I set that up but there seems to be other issues elsewhere.
Find the screenshots of the error message, and code below.
The file also contains the code for the tool.
Thanks for your help 🙏