Skip to main content

appearance.get_outfit_category

Overview

  • Returns the character's current base outfit category and any active overlay outfits.

Metadata

FieldValue
DisplayGet Outfit Category
Categoryappearance
AccessPublic
ScopeB2Authority
Tags—
Aliases—

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdno—Character entity ID (default: possessed)

Returns

Returns a JSON object with the following fields:

FieldTypeRequiredDescription
base_categorystringyesCurrent base outfit category
active_overlaysarray<object>noActive overlay outfits (present only when any exist)
active_overlays[].categorystringyesOverlay outfit category (None for costume-based overlays)
active_overlays[].reasonstringyesWhy this overlay was applied. Category overlays keep one entry per reason.
active_overlays[].costume_idstringyesCostume ID for costume-based overlays (None for category overlays)

Usage

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