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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"newsId": "<newsId>"
},
"name": "download_news_attachment"
}
}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: .) | . |