openligadb_current_group
Retrieve OpenLigaDB's current matchday group for a given league shortcut, so you can identify the active round and fetch its matches.
Instructions
Get the current league matchday. Returns OpenLigaDB's current group or matchday for a league shortcut. Use openligadb_groups for all matchdays and openligadb_current_matchday for the matches in this group.
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": {
"league_shortcut": "<league_shortcut>"
},
"name": "openligadb_current_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| league_shortcut | Yes | Exact shortcut from openligadb-leagues |