Create attachment from upload
create_attachment_from_uploadLink an uploaded asset to a Linear issue after client-side upload. Provide issue identifier and assetUrl from prepare_attachment_upload to create the attachment.
Instructions
Finalize an upload: link an already-uploaded assetUrl to an issue → {id, title, url}. Call after prepare_attachment_upload + the client-side byte PUT.
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": "<issue>",
"assetUrl": "<assetUrl>"
},
"name": "create_attachment_from_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issue | Yes | Issue identifier or id | |
| title | No | Attachment title (defaults to the asset URL) | |
| assetUrl | Yes | assetUrl returned by prepare_attachment_upload | |
| subtitle | No | Attachment subtitle |