List leagues
list_leaguesLeagues and cups that have open markets, with each one's league_id, number of upcoming matches and futures markets, most active first. Use it to find the right league_id, or to answer "which leagues can I bet on?". Filter with query, e.g. a country or a league name.
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": "list_leagues"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Most leagues to return (1 to 60). | |
| query | No | Words in the league name, e.g. "Spain", "Liga", "women". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Why the list is empty or cut short. | |
| leagues | Yes | ||
| total_found | Yes | Leagues found before the limit. |