Update pull request thread status
devops_pull_request_update_threadUpdate the status of a pull request comment thread in Azure DevOps to mark it active, fixed, resolved, wontfix, closed, or pending.
Instructions
Update the status of a comment thread.
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": {
"repository_id": "<repository_id>",
"pull_request_id": "<pull_request_id>",
"thread_id": "<thread_id>",
"status": "<status>"
},
"name": "devops_pull_request_update_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | New thread status (1=Active, 2=Fixed or Resolved, 3=WontFix, 4=Closed, 6=Pending). | |
| thread_id | Yes | Thread ID to update. | |
| repository_id | Yes | Repository name or ID. | |
| pull_request_id | Yes | Pull request ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |