list_seasons
Retrieve all seasons for a competition, newest first, with start and end dates. Provides the idSeason required for stage, fixture, and squad queries.
Instructions
List a competition's seasons/editions (e.g. each World Cup year), newest first, with start and end dates. Takes an idCompetition; returns the idSeason that stage, fixture, and squad lookups need.
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": {
"idCompetition": "<idCompetition>"
},
"name": "list_seasons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Return FIFA's untouched payload instead of the trimmed shape | |
| count | No | ||
| language | No | Language code passed through to the API and used for name selection | en |
| idCompetition | Yes |