Skip to main content

ambition.get

Overview

  • Returns the target character's ambition state: currently playing ambition item, current step, completed count, all-completed flag, and playable ambition item ids.

Metadata

FieldValue
DisplayGet Ambition
Categoryambition
AccessPublic
ScopeB2Authority
Tags
Aliases

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdnoTarget entity ID (default: possessed)

Returns

Returns a JSON object with the following fields:

FieldTypeRequiredDescription
entity_identityIdyesTarget entity id
is_playingboolyesWhether an ambition is in progress
playing_ambition_item_idstringyesCurrently playing ambition item id
current_stepintyesCurrent step (-1 if none playing)
complete_countintyesNumber of completed ambitions
is_all_completedboolyesWhether all ambitions are completed
playable_idsarrayyesPlayable ambition item ids

Usage

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