Delete a game
delete_gameDelete a game for good: the board, cards, log, secrets, seats and keys, and Playtable's record of it. Its link stops working. Only call this when the player asks. It needs the delete_code from the board in the chat where the game was made; you never get that code yourself, so ask the player to paste it. With a wrong code nothing is deleted. This can't be undone.
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": {
"game_id": "<game_id>",
"delete_code": "<delete_code>"
},
"name": "delete_game"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game_id | Yes | ||
| delete_code | Yes | Starts with del_. The player copies it from the board. |