download_attachment
Download a file attachment from ZenTao by file ID and save it to a specified local path. Returns the saved path and file size.
Instructions
Download a file/attachment from ZenTao by fileID and save to local disk. Uses API Token auth. Returns saved path and file size.
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": {
"fileId": "<fileId>",
"savePath": "<savePath>"
},
"name": "download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | File ID from bug detail attachments/files list | |
| savePath | Yes | Absolute path to save the downloaded file |