download_submission_text
Download the stored text body of a submission as plain text for review or further processing. Supports cheatsheet, solver code, and polynomial types.
Instructions
Download the stored text body of a submission as plain text.
Scope: competition.read. Returns payload.content (cheatsheet), payload.solverCode (solver-participation), or newline-joined payload.polynomials (igp24-polynomial). Raises NO_DOWNLOAD_FOR_KIND for model-reference submissions, which have no text body.
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": {
"competition_id": "<competition_id>",
"submission_id": "<submission_id>"
},
"name": "download_submission_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| submission_id | Yes | ||
| competition_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |