download_attachment
Download file attachments from HacknPlan work items to your local disk for offline access or backup.
Instructions
Download a file attachment to local disk
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": {
"workItemId": "<workItemId>",
"attachmentId": "<attachmentId>",
"savePath": "<savePath>"
},
"name": "download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| savePath | Yes | Local path to save file | |
| overwrite | No | Overwrite existing file (default: false) | |
| projectId | No | Project ID | |
| workItemId | Yes | Work item ID | |
| attachmentId | Yes | Attachment ID |