bugs_attachments_create
Create a bug attachment record and obtain a presigned upload URL. Upload the file to the URL, then confirm with a PATCH request.
Instructions
Create bug attachment (returns presigned upload URL)
Tag: Bug Attachments
Cria o registro do anexo (uploaded=false) e retorna uma presigned URL S3 (PUT, 300s). Faça o PUT do arquivo na uploadUrl e depois confirme com PATCH /v1/bugs/:id/attachments/:attachmentId.
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": {
"id": "<id>",
"fileName": "<fileName>",
"size": "<size>",
"type": "<type>",
"md5": "<md5>"
},
"name": "bugs_attachments_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Bug ID | |
| md5 | Yes | ||
| size | Yes | Tamanho em bytes | |
| type | Yes | MIME type | |
| fileName | Yes |