remove_submission
Preview and remove your own PLATO assignment submission, discarding submitted files or text after confirmation. Call with dry_run=True first; live removal is irreversible.
Instructions
Withdraw/clear this account's own submission for an assignment. IRREVERSIBLE and DESTRUCTIVE once dry_run=False -- this discards already-submitted work (files/text), not a draft.
KNOWN ISSUE: live testing found dry_run=False currently fails with an "invalid parameter" error from PLATO every time (the real required parameter shape wasn't determined -- see remove_submission_for's docstring). dry_run=True (preview) works and is safe to call. Do not rely on dry_run=False actually working until this is fixed.
Call with dry_run=True (default) first, show the preview to the user, and only call again with dry_run=False after they explicitly confirm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If True (default), only preview the removal without doing it. Call again with dry_run=False (same parameters) to actually remove it. | |
| course_id | Yes | PLATO/Moodle numeric course id, e.g. from list_courses. | |
| assignment_id | Yes | Assignment id, e.g. from list_assignments. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | Yes | ||
| message | Yes | ||
| preview | Yes | ||
| executed | Yes |