Create leaderboard (admin)
specter_create_leaderboardCreate a leaderboard for a game. Configure outcome type (high score, time trial, position weighting, cumulative score) and source (match, statistics, custom).
Instructions
Create a leaderboard. prizeDistributionRule/prize config goes in fields. outcomeType: 1=high_score, 2=time_trial, 4=position_weighting, 5=cumulative_score. sourceType: 1=match, 2=statistics, 3=custom. MUTATES live game config — confirm with the user and prefer staging.
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": {
"leaderboardId": "<leaderboardId>",
"leaderboardOutcomeTypeMasterId": "<leaderboardOutcomeTypeMasterId>",
"sourceTypeId": "<sourceTypeId>"
},
"name": "specter_create_leaderboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| fields | No | Any other fields for this entity — see the specter-admin skill for the full schema | |
| projectId | No | Defaults to SPECTER_PROJECT_ID | |
| sourceTypeId | Yes | 1=match, 2=statistics, 3=custom | |
| leaderboardId | Yes | ||
| leaderboardOutcomeDetails | No | Outcome / scoring configuration (required only for position-weighting) | |
| leaderboardOutcomeTypeMasterId | Yes | 1=high_score, 2=time_trial, 4=position_weighting, 5=cumulative_score |