work_comment
tools/call
Add a durable comment, review note, evidence, or link to a work item.
Scopes
write:work
Inputs
- itemIdstringRequired
- Work item ID
- bodystringRequired
- Comment body
- linksobject[]
- visibility"private" | "tenant"
- idempotencyKeystringRequired
- Retry key you choose. The same call sent again with the same key within 24 hours writes nothing twice: if an answer is lost or unclear, send the same call with the same key. Use a new key for a new change
Returns
The created comment. A call returns content[0].text with the JSON result and structuredContent.result with the same value.
Listed when
The connection has agent access and every scope the tool needs.