phone.list_apps
Overview
- Lists the app icons shown on the smartphone home screen in layout order and whether each can be opened now. app_id is the icon's AppIconId when it has one (script apps such as insurance or loan), otherwise the name of the first UI it opens, e.g. PocketMarket. block_reason is InputBlocked (a loading screen, cutscene, popup or modal UI is blocking input, or the map is open), PhoneRestricted (age or custody), WorldMode (ghost mode, build world, or a screen without the phone such as build mode, character studio or photo mode), CityTravel, GrowthStep (the possessed Zoi is too young for this app, e.g. business app below young adult) or None. Hidden icons, icons that open nothing and home screen widgets that are not app icons (the family calendar) are left out. UI only: callable from UI mods, the console and MCP, not from simulation-thread Lua.
Metadata
| Field | Value |
|---|---|
| Display | List Phone Apps |
| Category | phone |
| Access | Public |
| Scope | B1Standalone |
| Tags | Experimental |
| Aliases | — |
Parameters
- This command takes no parameters.
Returns
Returns a JSON object with the following fields:
| Field | Type | Required | Description |
|---|---|---|---|
phone_open | bool | yes | Whether the smartphone is open |
phone_restriction | string | yes | None, or why the possessed Zoi cannot use a phone (GrowthStep, Imprisoned, InvalidData) |
count | int | yes | Number of apps returned |
apps | array<object> | yes | Apps in home screen layout order |
apps[].app_id | string | yes | App id for phone.open, phone.get_actions and phone.invoke |
apps[].ui_types | array<object> | yes | EB1UIType names the app opens; empty for script-only apps |
apps[].available | bool | yes | Whether phone.open can open it now |
apps[].block_reason | string | yes | None, InputBlocked, PhoneRestricted, WorldMode, CityTravel or GrowthStep |
apps[].is_open | bool | yes | Whether one of its UIs is on screen; always false for script-only apps |
Usage
await inzoi.cli.execute('phone.list_apps');