Skip to main content

phone.open

Overview

  • Opens a smartphone app the same way as tapping its icon, opening the phone first when it is closed. Unlike a tap it never closes an app that is already open; already_open is true then. Script apps (insurance, loan, adoption, city move) run their scripts on every call. Some apps show up only after the game answers (career, school), so re-check is_open with phone.list_apps. Failure messages start with UnknownApp (also for icons hidden on the home screen), PhoneUnavailable, InputBlocked, PhoneRestricted, WorldMode, CityTravel or GrowthStep, with the same reason phone.list_apps reports. UI only: callable from UI mods, the console and MCP, not from simulation-thread Lua.

Metadata

FieldValue
DisplayOpen Phone App
Categoryphone
AccessScriptCheat
ScopeB1Standalone
TagsExperimental
Aliases—

Parameters

NameTypeRequiredDefaultDescription
appnameyes—App id from phone.list_apps, e.g. PocketMarket

Returns

Returns a JSON object with the following fields:

FieldTypeRequiredDescription
app_idstringyesOpened app id
already_openboolyesTrue when nothing had to be opened
ui_typesarray<object>yesEB1UIType names the app opens

Usage

await inzoi.cli.execute('phone.open', {
app: '',
});