All Products
Search
Document Center

Function Compute:Can functions call each other?

Last Updated:Apr 01, 2026

Yes. Call the InvokeFunction operation from inside a function to invoke another function — the same way you invoke a function from an on-premises device.

Get a temporary token

To authenticate the call, get a temporary token from the context parameter of the handler function, then use it to create a Function Compute client. For details on the context parameter, see Terms.

Sample code

The following SDK repositories include examples of invoking a function from another function:

Orchestrate multiple functions

For complex multi-function workflows, use CloudFlow to orchestrate your functions instead of chaining calls manually. See What is CloudFlow?.