post_review_comment
Post inline review comments on specific file lines in a GitHub pull request.
Instructions
Post an inline comment on a specific file and line via a review submission.
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": {
"pr_number": "<pr_number>",
"body": "<body>",
"path": "<path>",
"line": "<line>"
},
"name": "post_review_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The text content of the comment. | |
| line | Yes | The line number in the file to attach the comment to. | |
| path | Yes | The relative file path to comment on. | |
| pr_number | Yes | The pull request number to comment on. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||