Search Football Leagues
sports.football.leaguesSearch football leagues and cups by country or name. Returns league ID, name, type (league/cup), country, logo. Use IDs for fixtures and standings queries (API-Sports)
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": "sports.football.leagues"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Search league by name (e.g. "Premier", "Champions") | |
| country | No | Country name to filter leagues (e.g. "England", "Spain", "Germany") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |