mlb_statcast_run_value
Fetch Baseball Savant batting or pitching Run Value rows with year, team, minimum PA, leverage, table type, conditional subtype, local sorting, and pagination. Use mlb_discovery for valid values; Bat-side R/L was verified as a no-op selector and is not exposed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| min | No | Optional minimum plate-appearance threshold from mlb_discovery. Defaults to q. | |
| sort | No | Optional local sort field from mlb_discovery; fields depend on type, year, and leverage. | |
| team | No | Optional MLB team id from mlb_discovery; omit for all teams. | |
| type | No | Optional first-party table view: All, Swing-Take, Pitch Type, or Attack Region. The Bat-side view is also available; its R/L sub-selector does not change the returned table and is not exposed as a filter. | |
| year | No | Optional season from 2008 through the current season, All, or Career. Defaults to the current season. | |
| group | No | Optional table group: Batter or Pitcher. Defaults to Batter. | |
| limit | No | Rows per page, 1-500; defaults to 100. | |
| offset | No | Zero-based row offset, 0-10000. | |
| leverage | No | Optional run-value method: Neutral or Leveraged. Defaults to Neutral. | |
| sort_dir | No | Optional local sort direction: asc or desc. | |
| sub_type | No | Conditional selector: Swing or Take; one of the listed pitch names; or Heart, Shadow, Chase, or Waste, depending on type. Omit for All. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |