opendota_league
Returns one Dota 2 league by id: name, tier (amateur, excluded, premium, professional or unrated), ticket and banner, plus the teams that played in it with rating and record. Provide league_id from opendota_leagues; unknown ids return not found. Use opendota_league_matches for its games.
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": {
"league_id": "<league_id>"
},
"name": "opendota_league"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| league_id | Yes | Required positive OpenDota league ID from opendota_leagues. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |