Attachment Tools
Attach files to issues and list attachments.
Attachment tools let you add files from your local filesystem to issues and view existing attachments.
attach_file
Attaches a local file to an issue. Reads the file from your filesystem and uploads it to the issue.
When it runs: Called when you ask to attach a file, screenshot, or document to a ticket.
Example trigger: "Attach the error screenshot to the login bug"
| Parameter | Type | Required | Description |
|---|---|---|---|
| issue_key | string | Yes | Issue key or natural language reference |
| file_path | string | Yes | Absolute path to the file on your machine |
list_attachments
Lists all attachments on an issue with filenames, sizes, and upload dates.
When it runs: Called when you ask what files are attached to a ticket.
Example trigger: "What files are attached to the design spec?"
| Parameter | Type | Required | Description |
|---|---|---|---|
| issue_key | string | Yes | Issue key or natural language reference |