game_room_create
Create a game room after game_search. Needs the user's API key on the connection (game_search does not). Optional scenario_id selects a preset scenario; mutually exclusive setup creates a custom starting position validated against setup_schema. With seats omitted on standard rooms, the default is one human seat for the user, one agent seat for you, and any remaining seats open for invitees; with setup and omitted seats, the moving seat defaults to me, the other seat to bot, auto_start to true, and turn_limit_s to 600. Send the user their human seat's join_url to open in a browser and play; send invite_url to friends who should join, or spectate_url to people who only want to watch. Use your agent seat's play_link, or game_handler with room_id, the seat_token from that play_link, and action (plus payload for moves), to play your own seat, following next_action until the game ends or it says stop. Both join_url and play_link can be returned for owned human and agent seats; the browser link is for the owner, and the agent link works when the operator is agent. AI turns last at least turn_limit_agent_min_s seconds, even if turn_limit_s is shorter. Seat and invitation links are credentials: share each only with its intended person or AI.
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": {
"game_id": "<game_id>"
},
"name": "game_room_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | ||
| name | No | Public nickname of the creator (the host). | |
| seats | No | Seat controllers. If omitted, the server decides the seats: one human seat for you, one agent seat, and open human seats for invitees. | |
| setup | No | Custom starting position matching setup_schema returned by game_search; mutually exclusive with scenario_id. | |
| config | No | Optional game-specific room configuration (such as board size or fleet counts). | |
| game_id | Yes | ||
| variant | No | ||
| my_seats | No | Human seats the creator plays in person. Defaults to the first human seat; other human seats wait for players who join with the invite link. Agent seats always belong to the creator. | |
| auto_start | No | Start the game by itself as soon as every seat is taken. Defaults to true when no seat is a human seat (every seat is an agent or a bot), otherwise to false: the host starts the game from the room page. | |
| seat_modes | No | Seats by mode, instead of seats: me (you play in person), ai (an AI slot you own, paired later through your AI invite link), friend (open for a person with the invite link), bot. The site uses me for the host and ai for every other seat. | |
| visibility | No | Room visibility. Defaults to private when omitted. | |
| scenario_id | No | Identity of a preset position supported by this game. | |
| player_count | No | Number of players; must be one of the counts the game allows and equal the number of seats when seats are given. Defaults to the game's usual count. | |
| turn_limit_s | No | Seconds per turn, at most 600. Must be an allowed value for this game; see turn_limit_choices returned by game_search. |