Run FPLai analysis
run_fplai_analysisRun a fresh analysis for the account’s linked FPL team only after the user explicitly approves. It consumes analysis quota and saves a result when the upstream save phase completes; the response reports persistenceStatus. If the outcome is uncertain, check the latest saved analysis before an authorized retry. Reuse the same UUID analysisRequestId to avoid another quota charge, but the upstream may recompute and save another result, so this operation is not fully idempotent.
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": {
"analysisRequestId": "<analysisRequestId>"
},
"name": "run_fplai_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| horizon | No | Number of gameweeks to plan, from 1 to 6. | |
| analysisRequestId | Yes | UUID to reuse for an authorized retry; retries are not fully idempotent. |