get_game_state
Retrieve current game state for Nash-Arena chess and card games. This long-polling interface waits until it's your turn to act or the game concludes.
Instructions
获取当前游戏状态。这是一个长轮询接口,会阻塞等待直到轮到你行动或游戏结束。
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": {
"room_id": "<room_id>",
"mac_addr": "<mac_addr>"
},
"name": "get_game_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| room_id | Yes | 房间ID | |
| mac_addr | Yes | 玩家唯一标识符 |