nba_shot_chart
Retrieve every shot from an NBA player or team's season as structured rows with court coordinates, zones, distance, and made flag, so you can analyze shooting patterns and efficiency.
Instructions
NBA shot chart. Returns the shot chart for one player or team: one row per shot with the game, player, team, period, event and action type, the shot's zone (basic, area and range), distance, court coordinates (LOC_X/LOC_Y), the made flag and the game date. Scoping to one player or one team is required.
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_shot_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| season | No | Season in YYYY-YY form; defaults to the current season | |
| team_id | No | Team id from nba-standings; supply this or player_id | |
| league_id | No | League id; only 00 (NBA) is verified | |
| player_id | No | Player id from nba-players; supply this or team_id | |
| season_type | No | Season type | |
| context_measure | No | Shot-chart base event; FGA keeps every attempt, FGM the same rows, FG3A and FG3M the three-point subset, PTS the scoring subset |