iraql0bster.
12/04/2025, 7:51 PMTool Invocation: extract_dynamic_variables
tool_call_id: extract_dynamic_variables_24cea3
Error parsing the JSONAI Evy
12/04/2025, 7:51 PMAI Evy
12/04/2025, 7:52 PMAI Evy
12/04/2025, 7:52 PMText, Number, Enum, or Boolean
4. Enum Options - Options to choose from (only when type is enum)
The variable types supported are :
- Text - Any word or sentence. Examples: "headache", "John Smith"
- Number - A numeric value. Examples: 42, 98.6
- Enum - A value from a predefined list. Examples: "Yes", "No", "Maybe"
- Boolean - True or false
Additionally, it's important to update your prompt to explicitly tell the agent when to invoke the extract variable function . For example:
When user states his name and phone number, please extract the information by calling the `extract_user_details` function.
Based on a community discussion, there's also a known issue where dynamic variables in function query parameters may not be parsed correctly if using nested object notation like {{nearest_location.id}} [(2) ]() . The workaround suggested was to extract the specific field directly rather than using nested references .
If you're trying to create or update these tools via the API, note that extract_dynamic_variable tools need to be created at the agent or LLM creation time first before they can be properly updated [(3) ]() .
**AI Evy
12/04/2025, 7:52 PM