https://retellai.com/?utm_source=discord&utm_medium=seo logo
when testing in the playground functions are sendi...
# ❓・ai-evy-support
r
@AI Evy when testing in the playground functions are sending through arguments in json payload to webhook, when assigning a number and calling the ai agent over pstn the arguments of the json payload are landing at the webhook as null. When reviewing that same call in the dashboard and viewing in the playground, regenerating the transition results in the arguments being passed through with the json payload correctly -- why is this ?
a
Thanks for tagging me @Reed. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, this appears to be a known issue with tool call webhooks during live PSTN calls. The sources indicate that Retell has different "streams" for webhook events [(1) ]() . According to community discussions, there are two different webhook output formats : - Transcript-only events (just text of what the agent said) - Structured events (including tool calls with name + args) The issue you're experiencing suggests that during live PSTN calls, your webhook may only be receiving transcript-only events rather than the structured events that include tool call arguments . This would explain why the arguments appear as null during actual calls but work correctly when regenerating in the playground. The sources suggest checking whether your webhook is subscribed to the correct event type . Additionally, tool calls are only emitted if the tool is properly registered and exposed in the agent's configuration - if the tool is only in the prompt but not in the config, the model may "say" it's calling it, but no JSON payload is emitted . For troubleshooting, verify that: 1. Your custom functions are properly registered in the agent configuration, not just mentioned in the prompt 2. The "Payload: args only" toggle is configured correctly for your use case 3. Your webhook is receiving the structured event stream that includes tool calls If you continue experiencing this issue, I'd recommend checking with support as this appears to be a platform-specific behavior difference between playground testing and live PSTN calls.
​ To learn more, see the sources I considered: [[1] Discord message from @majestic_fawn_50137 on 2025-09-17](https://discord.com/channels/1186424376300679209/1186462578310910112/1417915583340478515) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.