download_attachment
Save an internal wiki attachment to bounded private local storage without executing it, so users can safely retrieve course files from the student wiki.
Instructions
Save an internal wiki attachment into bounded private local storage; never execute it.
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": {
"attachment_id": "<attachment_id>"
},
"name": "download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | ||
| attachment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metadata | Yes | ||
| mime_type | Yes | ||
| local_path | Yes | ||
| size_bytes | Yes | ||
| source_url | Yes | ||
| source_hash | Yes | ||
| attachment_id | Yes |