Get opening stats
get_opening_statsRetrieve a player's win/draw/loss breakdown for a specific opening, optionally filtered by color and game format, based on their recent games.
Instructions
Win/draw/loss breakdown for one player in a specific opening, as a given colour. Scans the player's recent games and aggregates by opening name.
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 | ||
| format | No | ||
| username | Yes | ||
| max_games | No | ||
| opening_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||