repo_create_pull_request_thread
Create a new comment thread on an Azure DevOps pull request, optionally as an inline comment on a specific file path and line number, with a configurable thread status.
Instructions
Create a new comment thread on a pull request.
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>",
"content": "<content>"
},
"name": "repo_create_pull_request_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Thread status. | |
| content | Yes | Comment content. | |
| filePath | No | File path for inline comment. | |
| lineNumber | No | Line number for inline comment. | |
| repositoryId | Yes | The repository ID. | |
| pullRequestId | Yes | The pull request ID. |