mlb_statcast_player_details
Fetch game-level pitch or batted-ball event records expanded from a standard Baseball Savant Statcast batter or pitcher row. Use this when you need a player's event-by-event data; pass player_id and optionally player_type (batter or pitcher) and year. Team rows do not have player details.
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": {
"player_id": "<player_id>"
},
"name": "mlb_statcast_player_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Optional season from 2015 through the current season. Defaults to the current season. | |
| player_id | Yes | Required positive MLB player id from a batter or pitcher row. | |
| player_type | No | Optional player row type: batter or pitcher. Defaults to batter; team rows do not have detail expansions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |