download_news_attachment
Download a news article attachment from the school portal by providing the article ID; optionally specify the attachment index and save directory.
Instructions
Download a news article attachment using the authenticated session
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Attachment index to download (0-based, default: 0) | |
| newsId | Yes | The ID of the news article | |
| outputDir | No | Directory to save the file (default: .) | . |