Player
get_playerUse for a player's career: teams played for, and batting (runs, balls, average, strike rate, fours, sixes, hundreds, fifties, highest score) and bowling (overs, wickets, average, economy, strike rate, five-wicket hauls, best) by format, all counted from the ball-by-ball record, which starts in December 2001, so an earlier career shows only the part since. 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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| player_id | Yes | Player id from search_players. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| teams | Yes | ||
| player | Yes | ||
| batting_by_format | Yes | ||
| bowling_by_format | Yes |