mlb_teams
List all 30 MLB clubs for a given season, returning IDs, names, leagues, divisions, venues, and active status for quick roster or stats lookups.
Instructions
List MLB teams. Lists the 30 MLB clubs for a season (four-digit year, default the current year). Each team has its id, name, club name, location, abbreviation, league, division, venue, first year of play and active flag.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| season | No | Four-digit season; defaults to current year |