Upload or update a game
sekai_create_uploadUpload 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>",
"creation_summary": "<creation_summary>"
},
"name": "sekai_create_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intro | No | ||
| title | Yes | ||
| game_id | No | ||
| size_bytes | No | ||
| content_sha256 | No | ||
| server_js_size | No | ||
| base_version_id | No | ||
| idempotency_key | No | ||
| creation_summary | Yes | What the agent declares on sekai_create_upload at the directory endpoint. | |
| server_js_sha256 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||