sekai_create_upload
ChatGPTUpload a new game, or edit a game previously uploaded through MCP. For an edit, pass game_id and base_version_id from sekai_job_status: the PUT appends a new draft version to that SAME game and preserves history. Omit both only to create a separate game. Version edits require draft mode and a finished current version. Requires creation_summary for this project only: intent (what the person asked to build, at most 500 characters) and steps (up to 10 main changes they asked for, at most 150 characters each). Write it in your own words. Do not include personal data, names, credentials, links, file paths, or anything unrelated to this game; Sekai removes such details it finds. Sekai uses it for safety review, categorization and quality review. Returns upload_id and put_url. PUT multipart/form-data with the html file, then finalize/poll. Draft mode: private draft, <= 1.5 MB, publish from app. External mode: new games only, <= 8 MB, then sekai_publish. Multiplayer (only where sekai_whoami reports upload.multiplayer: true): also pass server_js_sha256 and server_js_size (<= 256 KiB) of the game's server.js; PUT server.js to server_put_url FIRST, then the html to put_url.
sekai_finalize_upload
ChatGPTResult of an upload after its PUT: game_id, version_id, the game's status on Sekai, static warnings and the findings of Flash's own checks (flash_checks). Idempotent.
sekai_get_publish_guide
ChatGPTThe HTML contract, the creation rules Sekai's own game agent (Flash) builds to, visual/audio guidance and automatic asset-slot resolution for uploads (single file, viewport, allowed hosts, size, no sandbox escapes). Read before building.
sekai_get_workflow
ChatGPTSekai's step-by-step workflows, as instructions to follow: 'sekai' makes a new game from the person's own idea (a short spec, Sekai's library, built for phones, tested like a player, private draft); 'sekailize' packages a game the person built locally for Sekai (bridge features, one html, private draft); 'sekai-inspired' makes a new game from what makes another game fun (new theme, art and names, tested like a player, private draft). Call it when the person asks for a new game from their idea, to sekailize a game or to make one inspired by another, then follow the returned instructions. Without a name it lists the workflows and their arguments. (Clients with MCP prompts also show these as slash commands; the text is the same.)
sekai_job_status
ChatGPTStatus of a game you uploaded, straight from Sekai: uploaded | validating | published | rejected | validation_failed, with the validator's reason when rejected and when to poll again. For checked imports: checking | draft_ready (with Sekai's automatic evaluation under eval and, for multiplayer, its check under multiplayer) | rejected (security; category only) | unavailable (retry).
sekai_publish
ChatGPTAsk Sekai to publish a game you uploaded. g3 runs its safety validation first (agentic, minutes): the call returns at once with state 'validating'; poll sekai_job_status(game_id) until published | rejected | validation_failed (retry by calling this again).
sekai_search_assets
ChatGPTSearch Sekai's asset library for images|music|sfx|models|fonts|videos. Search visible subjects before replacing them with procedural shapes. Inspect cover_url previews, then use returned CDN urls in the scene. orientation means facing: front|left|right|back|top_down|isometric, not aspect ratio. prefer_cutout prefers existing transparent art; subtype describes the role, e.g. actor or background. No asset generation. Returns the search trace session and whether the cache avoided an upstream request.
sekai_upload_asset
ChatGPTUpload ONE of the game's own files (an image, sound, video, 3D model or font it ships with) so the html can link it instead of inlining it. Pass the file name, its size and its sha256. Returns put_url (PUT the raw bytes, Content-Type as returned) and the url to put in the html. Accepted: gif, glb, jpg, m4a, mp3, mp4, ogg, otf, png, ttf, wav, webm, webp, woff2. The bytes must be what the extension says. Call once per file; for art Sekai already has, use sekai_search_assets instead.
sekai_whats_new
ChatGPTWhat changed on the Sekai server since this connection was made, and whether the connection itself needs anything (Sekai is hosted, so it updates itself; only the permissions a connection was approved with can go stale). Call it once at the start of a session, when a tool refuses something you expected to work, or when the person asks what is new.
sekai_whoami
ChatGPTWho you are acting as on Sekai, the environment, your scopes and remaining budgets.