add_attachment
Upload a local file to a Jira ticket as an attachment, then embed an uploaded image in a comment or description using !filename.png! notation.
Instructions
Upload a local file to a Jira ticket as an attachment. Embed an uploaded image in a comment or description with !filename.png!
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_path": "<file_path>",
"ticket_id": "<ticket_id>"
},
"name": "add_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path of the file to upload; a relative path resolves against the server process's working directory, which the MCP client chooses | |
| ticket_id | Yes | Jira issue key, e.g. GEM-234 |