ado_add_work_item_attachment
Upload text content as an attachment to an Azure DevOps work item for supporting documentation.
Instructions
Upload a text attachment and link it 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>",
"content": "<content>"
},
"name": "ado_add_work_item_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Work item ID | |
| comment | No | ||
| content | Yes | Text content to upload | |
| project | No | Project name or ID (defaults to ADO_DEFAULT_PROJECT) | |
| fileName | Yes | Attachment file name, e.g. "log.txt" |