download_jira_attachment
Downloads a Jira attachment by ID to a specified local directory, with options to rename or overwrite the file.
Instructions
[Atlassian] Download Jira attachment by ID to a local directory.
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>",
"output_dir": "<output_dir>"
},
"name": "download_jira_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | Uses Jira metadata filename when omitted. | |
| overwrite | No | Replace an existing file when true. Fail if the file exists when false. | |
| output_dir | Yes | Local directory to save the file. Created automatically if it does not exist. | |
| attachment_id | Yes | Jira attachment ID, for example 439535. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |