list_games
Retrieve a player's cached chess games, filter by time class, color, result, or opening, and get the game_id needed for detailed review.
Instructions
The player's cached games, newest first, to find a game_id for get_game.
Filters: time_class (bullet/blitz/rapid), color ("white"/"black"), result from the player's side ("win"/"loss"/"draw"), opening (case-insensitive substring of the name). Each game has game_id, url, end_time (ISO 8601, UTC), time_control, time_class, color, opponent, opponent_rating, my_rating, result, termination, eco, opening, moves_count (full moves) and analyzed.
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": {
"username": "<username>"
},
"name": "list_games"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| color | No | ||
| result | No | ||
| opening | No | ||
| username | Yes | ||
| time_class | No |