get_upcoming_contests
Fetches upcoming LeetCode contest schedules, including titles, start times, durations, and registration links, so you can plan participation in Weekly or Biweekly contests.
Instructions
Retrieves the schedule of upcoming LeetCode contests (read-only, no auth). Returns titles, slugs, start times (epoch & ISO), durations, and direct registration links as JSON. Use this to check upcoming Weekly or Biweekly contests.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_upcoming_contests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||