get_work_package_attachment
Download a verified attachment from a work package. Returns text as readable content or binary as embedded base64 resource, with configurable byte limit to avoid large transfers.
Instructions
Download one verified attachment from a work package. Use after listing attachments. Text files return readable text; binary files return an embedded base64 MCP resource. The call fails before or during transfer if maxBytes is exceeded and does not write to 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": {
"workPackageId": "<workPackageId>",
"attachmentId": "<attachmentId>"
},
"name": "get_work_package_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxBytes | No | Maximum bytes to return, default 1 MB and hard limit 5 MB | |
| attachmentId | Yes | ||
| workPackageId | Yes |