MLB showdown lineup optimizer
invoke_mlb_showdown_optimizerBuilds DraftKings MLB Showdown lineups: 1 CPT (1.5x points and salary) plus 5 FLEX under $50,000, with both teams in the lineup. gpp scores ceiling minus an ownership penalty; own_lambda 0 removes ownership. cash scores the projection. Supports a captain, locks, excludes, several unique lineups, a salary floor, an ownership cap, a per-team cap, a reliever switch and a cap on hitters facing your pitchers. The search is exact unless it says it hit the node limit. Returns DK ids in slot order.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "invoke_mlb_showdown_optimizer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | No | A game like PHI@ATL, instead of slate_id. | |
| lock | No | Player names that must be in every lineup. | |
| mode | No | Default gpp. | |
| captain | No | The player to use at CPT. | |
| exclude | No | Player names to leave out. | |
| lineups | No | Number of lineups, 1 to 5. The free plan gets 1. | |
| slate_id | No | Showdown slate_id from mlb_list_slates (the showdown list). Default: the first showdown slate of the day. | |
| min_appear | No | Drop relievers whose chance to pitch (rp_p_appear) is below this, 0 to 1. Default 0. | |
| min_salary | No | Least salary to use. Default 45,000. | |
| min_unique | No | Slots each lineup must differ from every lineup before it. A captain swap counts. Default 2 for gpp, 1 for cash. | |
| own_lambda | No | Ownership penalty in points per ownership percent for gpp. Default 0.15. 0 removes ownership. | |
| max_per_team | No | Most players from one team. Default 5. | |
| max_total_own | No | Cap on the summed CPT and FLEX ownership of the lineup, in percent. | |
| include_relievers | No | Allow relievers. Default true. | |
| max_hitters_vs_pitcher | No | Most hitters allowed against a starter or opener in your lineup. Default no cap. |