get_players
Retrieve player rosters filtered by team ID for a single team or by MLB organization ID to get all players in an organization.
Instructions
Retrieve the player roster. Optionally filter by team_id to get a single team's players.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team_id | No | Team ID to filter by | |
| org_id | No | MLB org team ID — returns all players in the org (MLB roster + all affiliates) by filtering on Parent Team ID |