wait_for_action
Waits for a game state revision newer than afterRevision or a timeout, then returns the latest state, covering card insertion and recalculation responses; waiting can resume after timeout.
Instructions
等待 revision 更新或超时,返回最新状态。不是只等待自己的回合:插牌和反算也需要响应。超时后可继续等待。
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": {
"afterRevision": "<afterRevision>"
},
"name": "wait_for_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeoutMs | No | ||
| afterRevision | Yes | 最新状态的 revision;过期操作会被拒绝 |