get_leagues_by_country_id
Retrieve all leagues for a given country ID. Supports includes, filters, pagination, and field selection.
Instructions
Get all leagues in a specific country.
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": {
"country_id": "<country_id>"
},
"name": "get_leagues_by_country_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country_id | Yes | Country ID. | |
| include | No | Semicolon-separated includes. e.g. country;seasons;currentSeason;stages;rounds | |
| select | No | Comma-separated fields to return. | |
| filters | No | Filters to apply. | |
| sortBy | No | Field to sort by. | |
| locale | No | Language for name fields. | |
| page | No | Page number. | |
| per_page | No | Results per page. |