Find leagues
find_leaguesList covered leagues and cups with their ids. Optionally filter by a name or country fragment (e.g. "premier", "spain", "champions"). Use the id with the other tools.
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": "find_leagues"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Part of a league or country name; omit to list all |