create_leaderboard
Create a new leaderboard for your selected app on TapTap. Configure reset period, score type, order, and calculation type. Returns leaderboard ID for client-side APIs.
Instructions
PREREQUISITE: An app MUST be selected first. Before calling this tool, ALWAYS call get_current_app_info to verify an app is selected. If not, guide user through: 1) Call list_developers_and_apps, 2) Show list to user and ASK them to choose, 3) Call select_app with user's choice. Create a new leaderboard on TapTap server. Auto-fetches developer_id and app_id from selected app. Returns leaderboard_id for client-side APIs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Leaderboard title/name (REQUIRED) | |
| calc_type | No | Calculation type: "sum" (default), "best", "latest" | |
| score_type | No | Score type: "numeric" (default), "time" | |
| period_time | No | Reset time like "08:00:00" (required if period_type is not "always") | |
| period_type | No | Reset period: "always" (default), "daily", "weekly", "monthly" | |
| score_order | No | Score order: "desc" (high to low, default), "asc" (low to high) | |
| display_limit | No | Display limit (optional, default 100) |