create_work_item_attachment
Upload a local file to Azure DevOps and attach it to a specified work item, with optional comment or filename.
Instructions
Upload a file and attach it to a work item. The file is read from the local filesystem, uploaded to Azure DevOps, and linked to the specified work item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Optional comment for the attachment | |
| fileName | No | The name to use for the attachment. If not provided, the name will be extracted from the file path. | |
| filePath | Yes | The absolute path to the file to upload as an attachment | |
| workItemId | Yes | The ID of the work item to attach the file to |