Skip to main content

smartzoi.request_query_slm

Overview

  • Builds a temporary SmartZoi QueryRequest from CLI input, applies it to V1 request data, and returns the prepared payload without sending an SLM request.

Metadata

FieldValue
DisplayPrepare SmartZoi Query SLM
Categorysmartzoi
AccessScriptCheat
ScopeB2Authority
Tags—
Aliases—

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdno—Character entity ID to query (default: possessed)
stat_idnamenoAllNeeds stat ID: All, Hunger, Cleanliness, Sleep, Toilet, Fun, Society, Admit, or Energy.
coop_idnamenoAllOptional debug Coop sequence ID for Coop domain. Use All to include every executable Coop sequence.
coop_typenamenoAllCoop type for Coop domain: All, Coop, Talk, or CoopTalk.
participant_rolenamenoAnyRequired participant role for Coop domain. Use Any to skip role filtering.
domainstringnoNeedsQuery domain: Needs, Coop, Business, SocialEvent, or Career.
business_typenamenoHouseholdBizBusiness type for Business domain. Current supported value: HouseholdBiz.
role_hintnamenoAnyBusiness role hint for Business domain: Any, Customer, Employee, or Manager.
service_tagnamenoAllOptional HouseholdBiz activity tag filter for Business domain. Use All to use role activity tags.
career_typenamenoAllCareer type for Career domain. Current supported values: All, Business, or School.
job_idnamenoAllOptional Career job id filter for Career domain. Use All to include all current Business/School jobs.
action_tagnamenoAllOptional Career action tag filter. Use All to use current Career action tags.
scopestringnoAutonomyQuery scope: Autonomy, AOI, CurrentSite, or TargetSite.
site_idnameno—TargetSite site id. Takes precedence over site_tag.
site_tagnameno—TargetSite site tag used only when site_id is empty.
request_typestringnoActionSLM request type: Reason or Action
dumpboolnofalseSave filtered V1 request data and debug metadata while preparing the payload.

Usage

await inzoi.cli.execute('smartzoi.request_query_slm', {
entity_id: 0, // optional
stat_id: 'All', // optional
coop_id: 'All', // optional
coop_type: 'All', // optional
participant_role: 'Any', // optional
domain: 'Needs', // optional
business_type: 'HouseholdBiz', // optional
role_hint: 'Any', // optional
service_tag: 'All', // optional
career_type: 'All', // optional
job_id: 'All', // optional
action_tag: 'All', // optional
scope: 'Autonomy', // optional
site_id: '', // optional
site_tag: '', // optional
request_type: 'Action', // optional
dump: false, // optional
});