### Answer
Extract Dynamic Variable in Retell AI only supports text, number, enum, or boolean types—not objects—so you cannot natively persist a full object structure that allows field-level mutation [(1) ](
) . If your API returns devices[], you can store your selected device as a JSON string (text variable) , but there is no built-in support to directly mutate nested fields; you would need to rewrite and replace the entire JSON text when updating a field .
For handling updates, you would extract the JSON, modify the desired field in your backend or in a custom function, then overwrite the dynamic variable with the new JSON text [(2) ](
) . There is no documented support for mutating nested fields of a text variable in-place.
Regarding tool/form parameters: passing dot-paths like currentDevice.reportingInterval is not supported for parsing dynamic variables in function query parameters [(3) ](
) . You must use separate variables per field, or parse the JSON yourself in your backend after receiving the full text value .