get_player_stats
Retrieve fantasy football player statistics by league ID and player name, with an optional year for historical data.
Instructions
Get stats for a specific player.
Args:
league_id: The ESPN fantasy football league ID
player_name: Name of the player to search for
year: Optional year for historical data (defaults to current season)
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": {
"league_id": "<league_id>",
"player_name": "<player_name>"
},
"name": "get_player_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | ||
| league_id | Yes | ||
| player_name | Yes |