Prepare Attachment Download
attachment_prepare_downloadGenerate a signed download URL plan for an attachment using its file URL from work items or comments, enabling backend-prepared downloads.
Instructions
Preprocess an attachment download and return the signed URL plan. Use this when you already have a file_url from workitem_get or comment_list and need the backend-generated download plan.
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": {
"file_url": "<file_url>"
},
"name": "attachment_prepare_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_url | Yes | Opaque file_url returned by another meegle command. | |
| project_key | No | Optional project key for the file context. | |
| work_item_id | No | Optional work item ID that owns the file. |