Attach file to Tracker issue
tracker_attachments_uploadAttach a small file to a Tracker issue; returns the created attachment.
Instructions
Attach a small file to a Tracker issue; returns the created attachment.
The file travels as base64 in the request, so keep it small; for a large file run
ycli tracker attachments upload instead.
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": {
"issue_key": "<issue_key>",
"filename": "<filename>",
"data": "<data>"
},
"name": "tracker_attachments_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The file's bytes, base64-encoded. | |
| dry_run | No | Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none). | |
| filename | Yes | Name of the file being uploaded. | |
| issue_key | Yes | Issue key or id, e.g. ``JUNE-2``. | |
| rename_to | No | Store the file under this name instead of ``filename``. |