get_player_game_log
Retrieve a player's game-by-game hitting or pitching stats, most recent first, to assess recent form, streaks, and last night's or this week's performance.
Instructions
Get a player's game-by-game stats, most recent game first. Use for recent form, hot or cold streaks, and "how did he do last night / this week" questions.
Args:
player_id: MLB player id from search_players.
group: "hitting" or "pitching".
season: Season year; defaults to the current one.
last_n: Number of most recent games to return (1-162).
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_game_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | hitting | |
| last_n | No | ||
| season | No | ||
| player_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||