brightspace_read_attachment
Read an attachment file from a visible Brightspace assignment or announcement by providing the course ID and FileId, with optional section, OCR page, offset, and character limit.
Instructions
Read a file that belongs to a visible assignment or announcement. Supply exactly one parent and its attachment FileId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | FileId from that parent’s attachment list. | |
| offset | No | Character offset within the selected text. | |
| ocrPage | No | Optional printed page or slide to recognize visually using OCR. Use this instead of section for scans. | |
| section | No | Optional one-based page, slide or extracted section index. Start offset at zero when selecting a section. | |
| courseId | Yes | Brightspace course/org unit ID | |
| folderId | No | Parent assignment folder ID. | |
| maxChars | No | Maximum returned characters, default 16000. | |
| newsItemId | No | Parent announcement ID. |