Update a leaderboard
update_leaderboardChange the name, type or score order of a leaderboard; at least one is required. The tag cannot change, and deleting is not available.
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": {
"applicationId": "<applicationId>",
"leaderboardId": "<leaderboardId>"
},
"name": "update_leaderboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Human-readable name of the leaderboard, as the console shows it | |
| type | No | What a score is: `numeric` for points, `time` for a duration. The ranking direction is `scoreOrder`. | |
| scoreOrder | No | `desc` ranks the highest score first, `asc` the lowest — e.g. the fastest time. | |
| applicationId | Yes | Game id from list_applications | |
| leaderboardId | Yes | The leaderboard’s tag — its `id` in list_leaderboards |