Player games
get_player_gamesUse for a player's game log: every game's batting line and pitching line, newest first, optionally one season. Costs 5 credits.
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": {
"player_id": "<player_id>"
},
"name": "get_player_games"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| league | No | League. Defaults to mlb. One of: mlb, ncaabase. | |
| offset | No | ||
| season | No | Season (a year, e.g. 2025; default: the latest). | |
| player_id | Yes | ||
| season_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| batting | Yes | ||
| pitching | Yes | ||
| player_id | Yes | ||
| next_offset | No |