Lua SDKAPI reference
sdk
sdk - SDK introspection#
Version and surface discovery from inside a script.
sdk.version#
sdk.version() → string
SDK surface version (e.g. '1.0.0'). Gate newer calls behind a version check so scripts keep working on older builds.
sdk.modules#
sdk.modules() → array of strings
All module names on this build ('game', 'screen', 'mouse', ...).
sdk.functions#
sdk.functions([module]) → array of tables
SDK function descriptors ({ name, module, signature, returns, description }), optionally filtered to one module. Covers both the host API and the injected util/menu helpers.
| Parameter | Type | Default | Description |
|---|---|---|---|
module | string | all modules | Module name filter. |
Last updated 2026-10-03