Players
playersNBA player roster, search by name substring or filter by team. Returns ID, first/last name, position, height, weight, jersey number, and team. Use to resolve a player name to a numeric player_id required by stats/season_averages.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "LeBron"
},
"name": "players"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Name substring. | |
| cursor | No | ||
| per_page | No | ||
| team_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||