start_game
Initiate a new Minesweeper game on the Minesweeper MCP Server, enabling AI agents to interact and play through natural language commands.
Instructions
Start a new game of Minesweeper
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:26-34 (registration)Registration of the 'start_game' tool in the ListTools response, including name, description, and input schema.{ name: "start_game", description: "Start a new game of Minesweeper", inputSchema: { type: "object", properties: {}, required: [], }, },
- src/index.ts:29-33 (schema)Input schema for 'start_game' tool: no required parameters.inputSchema: { type: "object", properties: {}, required: [], },
- src/index.ts:80-81 (handler)Handler implementation for 'start_game': constructs URL with 'new=1' parameter to start a new Minesweeper game via external API.if (request.params.name === "start_game") { url.searchParams.set("new", "1");