Post Submission Comment
post_submission_commentPosts a comment on your own assignment submission, visible to your instructor, with optional file attachments. Requires a confirm=true flag to execute.
Instructions
Post a comment on your own submission for an assignment, optionally with files attached. Your instructor sees it. To attach a file, upload it first with upload_comment_attachment. [IRREVERSIBLE: call without confirm=true first to preview, then re-call with confirm=true.]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | Yes | Comment text, visible to your instructor. | |
| confirm | No | Must be true to actually execute. Omit or set false to get a dry-run preview first. | |
| file_ids | No | Optional file IDs returned by upload_comment_attachment, to attach to this comment. | |
| course_id | Yes | Canvas course ID, a numeric string such as "12345". Get it from list_courses. | |
| assignment_id | Yes | Assignment ID (numeric string). Get it from list_assignments or list_upcoming_assignments. |