Fourth down
get_fourth_downUse for a 4th down: the offense's win probability if it goes for it, kicks a field goal or punts, with the conversion and make chances, the best choice and its margin. Pass game_id and offense (team code) to use that game's pregame strength, or offense_home and pregame_home_prob for any situation. Market-free models; a margin under 0.03 is flagged close_call. 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": {
"yardline_100": "<yardline_100>",
"yards_to_go": "<yards_to_go>",
"seconds_left": "<seconds_left>",
"score_diff": "<score_diff>"
},
"name": "get_fourth_down"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game_id | No | Game id (2025_01_KC_BUF) for that game's pregame strength | |
| offense | No | Team with the ball (required with game_id) | |
| score_diff | Yes | The offense's score minus the defense's | |
| yards_to_go | Yes | Yards to go | |
| offense_home | No | Without game_id: is the offense the home team (default true) | |
| seconds_left | Yes | Game seconds left in regulation (Q1 15:00 = 3600, halftime = 1800) | |
| yardline_100 | Yes | Yards from the opponent's end zone (35 = the opponent's 35) | |
| pregame_home_prob | No | Without game_id: the home team's pregame win chance (default 0.5) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| best | Yes | ||
| game | No | ||
| note | Yes | ||
| model | Yes | ||
| margin | Yes | ||
| options | Yes | ||
| version | Yes | ||
| situation | Yes | ||
| close_call | Yes |