Update pull request thread status
update_pull_request_thread_statusUpdate a pull request thread's status—active, fixed, wontFix, closed, byDesign, or pending—to manage review discussions. Requires confirmation to apply.
Instructions
Resolve, reactivate, close, or otherwise update a pull request thread. Requires write tools and confirm=true.
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": {
"repositoryId": "<repositoryId>",
"pullRequestId": "<pullRequestId>",
"threadId": "<threadId>",
"status": "<status>",
"confirm": "<confirm>"
},
"name": "update_pull_request_thread_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| confirm | Yes | Must be true to perform the mutation. | |
| project | No | Project name or ID. Omit to use AZURE_DEVOPS_DEFAULT_PROJECT. | |
| threadId | Yes | ||
| repositoryId | Yes | Repository name or ID. | |
| pullRequestId | Yes | Pull request numeric ID. |