CLI
Overview
A CLI command is a single, named game action that can be invoked by id with an explicit parameter list - for example, setting the current Zoi's mood, fast-forwarding the in-game clock, or spawning an object. Each command has a stable contract, so external code can drive the simulation safely without poking at internal data directly.
The inZOI CLI is a standalone integration layer, not bound to any single host language. The same command catalog is reachable from every embedded runtime that ships with the game - JavaScript inside UI Mods, Lua scripts, and other host environments - each via its own invoke API. UI Mods are just one common caller; the parameter contracts described on these pages apply unchanged everywhere else.
Pick a category below to see its commands. Each command has its own page with parameters and a usage example.
Categories
Calling a command
Every host runtime exposes its own invoke API, but the shape is always the same: pass a command id and a parameter object. The snippet below uses the JavaScript binding from a UI Mod - other hosts (Lua, etc.) provide an equivalent call.
// Example host: a UI Mod's JavaScript.
await window.inzoi.cli.execute('<command-id>', { /* params */ });