Skip to main content
🔍

CLI Command Finder

All 318 CLI commands on one page. The category pages list commands one category at a time — this searches across all 66 of them at once.

Check the Access column first

Only Public commands work in shipping builds. UserCheat and ScriptCheat are cheat-only and become no-ops for players, so a mod that depends on them will silently do nothing.

AccessCommandsWorks for players
Public115Yes
UserCheat109No
ScriptCheat94No
How to use this
  • Search covers the command id, its display name, the description and the parameter names — so entity_id finds every command that takes one.
  • Category is a dropdown rather than chips because there are 66 of them.
  • Access narrows to what you can actually ship. Start with Public.
  • Hide Experimental drops the 52 commands tagged Experimental; those can change or disappear between builds.
  • In the Parameters column, * marks a required parameter.

Calling a command

Every command is invoked the same way, by id, with a parameter object:

await inzoi.cli.execute('appearance.beard', {
entity_id: 0, // optional
action: 'get', // optional
});

The CLI is a standalone integration layer, not tied to one host language. The same catalog is reachable from UI Mod JavaScript, Lua scripts and every other embedded runtime the game ships — each through its own invoke API. The parameter contracts below apply unchanged everywhere.

All commands

318 commands
Access
Category
#Description
1ambition.completeentity_idambition_item_id*Instantly completes a specific ambition item on the target character (cheat; no-op in shipping builds). Use ambition.get to find item ids.
2ambition.getentity_idReturns the target character's ambition state: currently playing ambition item, current step, completed count, all-completed flag, and playable ambition item ids.
3ambition.playentity_idambition_item_id*guardStarts (sets) a specific ambition item on the target character. Forced by default (valid id only); pass guard=true to require playability (age/condition/not-completed/not-already-playing).
4appearance.beardExperimentalentity_idactionidManage beard. action=get (default): show current info. add: equip random. change: switch to different. remove: take off.
5appearance.customentity_idOpen custom Zoi flow for the given entity.
6appearance.eyebrowExperimentalentity_idactionidManage eyebrow. action=get (default): show current info. add/change: switch to random or specified eyebrow. Eyebrow always exists, so remove is not supported.
7appearance.get_outfit_categoryentity_idReturns the character's current base outfit category and any active overlay outfits.
8appearance.glassesExperimentalentity_idactionidManage glasses. action=get (default): show current info. add: equip random. change: switch to different. remove: take off.
9appearance.glovesExperimentalentity_idactionidManage gloves. action=get (default): show current info. add: equip random. change: switch to different. remove: take off.
10appearance.hairExperimentalentity_idactionidManage hairstyle. action=get (default): show current hair info. change: switch to random different hairstyle. Hair always exists, so add/remove are not supported.
11appearance.hatExperimentalentity_idactionidManage hat. action=get (default): show current hat info. add: equip random hat. change: switch to different random hat. remove: take off.
12appearance.jacketExperimentalentity_idactionidManage jacket. action=get (default): show current info. add: equip random. change: switch to different. remove: take off.
13appearance.list_optionsReturns available genders and growth steps with localized display names.
14appearance.mustacheExperimentalentity_idactionidManage mustache. action=get (default): show current info. add: equip random. change: switch to different. remove: take off.
15appearance.remove_outfit_categoryentity_idcategory*Removes an active outfit overlay for a specific category, reverting to the base outfit. Use appearance.get_outfit_category to see active overlays.
16appearance.scan_garmentsExperimentalentity_idList the character's currently equipped garments (Top, Bottom, Shoes, ...), with which slots have color/AI texture overrides.
17appearance.scarExperimentalentity_idactionidManage face scar. action=get (default): show current info. add: apply random. change: switch to different. remove: remove scar.
18appearance.scarfExperimentalentity_idactionidManage scarf. action=get (default): show current info. add: equip random. change: switch to different. remove: take off.
19appearance.set_body_massExperimentalentity_idactionvalueGet or set body mass ratio. -1.0 = very thin, 0.0 = standard, 1.0 = very fat. Use action=get to read current value.
20appearance.set_body_shapeExperimentalentity_idactiongroupindexvalueAdjust body shape by named group (e.g. Belly, Arm) or raw parameter index. action=list shows groups, action=get reads values, action=set changes them. Value range: -1.0 to 1.0.
21appearance.set_face_shapeExperimentalentity_idactiongroupindexvalueAdjust face shape by named group (e.g. Nose, Jaw, Eye) or raw parameter index. action=list shows groups, action=get reads values, action=set changes them. Value range: -1.0 to 1.0.
22appearance.set_garment_colorExperimentalentity_idgarment_type*color*parts_button_indexskip_commitChange a garment's custom color (same path as Character Studio's color picker). garment_type: top, bottom, full, shoes, jacket, hat, socks, stockings, gloves, scarf. color: #RRGGBB / #RRGGBBAA or a named color (red, blue, white, ...). parts_button_index selects between multiple color zones on the same garment (default: 0).
23appearance.set_garment_textureExperimentalentity_idgarment_type*file_pathpath_keychannelintensityApply a user-provided PNG/JPG image as a garment's AI texture (same pipeline as Character Studio > MyTexture on clothing). If file_path is given, that file is used; otherwise the Windows clipboard image is tried first (CF_PNG / CF_DIBV5 / CF_DIB), and if none is present a file picker is shown. garment_type: top, bottom, full, shoes, jacket, hat, socks, stockings, gloves, scarf. channel: AI texture slot (0, 1, or 2; default 0). intensity: application strength in [0.0, 1.0] (default 1.0).
24appearance.set_genderentity_idgender*Transforms the character's visual appearance to the target gender.
25appearance.set_growth_stepentity_idgrowth_step*Changes the character's growth step by setting their age to the start of that step.
26appearance.set_household_nameentity_idname*Set the active household name.
27appearance.set_muscleExperimentalentity_idactionvalueGet or set muscle mass. 0.0 = no muscle, 1.0 = max muscle. Use action=get to read current value.
28appearance.set_nameentity_idfirst_name*last_name*Set first and last name for a Zoi.
29appearance.set_outfit_categoryentity_idcategory*Changes the character's outfit to a specific category (e.g. Swimwear, Formal, Sleep). The character must have an outfit saved in that category from the customize screen.
30appearance.set_skin_colorExperimentalentity_idactioncolor_idGet, list, or set skin color. action=get: show current. action=list: show available color IDs. action=set: apply color_id.
31appearance.set_traitentity_idpersonality*char1*char2*Set personality and two characteristic traits for a Zoi.
32appearance.shoesExperimentalentity_idactionidManage shoes. action=get (default): show current info. add: equip random. change: switch to different. remove: take off.
33appearance.socksExperimentalentity_idactionidManage socks. action=get (default): show current info. add: equip random. change: switch to different. remove: take off.
34autonomy.diagnose_interactionExperimentalbag_id*entity_idtarget_entity_idDiagnose why an interaction bag is or is not an autonomy candidate.
35autonomy.set_enableentity_idenableGet or set the autonomy (free will) enabled state for a character.
36bag.add_itemobject_id*count*Adds stacked items to the bag by object data table ID.
37bag.feather_bagenable*Toggles weightless inventory cheat.
38bio.set_genderentity_idgender*Updates the simulation-side gender in FB2BioComponent.
39buff.addentity_idbuff_id*duration_minutesAdds a buff to the target character. Optionally overrides its lifetime with duration_minutes (finite-duration buffs only; omit to use the table default).
40buff.removeentity_idbuff_id*Removes a buff from the target character.
41build.get_customize_infoExperimentalentity_id*Returns customizable parts and current material parameters of a game object (furniture, decoration, etc).
42build.remove_objectExperimentalentity_id*Remove a placed game object from the current site. In build mode the removal goes through the undo/redo command stack with automatic price refund. In play mode the object is destroyed directly and the object's price is refunded to the household wallet. Use build.scan_objects to discover entity IDs.
43build.reset_materialExperimentalentity_id*part_indexReset material parameters to default. If part_index is specified, resets only that part. Otherwise resets all parts.
44build.scan_floorsExperimentalfloor_levelList all floors and rooms in the current site with room indices and positions. Works in both play mode (character must be inside a building) and build mode. Use room_index with build.set_floor_color / build.set_floor_material.
45build.scan_objectsExperimentalfloor_leveldeletable_onlylimitList game objects placed in the current site with their entity IDs, table IDs, floor levels, and locations. Works in both play mode (character must be inside a building) and build mode. Use the entity_id with build.remove_object or any build.* customization command.
46build.scan_wallsExperimentalfloor_levelList all walls in the current site with edge keys and positions. Works in both play mode (character must be inside a building) and build mode. Use the edge_key with build.set_wall_color.
47build.set_colorExperimentalentity_id*color*part_indexChange the color of a game object. Supports hex (#FF0000) or named colors (red, blue, green, white, black, yellow, cyan, magenta, orange, pink, brown, gray). If part_index is omitted, applies to all parts.
48build.set_floor_colorExperimentalcolor*floor_levelroom_indextargetChange floor (or ceiling) color. Works in both play mode (character must be inside a building) and build mode. Specify floor_level and/or room_index to narrow the target; omit both to apply to every room. target: floor (default) or ceiling.
49build.set_floor_materialExperimentalmaterial_groupmaterial_indexcolorfloor_levelroom_indextargetChange floor (or ceiling) material preset. If material_group/material_index are omitted, a random valid preset is chosen. Specify floor_level/room_index to narrow the target; omit both to apply to every room. target: floor (default) or ceiling.
50build.set_materialExperimentalentity_id*part_indexcolorroughnessmetallicspecularopacitypattern_colorpattern_scaleemissive_coloremissive_multimaterial_groupmaterial_indexSet individual material parameters on a game object part. Specify only the parameters you want to change. Use build.get_customize_info to see available parts.
51build.set_object_materialExperimentalentity_id*material_groupmaterial_indexcolorpart_indexChange a game object's material preset (texture set). If material_group/material_index are omitted, a random valid preset is chosen per part. Omit part_index to apply to every part. color is optional and applied on top. Use build.get_customize_info to see available parts.
52build.set_wall_colorExperimentalcolor*edge_keyfloor_levelsideChange wall color. Works in both play mode (character must be inside a building) and build mode. Specify edge_key for a single wall (from build.scan_walls), or omit to apply to all walls. Use floor_level to filter. side: front, back, or both (default).
53build.set_wall_materialExperimentalmaterial_groupmaterial_indexcoloredge_keyfloor_levelsideChange wall material preset. If material_group/material_index are omitted, a random valid preset is chosen. Specify edge_key for a single wall (from build.scan_walls), or omit to apply to all walls. color is optional and applied on top.
54building.edit_all_siteenable*Toggles cheat that allows editing all site areas.
55building.get_object_transformentity_identity_ids[Build Mode Only] [Object Selection] Returns the current location, rotation, and scale of selected game object(s). Supports multi-selection.
56building.get_options[Build Mode Only] Returns all build mode option states as JSON.
57building.set_object_locationxyzentity_identity_ids[Build Mode Only] [Object Selection] Sets the location of selected game object(s) relative to the parent site. Omitted axes keep their current value. Supports multi-selection.
58building.set_object_rotationpitchyawrollentity_identity_ids[Build Mode Only] [Object Selection] Sets the rotation of selected game object(s). Omitted axes keep their current value. Supports multi-selection.
59building.set_object_scalescalexyzentity_identity_ids[Build Mode Only] [Object Selection] Sets the scale of selected game object(s). Use 'scale' for uniform scaling, or 'x','y','z' for per-axis. Supports multi-selection.
60building.set_object_transformloc_xloc_yloc_zpitchyawrollscalescale_xscale_yscale_zentity_identity_ids[Build Mode Only] [Object Selection] Sets location, rotation, and/or scale of selected game object(s) relative to the parent site in one call. All parameters are optional; omitted values keep their current state. Supports multi-selection.
61building.set_optionfree_locationgrid_snapobject_snapuniform_scalingsmart_guidedelete_modecontinuous_placement[Build Mode Only] Sets one or more build mode options at once. All parameters are optional; only specified options are changed.
62building.show_studio_categoryenable*Toggles studio build category visibility in the UI.
63building.show_user_dev_categoryenable*Toggles user dev build category visibility in the UI.
64building.unlock_site_areaUnlocks site area restrictions for building.
65camera.get_settingsReturns camera/input settings: FOV, mouse sensitivity, scroll wheel speeds, edge scroll state.
66camera.set_fovvalue*Set the camera field of view angle. Typical range: 60-120.
67camera.set_sensitivityvalue*Set the follow-view camera mouse sensitivity. Range: 0-100.
68career.add_attendanceentity_iddaysAdds attendance days to a character's career record for retirement eligibility testing
69career.can_promoteentity_idReturns whether the character has a Business career and is eligible for promotion (rank below max). Non-mutating; safe to poll.
70career.get_work_statusentity_identity_idsReturns work schedule status for a character (has_job, is_working_time, is_working_day, is_at_work, simulated, work_site_id, home_site_id). Supports batch via comma-separated entity_ids.
71career.joinentity_idcareer_entity_id*job_id*Assigns the character to a specific career/job (use career.list_openings to get valid career_entity_id/job_id).
72career.list_openingsLists joinable Business careers/jobs in the world with vacancy counts. The mod picks one and calls career.join.
73career.promotionentity_idPromotes the current Zoi in their job.
74career.school_migration_scanverbose[BL-47322] Scans loaded world memory for deprecated *_Middle school JobIds in MemberInfo / CareerSlots / GraduationRecords. Hit count should be 0 after save migration runs correctly.
75career.set_business_levelentity_idlevel*Sets the business level for the household biz.
76career.set_exam_preparationentity_idvalue*Sets a school student's exam preparation score (0-100) to test exam results/grades without studying. Reset to 0 on the weekly school reset (Monday).
77career.set_skill_levelentity_idskill_name*level*Sets a skill to the given level by skill name.
78character.possesscharacter_id*household_idSwitches play to the specified character. Same household -> avatar swap; different household -> household switch. Handles camera, spawn, and UI transition.
79cleaning.freeze_cleanlinessenable*Freezes cleanliness values so they no longer change.
80cleaning.instant_cleanInstantly cleans the current site.
81cleaning.unlock_doorenable*Toggles cheat access to open locked doors.
82cli.helpcommand*Shows detailed info, params, and aliases for a specific CLI command.
83cli.listcategoryLists registered CLI commands. Optionally filter by category.
84clipboard.copytext*Copies the given text to the system clipboard.
85contacts.get_allReturns all contacts of the possessed character with blocked status and cached portraits.
86currency.add_meow_coinamount*Adds the given amount of meow coins.
87currency.add_moneyamount*Adds the given amount of money to the current household.
88currency.add_resort_coinamount*Adds the given amount of resort coins.
89curseforge.auth_statusReturn whether the current cfcore session holds a valid CurseForge auth token. Synchronous; no toast.
90curseforge.logoutLog out from CurseForge by invalidating the current cfcore auth token. Mainly used to reset state before running login-flow tests. Async; result via toast.
91curseforge.send_codeemail*Send a 6-digit passwordless login code to the given email. Async; the result (success or error description) is reported via a system toast.
92curseforge.upload_mod_fileplugin_dir*changelogthumbnailclass_idcategory_idclass_namecategory_nameUpload a mod folder to CurseForge. Reads the .uplugin to find CfUgcId; if absent, this command first creates the mod entry on CurseForge (requires --thumbnail, --class_id, --category_id), updates the .uplugin with the returned id/url, then proceeds. The plugin folder is zipped via cfcore Compression and uploaded chunked. All progress is reported via toasts.
93curseforge.verify_codeemail*code*Verify the 6-digit security code received by email and obtain an auth token. Async; the result is reported via toast. cfcore persists the token internally on success.
94data.asset_getalias*Returns a DataAsset's full content as JSON. alias: asset alias (e.g. GameConfig).
95data.list_rowsalias*Returns all row names of a specific DataTable alias.
96data.list_tablesReturns all registered DataTable aliases with row counts.
97data.patchmethod*query*value*refreshApply an in-place data patch at runtime. Reverted on unmodding.
98data.table_getalias*row*Returns a single DataTable row as JSON. alias: table alias (e.g. Aging), row: row name.
99data.table_get_allalias*Returns all rows of a DataTable as a JSON array. alias: table alias.
100disaster.listReturns all available disaster IDs with localized names.
/ 4