spawn_create_game
Create a new game in the creator's account and optionally write SPAWN_VARIANT_ID to .env. Returns the play URL and engine lane for initialization.
Instructions
Create a new game in the creator's account. Optionally writes SPAWN_VARIANT_ID to .env. Creator should open the play URL and keep it open. The engine a new world is pinned to is the platform's choice, not an argument here — the result reports which lane it landed on, and spawn_init then provisions for that lane (a clone on 6.0+, a scaffold on pre-6.0).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectDir | No | Absolute path to the Spawn game project (game.json / .env). Defaults to SPAWN_PROJECT_DIR or the MCP process cwd. | |
| setVariant | No | Write SPAWN_VARIANT_ID into the project .env |