mlb: Get team roster
mlb_get_team_rosterRetrieve an MLB team's roster with player names, positions, jersey numbers, and status; filter by season, roster type, and fields.
Instructions
Get a team's roster with player names, positions, jersey numbers, and status.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"team_id": "<team_id>"
},
"name": "mlb_get_team_roster"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Keys to keep (comma-separated). | |
| season | No | Season year | |
| team_id | Yes | Team ID | |
| rosterType | No | Roster type: active, fullSeason, 40Man, depthChart, etc. | active |