Mlb Roster
mlb_rosterActive roster for an MLB team from the official MLB Stats API. Returns each player with id, name, jersey number, and position abbreviation.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"team_id": 147
},
"name": "mlb_roster"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team_id | Yes | MLB team id (e.g. 147 for the Yankees). |