login
Signs in to FPL through a real browser to pass bot checks, then stores the refresh token in Keychain so authenticated team tools can work.
Instructions
Sign in to FPL for you, by driving a real browser window.
FPL's login sits behind a bot check that rejects a hidden browser, so this opens Chromium in your desktop session and drives the real sign-in: if your FPL password is already in the Keychain it is filled and submitted for you, otherwise you type it in the window (and clear any check FPL asks for). The refresh token it captures is stored in the Keychain, which is what the authenticated tools read - so the team tools go live afterwards. This never writes to your FPL account; it only signs in.
Normally takes 15-30 seconds (longer if FPL asks for a check). If it reports
already_signed_in and you want a fresh session, pass force=true.
headless stays off because the bot check fails a hidden browser. To save
a password you would type, run fpl login --save-password once in a
terminal - the tool cannot capture what you type into the window.
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": "login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| force | No | ||
| timeout | No | ||
| headless | No |