Top Leaderboard
get__canvas_topGenerates a leaderboard top card image from URL parameters, letting you render ranked users with avatars, tags, scores, a custom background, and score labels for ranking displays.
Instructions
Generate a leaderboard top card image using URL parameters. Method: GET /api/canvas/top Tags: Canvas, Leaderboard, Top
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": {
"background": "<background>",
"usersData": "<usersData>"
},
"name": "get__canvas_top"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| opacity | No | Overlay opacity (contoh: 0.7) | |
| usersData | Yes | JSON array of user data (contoh: "[{\"top\":1,\"avatar\":\"...\",\"tag\":\"User1\",\"score\":100}]") | |
| background | Yes | Background image URL (contoh: "https://i.ibb.co/4YBNyvP/images-76.jpg") | |
| scoreMessage | No | Custom score label (contoh: "XP:") |