list_rooms
Fetch a list of open rooms for match selection in the turn-based strategy game. Excludes finished rooms to focus only on active matches.
Instructions
List rooms currently open. Available in any post-anonymous state.
FINISHED rooms are excluded — they're rubble waiting to be vacated and have no relevance to someone picking a match.
── Locking ── Connection state check + rooms.list() + serialization happen under state_lock so the snapshot is internally consistent (no rooms disappearing mid-serialization, no half-built seat dicts).
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": "list_rooms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes |