declare_asset_ai_state
Declare whether the store listing's images were created or edited using AI. Play Console's listing editor has a second step ("Review") carrying this REQUIRED regulatory declaration, and until it is answered the listing stays Draft, the dashboard's store_listings task stays incomplete, and send_app_for_review refuses with a bare FAILED_PRECONDITION — however complete the listing content is. DRY-RUN BY DEFAULT. This is a statement to a regulator about who made the images: ask the user, never infer it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit | No | "true" actually declares. Omit or "false" for a dry run that lists the assets it would mark. | |
| play_app_id | Yes | Numeric Play app id from the Play Console URL (.../app/<this>/...). NOT the package name. | |
| developer_id | Yes | Numeric Play Console developer id (from the Play Console URL). | |
| ai_declaration | Yes | "not_ai_generated" (Play Console's "Don't label assets") or "ai_generated" ("Label assets as created or edited using AI"). Applies to every asset in the app's Asset Library, so confirm it is true of all of them. | |
| google_account_email | Yes | The signed-in Google account email that owns this Play Console developer account. Call list_accounts first and confirm with the user — do not guess. | |
| notification_message | No | Short user-facing sentence for this action if the follow-up reply fails. Plain text only; do not mention template syntax or variable names. |