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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_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 |