user_start
Start a new Minesweeper game for a specific user by providing their unique slug identifier to initialize gameplay.
Instructions
Start a new game for a user slug.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_slug | No |
Implementation Reference
- src/tools/handlers.ts:28-37 (registration)Tool definition for "user_start" in src/tools/handlers.ts.
{ name: "user_start", description: "Start a new game for a user slug.", inputSchema: { type: "object", properties: { user_slug: { type: "string" }, }, }, }, - src/tools/handlers.ts:38-46 (handler)Handler implementation for "user_start" in src/tools/handlers.ts.
async (input) => { const userSlug = requireStringOrEnv( (input as { user_slug?: unknown })?.user_slug, "user_slug", process.env.MINESWEEPER_USER_SLUG, "MINESWEEPER_USER_SLUG" ); return rails.startGame(userSlug); }