Tool call success returns data but agent is not ab...
# support
v
Hi, I reviewed the API logs and the staging_get_price tool is returning a price of 1100 with a 200 status code. Other tools work fine, so the agent may be misinterpreting this response—possibly because the price is a string or lacks a currency/unit. I can help troubleshoot the integration so the agent can provide the price correctly. This isn’t a backend issue, as the API call itself is successful. Could you confirm if the problem is with how the agent speaks the price or with the value returned? @jay
j
The agent says unable to retrieve the price at the moment
I also tried other formats in returning the price in statement from the backend like other tools i made like "The price for the service is 1100", but still the agent was not able to mention the price, it kept on saying unable to retrieve the price https://cdn.discordapp.com/attachments/1426185232947740812/1426196438488186940/Screenshot_2025-10-10_211407.png?ex=68ea5870&is=68e906f0&hm=8d854b307602d8de47024e00e271eb87bda61685a4cb148cffaa13342f303edb&
I also tried returning this format like "The price is one hundred pesos"
but still not working
v
I see the backend is returning the price correctly, so the issue seems to be with how the agent handles the response. It’s likely not picking up the tool output or mapping it back to the conversation properly. I can help you trace where the value gets lost and make sure the agent says the price as expected. Once that’s fixed, it’ll respond naturally with the price each time. Can you show me how the tool result is currently being sent back to the agent? @jay
c
Please also send the call id so we can review the logs on our end
3 Views