nba_players
Discover every NBA player ID for a season so you can query player info, box scores, and play-by-play without guessing IDs; filter by team or active status.
Instructions
NBA player index: every player id for a season. Returns the league's player index for a season, one row per player with player id, first and last name, team id and the source's roster attributes. This is the family's player-id discovery route: the ids it returns are what nba-player-info, nba-box-score and nba-play-by-play accept, so call this instead of guessing an id. Pass team_id to narrow the index to one roster.
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": "nba_players"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | No | When true, keep only players active in the season | |
| season | No | Season in YYYY-YY form; defaults to the current NBA season | |
| team_id | No | Optional team id from nba-standings; narrows the index to that roster example(1610612741) | |
| league_id | No | League id; only 00 (NBA) is verified |