ic_download_document
Download a student's document (PDF) to disk, inside the download directory (IC_DOWNLOAD_DIR, default ~/Downloads). documentId is the url field returned by ic_list_documents. Will not overwrite an existing file unless overwrite is true.
Instructions
Download a student's document (PDF) to disk, inside the download directory (IC_DOWNLOAD_DIR, default ~/Downloads). documentId is the url field returned by ic_list_documents. Will not overwrite an existing file unless overwrite is true. Returns FeatureDisabled if the district has the module turned off.
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": {
"district": "<district>",
"documentId": "<documentId>",
"destinationPath": "<destinationPath>"
},
"name": "ic_download_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| district | Yes | ||
| overwrite | No | ||
| documentId | Yes | The url field returned by ic_list_documents | |
| destinationPath | Yes | Where to write the PDF. Must be inside the download directory (IC_DOWNLOAD_DIR, default ~/Downloads); a relative path resolves against it. |