Skip to main content

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

FieldValue
DisplayList Phone Apps
Categoryphone
AccessPublic
ScopeB1Standalone
TagsExperimental
Aliases—

Parameters

  • This command takes no parameters.

Returns

Returns a JSON object with the following fields:

FieldTypeRequiredDescription
phone_openboolyesWhether the smartphone is open
phone_restrictionstringyesNone, or why the possessed Zoi cannot use a phone (GrowthStep, Imprisoned, InvalidData)
countintyesNumber of apps returned
appsarray<object>yesApps in home screen layout order
apps[].app_idstringyesApp id for phone.open, phone.get_actions and phone.invoke
apps[].ui_typesarray<object>yesEB1UIType names the app opens; empty for script-only apps
apps[].availableboolyesWhether phone.open can open it now
apps[].block_reasonstringyesNone, InputBlocked, PhoneRestricted, WorldMode, CityTravel or GrowthStep
apps[].is_openboolyesWhether one of its UIs is on screen; always false for script-only apps

Usage

await inzoi.cli.execute('phone.list_apps');