download_attachment
Download a Jira issue or Confluence page attachment to disk, returning its absolute path, metadata, and image flag so agents can inspect files directly.
Instructions
Download an attachment from a Jira issue or Confluence page to disk and return its absolute path, metadata, and image flag for direct multimodal agent inspection.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Optional target Atlassian site ID, name, or URL. | |
| page_id | No | Confluence page ID. Provide either issue_key or page_id. | |
| dest_dir | No | Optional destination directory (defaults to configured download_dir). | |
| issue_key | No | Jira issue key (e.g. ENG-42). Provide either issue_key or page_id. | |
| attachment_id | No | Optional attachment ID or filename to download (defaults to first attachment). |