espn_team_roster
Retrieve a team's roster including player position, jersey, age, and experience, plus head coach, from ESPN's public JSON. Supports multiple sports and leagues.
Instructions
ESPN team roster. Returns a team's roster (players with position, jersey, age, and experience) plus head coach from ESPN's credential-free public JSON. The sport enum accepts football, basketball, baseball, hockey, and soccer. The league enum accepts nfl, college-football, nba, wnba, mens-college-basketball, womens-college-basketball, mlb, nhl, eng.1, esp.1, ita.1, ger.1, fra.1, usa.1, and uefa.champions; it must be valid for the chosen sport.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | Yes | Team id (numeric) or abbreviation | |
| sport | Yes | Sport key | |
| league | Yes | League key (must be valid for the sport) |