get_user_profile
Retrieve any LeetCode user's public profile by username to view ranking, bio, avatar, submission stats, and platform progress without authentication.
Instructions
Retrieves any user's public profile by username (read-only, no auth). Returns ranking, avatar, bio, submission stats, and platform-specific progress. Use this to look up other users or public stats. Use get_user_status (requires auth) instead to verify the current session user's login state—not for looking up arbitrary users.
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_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | LeetCode username (case-sensitive). Public profile lookup; no authentication required. |