Document, includes sample capx.
Pack function call into a package in JSON string, or call function by this package.
User could save this package to call function later, or call function by the package received from network (multiplayer object, or websocket object, ...)