get_user_contest_ranking
Retrieves a LeetCode user's contest ranking, overall rating, and per-contest participation history as JSON so you can analyze contest performance.
Instructions
Retrieves a user's contest ranking and participation history (read-only, no auth). Returns overall rating, ranking, and per-contest performance as JSON. Use get_user_profile for general stats and ranking; use this specifically for contest performance data.
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": {
"username": "<username>"
},
"name": "get_user_contest_ranking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attended | No | true = only contests the user attended (default); false = include all contests in history | |
| username | Yes | LeetCode username whose contest ranking to fetch |