Hi,
I have a problem and I’d like to know if someone can explain whether there’s a way to solve it.
I have an agent that users can call to authenticate themselves and then ask questions about various topics.
Authentication is done through a custom tool that reads the caller’s phone number and returns a JSON object with several fields, including a token.
Once I have the token, I need to pass it in the calls to other custom tools in the system. And this is where the problem appears: I can’t find a good way to specify in the prompt that this value should be used as a parameter when calling the custom tools. Sometimes it doesn’t pass the parameter, sometimes it passes it empty, or sometimes it just makes one up.
Has anyone done something similar?