Assistants/functions question - Methodology & Fetching a web page via curl

I see in the documentation examples near the functions and code-interpreter, the Assistant has a function to get the weather.

I did not read directly that a function can call a webpage or curl but that it can code/handle python.

If this is possible, would I just tell the assistant builder (playground for now) “Use curl to read page www. (my-site/script path) then evaluate the response and follow the directions it provides.”?