attach_issue_file_from_url
Attach a file to an Issue by URL. The server downloads the file (public http(s) URL only; internal and private addresses are blocked) and stores it as a real attachment, so the bytes never pass through the model and cannot truncate. Max 50 MB. fileName is optional and comes from the URL otherwise. The file counts against the organization's storage and its type is verified from its bytes, as an upload in the app is. Anyone who can edit the Issue can attach. For a file with no public URL, upload_issue_attachment takes the bytes as base64.
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": {
"issueId": "<issueId>",
"url": "<url>"
},
"name": "attach_issue_file_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL of the file to fetch. 1..2048 chars. | |
| issueId | Yes | The Issue to attach to. | |
| fileName | No | Optional file name incl. extension. Derived from the URL when omitted. | |
| idempotencyKey | No | Optional idempotency key. Pass a stable unique value (e.g. a UUID) to make this create safe to retry: calling again with the same key within 24h - even from a new session after a reconnect - replays the original result and creates no duplicate. Org-scoped; works across conversations. |