aula_get_attachment
Download an Aula attachment (image or file) to a local path. Returns metadata and path without file content, keeping context small. Use the URL from posts/messages.
Instructions
Download an attachment (image or file) from Aula and save it locally. Returns metadata and local file path WITHOUT including the actual file content in the response (to avoid overwhelming context). Use the attachment URL from aula_get_posts or aula_get_messages results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | Optional filename for saving and MIME type detection | |
| attachment_id | No | Optional attachment ID from Aula for tracking | |
| attachment_url | Yes | The S3 URL of the attachment (from post/message attachment metadata) | |
| attachment_type | Yes | Type of attachment: "image" for photos/pictures, "file" for PDFs/documents |