mlb_statcast_swing_path
Fetch Baseball Savant Swing Path and Attack Angle rows for batters, teams, or league totals. Filter by season range, game type, team, date, batter side, contact, hard-hit, attack zone, pitcher hand, swing thresholds, sort, and pagination; use mlb_discovery for exact values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Optional local sort field from mlb_discovery. | |
| type | No | Optional row type: batter, batting-team, or league; defaults to batter. | |
| limit | No | Optional number of rows, 1-500; defaults to 100. | |
| offset | No | Optional zero-based row offset. | |
| team_id | No | Optional MLB team id from mlb_discovery. | |
| bat_side | No | Optional batter side: L or R. | |
| date_end | No | Optional date range end in YYYY-MM-DD format. | |
| sort_dir | No | Optional sort direction: asc or desc. | |
| game_type | No | Optional game type: Any, Exhibition, Playoff, or Regular. | |
| date_start | No | Optional date range start in YYYY-MM-DD format. | |
| min_swings | No | Optional swing qualifier from mlb_discovery; defaults to q. | |
| pitch_hand | No | Optional pitcher hand: L or R. | |
| season_end | No | Optional last season from 2023 through 2026; defaults to season_start. | |
| attack_zone | No | Optional attack-zone code from mlb_discovery. | |
| is_hard_hit | No | Optional hard-hit filter: 1 or 0. | |
| contact_type | No | Optional contact type: 2, 4, or 9. | |
| season_start | No | Optional first season from 2023 through 2026; defaults to 2026. | |
| min_group_swings | No | Optional minimum swings per grouped row from mlb_discovery; defaults to 1. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |