Assistants API chaincalling functions/ calling functions within functions to dynamically adjust function parameters

Hello, I’m asking this question since when it comes to dealing with more complex pre-existing data informing the assistant of it before calling the function might be beneficial, or it might be sub-optimal to expect certain types of data to come from the user.

For an example, we could dynamically change the parameters in a function based on the output of a function that ran before it or we could even do so by running a function within it.

Has anyone here had similar ideas or has experimented with this?