Simple implementation of live function?

I’ve been trying for weeks - I don’t even know if it’s possible anymore. In case the POST query asks about recent trades, I just want GPT to fetch data from:

& generate the reply based on that. I’ve tried looking at all the examples of get_weather, get_stock_price, etc., but nothing explicitly explains how data is being retrieved in a live manner (i.e., endpoint for the weather).

Is it possible? Is there any simple JS implementation of any live endpoint?

Any help would be extremely appreciated!