devops_work_item_attachment_get
Retrieve a work item attachment by its ID and file name. Returns content as base64 or saves to a local directory.
Instructions
Download a work item attachment by specified ID. Returns base64-encoded content, or saves to a local directory if savePath is provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachment_id | Yes | The GUID of the attachment. | |
| file_name | Yes | The file name of the attachment. Used to determine the MIME type. If save_path is provided, the file is saved under this name. | |
| save_path | No | Optional directory path to save the file to. If omitted, returns the content as a base64-encoded resource. NOTE: relative paths are resolved against the MCP server's working directory; paths starting with '..' are not allowed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |