Validate inline comment target
validate_inline_comment_targetValidate an inline comment's file path and line range against the current pull request iteration to ensure it targets a valid location.
Instructions
Dry-run an inline comment path and line range against the current pull request iteration.
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>",
"path": "<path>"
},
"name": "validate_inline_comment_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| toLine | No | New-side ending line. | |
| project | No | Project name or ID. Omit to use AZURE_DEVOPS_DEFAULT_PROJECT. | |
| fromLine | No | Original-side ending line. | |
| iterationId | No | ||
| startToLine | No | ||
| repositoryId | Yes | Repository name or ID. | |
| pullRequestId | Yes | Pull request numeric ID. | |
| startFromLine | No |