espn_athlete_splits
Fetch one athlete's ESPN season splits table—home/away, wins/losses, month, opponent, half/quarter—with stat columns and per-row stats maps for football, basketball, baseball or hockey.
Instructions
ESPN athlete season splits. Returns one athlete's season splits table as ESPN's player Splits page shows it: the same stat columns broken down by home and away, wins and losses, month, opponent, half or quarter and more (the split families depend on the sport). Each row carries a stats map keyed by the column name in columns. The sport enum accepts football, basketball, baseball, and hockey; ESPN publishes no soccer splits. The league enum accepts nfl, college-football, nba, wnba, mens-college-basketball, womens-college-basketball, mlb, and nhl; it must be valid for the chosen sport. The optional category enum accepts batting and pitching for baseball, and per_game, total, and per_48 for basketball; it is rejected for football and hockey. The response lists the seasons and categories ESPN offers for the athlete in available_seasons and available_categories.
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": {
"sport": "<sport>",
"league": "<league>",
"athlete": "<athlete>"
},
"name": "espn_athlete_splits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sport | Yes | Sport key | |
| league | Yes | League key (must be valid for the sport) | |
| season | No | Four-digit ESPN season year from available_seasons; defaults to the current season | |
| athlete | Yes | Numeric ESPN athlete (player) id | |
| category | No | Stat view: batting or pitching (baseball); per_game, total or per_48 (basketball) |