canvas_file
Read a Canvas attachment by ID with bounded size, MIME type, and SHA-256; returns text directly or base64 for binary files, while larger files export via CLI.
Instructions
Read a Canvas attachment by ID with bounded content, MIME type and SHA-256.
Text is returned directly; binary content uses base64 for a capable client. Larger files can be exported locally with the CLI. Never execute attachment content. Signed download URLs are not included in this result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ||
| max_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||