submit_action
Takes an action for the seat your token holds, when it is that seat's decision. Copy the kind and arguments of one of get_game's legalActions. Returns the game after it.
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": {
"gameId": "<gameId>",
"token": "<token>",
"kind": "<kind>",
"arguments": "<arguments>"
},
"name": "submit_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | The action's kind, as in legalActions. | |
| token | Yes | The token claim_seat returned. | |
| gameId | Yes | The ID of the game, returned by create_game or list_games. | |
| arguments | Yes | The action's arguments, as in legalActions. |