List Codeforces contests
get_contest_listLists Codeforces contests with start time, duration, type, and phase, letting you filter by upcoming, running, or finished status or switch to the gym archive.
Instructions
List Codeforces contests with start time, duration, type and phase. Filter by phase (BEFORE = upcoming, CODING = running, FINISHED = past) or switch to the gym archive.
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_contest_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gym | No | List gym contests instead of regular ones (default false). | |
| limit | No | Max contests to return (default 25). | |
| phase | No | Only contests in this phase. |