create_dev_game
Create a development game and claim slot A (blue) to wait for an opponent. A second player can join via slot B (red) to start the match. Built-in locking prevents duplicate game creation.
Instructions
Create a single hardcoded dev game and seat this connection
in slot A (blue). A second connection can call join_dev_game
to take slot B (red) and start the match.
── Locking ── Whole body under state_lock so two concurrent create_dev_game calls can't both observe "no dev game exists" and both create.
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": {
"connection_id": "<connection_id>"
},
"name": "create_dev_game"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes | ||
| scenario | No | 01_tiny_skirmish |