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
| Field | Value |
|---|---|
| Display | Prepare SmartZoi Query SLM |
| Category | smartzoi |
| Access | ScriptCheat |
| Scope | B2Authority |
| Tags | — |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| entity_id | entityId | no | — | Character entity ID to query (default: possessed) |
| stat_id | name | no | All | Needs stat ID: All, Hunger, Cleanliness, Sleep, Toilet, Fun, Society, Admit, or Energy. |
| coop_id | name | no | All | Optional debug Coop sequence ID for Coop domain. Use All to include every executable Coop sequence. |
| coop_type | name | no | All | Coop type for Coop domain: All, Coop, Talk, or CoopTalk. |
| participant_role | name | no | Any | Required participant role for Coop domain. Use Any to skip role filtering. |
| domain | string | no | Needs | Query domain: Needs, Coop, Business, SocialEvent, or Career. |
| business_type | name | no | HouseholdBiz | Business type for Business domain. Current supported value: HouseholdBiz. |
| role_hint | name | no | Any | Business role hint for Business domain: Any, Customer, Employee, or Manager. |
| service_tag | name | no | All | Optional HouseholdBiz activity tag filter for Business domain. Use All to use role activity tags. |
| career_type | name | no | All | Career type for Career domain. Current supported values: All, Business, or School. |
| job_id | name | no | All | Optional Career job id filter for Career domain. Use All to include all current Business/School jobs. |
| action_tag | name | no | All | Optional Career action tag filter. Use All to use current Career action tags. |
| scope | string | no | Autonomy | Query scope: Autonomy, AOI, CurrentSite, or TargetSite. |
| site_id | name | no | — | TargetSite site id. Takes precedence over site_tag. |
| site_tag | name | no | — | TargetSite site tag used only when site_id is empty. |
| request_type | string | no | Action | SLM request type: Reason or Action |
| dump | bool | no | false | Save 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
});