Hey guys I need some help figuring out the best way to get an agent or task to pick out the best API endpoint to call based off the users input.
There will be around 14 endpoints and each one contains information in json form. There is a LOT of data in each endpoint and so i want the agent to return the endpoint containing the info the user wants
i.e the email of "John" etc.
What is the best way to give the agent or task the knowledge/ framework of each endpoint so that it will accurately give the correct endpoint back to me everytime?