Add work item attachment
add_work_item_attachmentAttach a base64-encoded file (up to 10 MiB) to an Azure Boards work item. Provide work item ID, file name, and content to add the attachment.
Instructions
Upload a base64 file up to 10 MiB and attach it to a work item. Requires write tools and confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | ||
| confirm | Yes | Must be true to perform the mutation. | |
| project | No | Project name or ID. Omit to use AZURE_DEVOPS_DEFAULT_PROJECT. | |
| fileName | Yes | ||
| workItemId | Yes | Azure Boards work item ID. | |
| contentBase64 | Yes | ||
| expectedRevision | No |