Handling function calls from client

Hi, is it possible to handle function calls from client, instead of server?

Ex:
User: Is there a park near me?
→ AI needs to know where the user is: Triggers a function call “get_user_position”
→ Client intercepts the call, on mobile gets coordinates via geolocation
→ Client sends back data to AI
AI: Yes, there is a park 200mts from you

There are many other use cases where I’d prefer for the client to interact with the AI directly instead of passing through sendbird servers’ function calls.

Ex:
User: What is the status of my order?
→ AI checks the order, but also triggers function “navigate_to_orders”
→ Client intercepts the call, changes the current page to orders

Thanks!