https://retellai.com/?utm_source=discord&utm_medium=seo logo
why doesn't the single prompt chat agent support v...
# 💬・general
m
@AI Evy why doesn't the single prompt chat agent support variable extraction?
a
Thanks for tagging me @maxluz. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, the Extract Dynamic Variables tool works in both single and multi-prompt agents. [(1) ]() The documentation states that this tool "lets you extract values from a user's response and save them as dynamic variables" and explicitly notes it works "in both single, multi and conversation flow agent." [(2) ]() If you're experiencing issues with variable extraction in a single-prompt chat agent specifically, this may be a technical issue rather than a limitation of the agent type. One known issue from community discussions shows that dynamic variables may not populate correctly during chat-only test mode in multi-prompt agents, [(3) ]() though they work properly during voice testing. To use the Extract Dynamic Variables tool: [(1) ]() 1. Add an Extract Dynamic Variable Tool to your agent 2. Add variables with a name, description, and type (Text, Number, Enum, or Boolean) 3. Update your prompt to explicitly instruct when to invoke the extraction function For example, you can include in your prompt: "When user states his name and phone number, please extract the information by calling the
extract_user_details
function." If you're still experiencing issues with variable extraction in your single-prompt chat agent, I'd recommend reaching out through [Contact Sales]() or [) for specific troubleshooting assistance.
​ To learn more, see the sources I considered: [[1] Extract Dynamic Variables](https://docs.retellai.com/build/single-multi-prompt/extract-dv) [[2] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) [[3] Dynamic Variables Don't Populate in Chat-Only Test Mode (Multi-Prompt Agent)](https://discord.com/channels/1186424376300679209/1421373431781396580) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
m
there's no extract dynamic variables tool in the single prompt chat agent...
@AI Evy there's no extract dynamic variables tool in the single prompt chat agent...
a
Thanks for the follow-up, @maxluz. I'll get back to you soon.
### Answer Based on the available documentation, the Extract Dynamic Variables tool is documented for single and multi-prompt agents [(1) ]() . However, you're reporting that you cannot find this tool in your single-prompt chat agent interface. The documentation shows the tool should be available by adding an "Extract Dynamic Variable Tool" where you can define variables with names, descriptions, and types (Text, Number, Enum, or Boolean) . If the Extract Dynamic Variables tool is not appearing in your single-prompt chat agent dashboard, this could indicate: - A UI limitation specific to chat agents versus voice agents - A recent change not yet reflected in the documentation - A configuration or access issue with your specific agent setup For direct assistance with this discrepancy between the documentation and what you're seeing in the dashboard, I recommend reaching out through [Contact Sales]() or [) .
​ To learn more, see the sources I considered: [[1] Extract Dynamic Variables](https://docs.retellai.com/build/single-multi-prompt/extract-dv) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.