get_opening_stats
Retrieve win/draw/loss stats per opening across recent Lichess or Chess.com games to identify weak openings, with game IDs for deeper mistake analysis.
Instructions
Win/draw/loss record per opening over a player's recent games.
Helps spot openings the player struggles with. Each row carries the game ids so you can dig into a specific loss with find_blunders.
Args: username: The player's username. platform: "lichess" (default) or "chesscom". color: "white", "black" or "both" (default). count: How many recent games to look at (1-300). group_by_family: Group variations under their opening family (default true).
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": "get_opening_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | both | |
| count | No | ||
| platform | No | lichess | |
| username | Yes | ||
| group_by_family | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||