join_dev_game
Bypass the ready-up flow in development to instantly join the first available room as the red player and start the match. Use after setting player metadata in the lobby. Returns room ID and slot.
Instructions
Mutating. Development-only shortcut: join the first available room as the red player and start the match immediately, bypassing the normal ready-up flow. Requires state=in_lobby (call set_player_metadata first). Returns the room_id and assigned slot. In production, use join_room + set_ready instead.
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": "join_dev_game"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes |