create_pr_review_comment
Create a review comment on a specific line of a pull request diff. Requires write mode enabled and authentication.
Instructions
Create a review comment on a specific line of a pull request's diff. Requires GITHUB_MCP_ENABLE_WRITE=1 and GITHUB_TOKEN.
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": {
"owner": "<owner>",
"repo": "<repo>",
"pr_number": "<pr_number>",
"body": "<body>",
"commit_id": "<commit_id>",
"path": "<path>",
"line": "<line>"
},
"name": "create_pr_review_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| line | Yes | ||
| path | Yes | ||
| repo | Yes | ||
| owner | Yes | ||
| commit_id | Yes | ||
| pr_number | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||