get_mlb_boxscore
Retrieve detailed boxscore data for a specific MLB game using game_id. Customize results with optional timecode or fields parameters for targeted insights.
Instructions
Get boxscore for a specific game by game_id.
Args: game_id (int): The game ID. timecode (Optional[str]): Specific timecode for the boxscore snapshot. fields (Optional[str]): Comma-separated list of fields to include.
Returns: dict: Boxscore information.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fields | No | ||
game_id | Yes | ||
timecode | No |
Input Schema (JSON Schema)
{
"properties": {
"fields": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Fields"
},
"game_id": {
"title": "Game Id",
"type": "integer"
},
"timecode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Timecode"
}
},
"required": [
"game_id"
],
"type": "object"
}