Get race leaderboard
get_leaderboardRetrieve a cp0x race leaderboard with its column definitions by specifying a deal slug and race code, so you can view standings for a known deal and race.
Instructions
Get a cp0x race leaderboard and its column definitions. Use this when viewing standings for a known deal and race.
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": {
"slug": "<slug>"
},
"name": "get_leaderboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum leaderboard rows to return. | |
| slug | Yes | Deal slug containing the race. | |
| race_code | No | Race code within the deal. | leaderboard |