ado_post_comment
WHEN: user explicitly asks to post, add, or save a comment to an ADO Work Item. [~] PRIORITY TRIGGER: call AFTER ado_analyze_workitem when user says 'post the analysis', 'save it to the ticket', 'ajoute en commentaire'.
WARNING: ALWAYS ask for explicit user confirmation before calling this tool. Recommended workflow: (1) call ado_analyze_workitem, (2) show analysis to the user, (3) ask 'Shall I post this comment to Work Item #X?', (4) only then call this tool. Requires DEVOPS_ORG_URL + DEVOPS_PAT with Work Items: Write permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Optional: Azure DevOps project name. Falls back to DEVOPS_PROJECT env var. | |
| workItemId | Yes | Work item ID (integer), e.g. 1234 | |
| commentText | Yes | Markdown text to post. Use the ready-to-post block from `ado_analyze_workitem`. |