get_user_contest_ranking
Retrieve a LeetCode user's contest ranking, including overall rank, participation history, and performance metrics across contests.
Instructions
Retrieves a user's contest ranking information on LeetCode, including overall ranking, participation history, and performance metrics across contests
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 | Whether to include only the contests the user has participated in (true) or all contests (false); defaults to true | |
| username | Yes | LeetCode username to retrieve contest ranking information for |