modify_lineup
Move players between lineup slots with a preview before executing changes. Swap single or multiple players in one transaction.
Instructions
Modify team lineup by moving players between lineup slots. Uses a confirmation pattern: first call (confirm=false) previews the changes, second call (confirm=true) executes them. Can move a single player or swap multiple players in one transaction.
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": "modify_lineup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| moves | No | List of lineup moves to make, each with player_id, from_slot, and to_slot | |
| confirm | No | If false (default), returns a preview of changes. If true, executes the lineup changes. | |
| team_id | No | Team ID (1-based index) | |
| league_id | No | ESPN League ID (defaults to configured league) | |
| season_year | No | Season year (defaults to current year) | |
| scoring_period_id | No | Scoring period (week) for changes (defaults to current period) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |