Skip to main content

ai_data.interaction.execute

Overview

  • AI-data automation variant of interaction.execute. Supports an explicit play_reason and returns the queue result as structured data.

Metadata

FieldValue
DisplayExecute Interaction (AI Data)
Categoryai_data
AccessUserCheat
ScopeB2Authority
Tags—
Aliases—

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdno—Character entity ID that performs the interaction (default: possessed)
interaction_bag_idnameyes—InteractionBag row name from data table (e.g. Sit, Talk, Cook)
target_entity_identityIdno—Target entity ID for the interaction (character or object)
smartzoiboolnofalseMark the interaction as SmartZoi-sourced
play_reasonstringnoUserInteraction play reason: User, Cheat, or SmartZoi
insert_frontboolnofalseInsert at front of interaction queue instead of back

Returns

  • Freeform result (shape is not fixed).

{ queue_result: int, queue_result_name: string }

Usage

await inzoi.cli.execute('ai_data.interaction.execute', {
entity_id: 0, // optional
interaction_bag_id: '',
target_entity_id: 0, // optional
smartzoi: false, // optional
play_reason: 'User', // optional
insert_front: false, // optional
});