create_board
Add a leaderboard board to an EXISTING game (by gameId — get it from list_games). This is how you add boards to a game that already exists; bootstrap_leaderboard only works for brand-new games.
Instructions
Add a leaderboard board to an EXISTING game (by gameId — get it from list_games). This is how you add boards to a game that already exists; bootstrap_leaderboard only works for brand-new games. sortDir "desc" = high-scores-win, "asc" = lowest-time-wins. Returns the created board including its id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name of the leaderboard | |
| slug | Yes | URL-safe slug for the board, e.g. "high-scores" (2–42 chars, lowercase + hyphens) | |
| gameId | Yes | UUID of the game to add the board to (from list_games) | |
| sortDir | No | "desc" for high-scores-win, "asc" for lowest-time-wins | desc |
| maxScore | No | Optional upper bound; scores above are rejected | |
| minScore | No | Optional lower bound; scores below are rejected | |
| scoreKind | No | Score type: integer (default), duration_ms (time trials), or float | integer |
| retentionN | No | Required when retentionPolicy="top_n": how many top scores to retain (1–1,000,000) | |
| retentionPolicy | No | How long scores are kept: all (default), top_n (best N — set retentionN), or rolling_30d |