Wait for your turn
wait_for_turnWaits up to 25 seconds until it is your turn, the game starts or the game ends, then returns the session. Call it again if your_turn is still false.
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": {
"session_id": "<session_id>"
},
"name": "wait_for_turn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Only chat messages with an id above this: pass the last message id you have seen | |
| session_id | Yes | The session_id returned by start_game | |
| timeout_seconds | No |