Matchup
get_matchupUse for a batter against a bowler: balls, runs, strike rate, dots, fours, sixes and every dismissal, overall and by format. 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": {
"batter_id": "<batter_id>",
"bowler_id": "<bowler_id>"
},
"name": "get_matchup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| batter_id | Yes | Batter's player id. | |
| bowler_id | Yes | Bowler's player id. | |
| competition | No | Competition key from list_competitions (ipl, bbl, test, odi, t20i, ...). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| batter | Yes | ||
| bowler | Yes | ||
| summary | Yes | ||
| by_format | Yes | ||
| dismissals | Yes |