get_room_state
Retrieve a consistent snapshot of the current room, seat assignments, player readiness, and countdown timer for a given connection in Silicon Pantheon's turn-based strategy game.
Instructions
Show the caller's current room, seats, readiness, and countdown.
── Locking ──
Reads (conn, info, room, serialize, autostart_deadlines) are
all done under a single state_lock acquisition so the
serialized snapshot is internally consistent.
_maybe_promote_on_deadline is called INSIDE the lock too;
it reads+mutates state under the same critical section to
avoid a TOCTOU with the deadline.
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": "get_room_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes |