Best lineup for a gameweek
best_lineupPick the best starting lineup from the user's squad for a gameweek by projected points, within the league's formation rules (FPL: 1 GK, 3-5 DEF, 2-5 MID, 1-3 FWD), with the bench in order. Flags blanks, doubles and injured players.
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": "best_lineup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | No | With league.fpl_draft_league_id: a team in that league, by its name or FPL entry id. | |
| squad | No | Every player in the user's squad (or give team with an FPL Draft league id). | |
| league | No | The user's league. Leave it out for an official FPL Draft league (FPL scoring and positions, 10 teams, 11 starters + 4 bench). Set only what differs. | |
| gameweek | No | Which gameweek (default the next one). |