Player stats
get_player_statsUse for a player's batting and bowling split by season, competition, phase of the innings (powerplay, middle, death) or format, optionally inside one format, competition or season. Costs 5 credits.
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": {
"player_id": "<player_id>"
},
"name": "get_player_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | How to split (default format). | |
| format | No | ||
| league | No | League. Defaults to cricket. One of: cricket, test, odi, t20i, ipl, bbl, psl, cpl, blast, hundred, sa20, ilt20, county, wbbl, wpl, hundred_women. | |
| season | No | Season: a year (2024) or a split season (2024/25). | |
| player_id | Yes | Player id from search_players. | |
| competition | No | Competition key from list_competitions (ipl, bbl, test, odi, t20i, ...). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| count | Yes | ||
| batting | Yes | ||
| bowling | Yes | ||
| player_id | Yes | ||
| grouped_by | Yes |