afl_competition_get
Retrieve a specific competition by its integer ID to access its provider code and name, enabling cross-provider sports data comparison.
Instructions
Get a single competition by integer id.
Returns: {meta, competitions:[{id, providerId, code, name}]}
Auth: none needed.
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": {
"competitionId": "<competitionId>"
},
"name": "afl_competition_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| competitionId | Yes | Competition id (e.g. 1 = AFL) Required — part of the URL path. |