Leagues and seasons
v3_leagueList football league IDs or retrieve a league's current season ID and past winners; supports futsal, volleyball, basketball, and handball when a sport is specified.
Instructions
List the football leagues with their ids, or get one league's current season id and past seasons with winners.
Call it without league_id to find an id (Iranian Pro League 6, Premier League 3, La Liga 2, Serie A 4). Any league_id from v3_scores works too (55 Portuguese, 35 Turkish). Past seasons are football only. Other sports: sport="futsal" (league 27), "volleyball" (33), "basketball" (32; NBA 209) or "handball" (4).
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": "v3_league"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sport | No | Ids are per sport. | football |
| league_id | No | Omit to list main leagues. |