Modal Functions and Remote Invocation
Decorate Python functions with @app.function to run them remotely on Modal's cloud. Invoke deployed functions synchronously (.remote), asynchronously (.spawn), in parallel (.map), or look them up from another app via Function.from_name. This surface is SDK/gRPC-only - there is no first-party REST endpoint; invocation happens through the Modal client libraries.