Submit Assignment
eclass_submit_assignmentSubmit assignments to CAU eclass with dry-run validation by default. Supports file uploads or text entries; verify assignment type first and confirm resubmission if needed.
Instructions
[네트워크] 과제를 제출합니다. 기본 dry_run=true로 실제 제출하지 않고 검증만 수행하며, 재제출은 confirm_resubmit=true가 필요합니다. online_upload(file_paths)/online_text_entry(body)만 지원 — submission_types가 external_tool(LTI)인 과제는 제출 불가하므로 eclass_get_assignment_detail로 먼저 확인하세요. API 실패 시 UI 폴백은 단일 파일만 지원합니다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | 본문 제출 내용 (online_text_entry) | |
| comment | No | 제출 코멘트 | |
| dry_run | No | true면 실제 제출하지 않고 검증만 수행 (기본값: true) | |
| course_id | Yes | 강의 ID | |
| file_paths | No | 업로드할 로컬 파일 경로 목록 (online_upload) | |
| assignment_id | Yes | 과제 ID | |
| confirm_resubmit | No | 이미 제출된 과제 재제출 확인 플래그 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| mode | No | ||
| attempt | No | ||
| message | No | ||
| strategy | No | ||
| retryable | No | ||
| error_code | No | ||
| validation | No | ||
| submitted_at | No | ||
| verification | No | ||
| is_resubmission | No | ||
| already_submitted | No |