ado_add_attachment
Add a file or URL attachment to an Azure DevOps work item. Automatically manages concurrent attachments to the same work item.
Instructions
Agrega un adjunto a un Work Item existente. Maneja automáticamente concurrencia cuando múltiples adjuntos se agregan al mismo WI.
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>"
},
"name": "ado_add_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Nombre del archivo (si no se especifica, usa el nombre del archivo original) | |
| comment | No | Comentario para el adjunto | |
| filePath | No | Ruta del archivo a subir (opcional si se usa attachmentUrl) | |
| workItemId | Yes | ID del Work Item | |
| attachmentUrl | No | URL de un adjunto ya subido (opcional si se usa filePath) |