get_mlb_teams
Retrieve MLB team data by specifying sport ID and optional season year for comprehensive baseball statistics integration.
Instructions
Get all teams for a specific sport.
Args: sport_id (int): Sport ID (default: 1 for MLB). season (Optional[int]): Filter teams by a specific season (year).
Returns: dict: All teams for the specified sport.
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_mlb_teams"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sport_id | No | ||
| season | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||