upload_attachment
Upload a file attachment to a work item by providing the project ID, work item ID, and file path. Optionally include a file description.
Instructions
Upload a file 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": {
"workItemId": "<workItemId>",
"filePath": "<filePath>"
},
"name": "upload_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Local file path to upload | |
| projectId | No | Project ID | |
| workItemId | Yes | Work item ID | |
| description | No | Optional file description |