Getting specific function for input

I want to implement function calling to my web application. I want to keep f.e 10 functions and when user sends request with input i want that ai analyzes it and call proper function for it and i want to catch which function is called. Is that possible?


Do you have any more specific questions?