publish_leaderboard
Set a leaderboard to public or whitelist-only mode. Requires a leaderboard ID and an app to be selected first.
Instructions
PREREQUISITE: An app MUST be selected first. Publish leaderboard or set to whitelist-only mode. Before calling this tool, ensure an app is selected by calling get_current_app_info. IMPORTANT: If the leaderboard ID is not clear, call list_leaderboards first, show the list to the user, and ASK them which leaderboard they want to publish - DO NOT automatically select a leaderboard.
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": {
"id": "<id>",
"publish": "<publish>"
},
"name": "publish_leaderboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Leaderboard database ID (required) | |
| publish | Yes | true=publish (public), false=whitelist only (required) |