A player's recent games
recent_gamesFetch a Lichess player's recent finished games with ratings, results, openings, and accuracy when available; use has_analysis to choose games for mistake review.
Instructions
List a Lichess player's most recent finished games (up to 20): id, date, speed, opponent and rating, result, opening name, and accuracy when Lichess has analysed the game. Use has_analysis to pick games that find_mistakes can review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | How many games (1-20, default 10). Most recent first. | |
| rated | No | true for rated only, false for casual only. Omit for both. | |
| username | Yes | Lichess username, e.g. "thibault". Case does not matter. | |
| perf_type | No | Only this speed or variant, e.g. blitz. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| games | Yes | ||
| returned | Yes | ||
| username | Yes |