get_recent_submissions
Fetch a LeetCode user's recent submission history, including accepted and failed results, for public Global profiles.
Instructions
Retrieves a user's recent submission history on LeetCode Global (read-only, no auth). Includes both accepted and failed submissions. Global only—not available on CN. Use get_recent_ac_submissions for accepted-only results, or get_all_submissions (auth, current user) for paginated full history with filters.
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_recent_submissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max submissions to return (default: 10). Increase for more history within the recent window. | |
| username | Yes | LeetCode username whose public recent submissions to fetch |