update_pull_request_thread_status
Update the status of a pull request comment thread to mark it active, fixed, closed, or another state. Use it to resolve or reopen review discussions in Azure DevOps pull requests.
Instructions
Update the status of a comment thread in a pull request (repositoryId optional; derived from pullRequestId when omitted)
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": {
"pullRequestId": "<pullRequestId>",
"threadId": "<threadId>",
"status": "<status>"
},
"name": "update_pull_request_thread_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | The status to set on the thread | |
| threadId | Yes | The ID of the thread to update | |
| projectId | No | The ID or name of the project (Default: MyProject) | |
| repositoryId | No | The ID or name of the repository (optional; derived from pullRequestId when omitted) | |
| pullRequestId | Yes | The ID of the pull request | |
| organizationId | No | The ID or name of the organization (Default: mycompany) |