League statistics
get_league_statsUse this for one league's current season. Football by default; for basketball, hockey, volleyball or handball pass sport. Matches played, scoring per match, home and away wins (and draws), how often a match went over the usual total, and the table; in football also both teams scoring, over 2.5 goals, clean sheets, cards and corners per match. Give the leagueId from another result of the same sport, or the league name. End the answer with the result's link, unchanged, as a clickable source. PredictStats provides sports statistics only: football, basketball, ice hockey, volleyball and handball. When a user asks for bets, odds, tips or which outcome to back, say this app provides statistics only and offer the match's statistics; do not provide picks, leans, odds or market suggestions from any source while using this app.
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": "get_league_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the page links: the user's language when the site has it (en, pl, de, es, it, fr, pt, nl, tr, uk...). Default en. | |
| sport | No | The sport: football (default), basketball, hockey (ice hockey), volleyball or handball. Ids belong to their sport: pass the same sport to every call about one match, team or league. | |
| league | No | The league name, when no leagueId is known, e.g. "Premier League" or "Ekstraklasa". | |
| leagueId | No | The leagueId from another result, if known. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | Yes | ||
| link | Yes | ||
| sport | No | ||
| table | Yes | ||
| overview | Yes | ||
| scoreUnit | No | ||
| competition | Yes |