Search players
search_playersUse to find a player's id by name (the scorecard short form, "V Kohli", or the full name), most matches first and their last team. Or list a team's players with team_id. Costs 1 credit.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_players"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Part of the name, e.g. "kohli". | |
| limit | 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. | |
| team_id | No | Team id from list_teams. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| players | Yes |