how to reduce agent error when making api requests
# prompt-tip
x
so im building a chatbot and a lot of the tools its configured to use are api requests. occasionally it will mess up when making the request like it won't pass in all of the required parameters for the request and so it will fail - or for example, it won't pass in the phone number in the correct format (with the +1 country code) when trying to create a patient record in our system so the request will fail will it help to add examples of of each endpoint request like "for xyz tool this is what your request should look like" - should i add this directly in the prompt or perhaps in the tool description?
r
Hi, could you please provide a call id where you experienced this issue? We would like to review the logs to identify the cause.