get_leaderboard
Retrieve competitive rankings for Axie Infinity categories like AxieScore, LandPlot, or Runes to track player standings and performance metrics.
Instructions
Get leaderboard rankings for various competitive categories in Axie Infinity.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The leaderboard category to retrieve. | |
| from | No | Pagination offset. Default 0. | |
| size | No | Number of rankings to return. Default 10. |
Implementation Reference
- src/index.ts:766-778 (handler)The handler implementation for the `get_leaderboard` tool inside the `CallToolRequestSchema` switch statement.
case "get_leaderboard": { const schema = z.object({ type: LeaderboardTypeEnum, from: z.coerce.number().int().min(0).default(0), size: z.coerce.number().int().min(1).max(100).default(10), }); const parsed = schema.parse(args); const data = await client.query<{ leaderboard: unknown }>( queries.GET_LEADERBOARD, { type: parsed.type, from: parsed.from, size: parsed.size } ); return jsonContent(data.leaderboard); } - src/index.ts:384-407 (schema)The tool registration and schema definition for `get_leaderboard`.
{ name: "get_leaderboard", description: "Get leaderboard rankings for various competitive categories in Axie Infinity.", inputSchema: { type: "object", properties: { type: { type: "string", enum: ["AxieScore", "AxieCollector", "AxieOrigin", "AxieMystic", "AxieShiny", "AxieSummer", "AxieNightmare", "AxieJapan", "AxieXmas", "LandPlot", "LandSavannah", "LandForest", "LandArctic", "LandMystic", "LandGenesis", "Rune", "Charm", "Accessory", "WeeklyQuestPoints", "PremierQuestPoints"], description: "The leaderboard category to retrieve.", }, from: { type: "number", description: "Pagination offset. Default 0.", }, size: { type: "number", description: "Number of rankings to return. Default 10.", }, }, required: ["type"], }, },