canvas_prepare_upload
Stage immutable upload bytes for review without writing to Canvas, then return the exact action to execute only when the upload is confirmed. Assignment attachments do not submit work.
Instructions
Stage immutable upload bytes and return the exact review; writes nothing to Canvas.
Local stdio accepts a source_path (25 MiB); HTTP accepts base64 content (8 MiB), never a server path. Assignment attachments do NOT submit work. Execute the returned action only when the user wants this exact upload.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | ||
| course_id | No | ||
| destination | No | user | |
| source_path | No | ||
| assignment_id | No | ||
| content_base64 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||