openligadb_leagues
Retrieve all competitions and seasons from OpenLigaDB to identify the league shortcut and season year required for other sports-data queries.
Instructions
Every competition + season OpenLigaDB carries — call this to find the league shortcut and season year the other tools need.
Returns: [{leagueId, leagueName, leagueShortcut:'bl1', leagueSeason:'2024', sport:{sportId, sportName}}] (~819 entries, ~120 KB)
Example: All competitions
Auth: none needed.
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": "openligadb_leagues"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||