upload_work_item_attachment
Uploads a file to a work item in TestIT using its ID, filename, MIME type, and base64 content. Use it to attach test evidence or documents.
Instructions
Upload an attachment to a work item.
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>",
"contentType": "<contentType>",
"contentBase64": "<contentBase64>"
},
"name": "upload_work_item_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Work item UUID. | |
| filename | Yes | File name including extension. | |
| contentType | Yes | MIME type, e.g. image/png. | |
| contentBase64 | Yes | File content encoded as base64. |