post_review_comment
Post inline review comments on specific lines of files in Gerrit changes to provide targeted feedback during code review.
Instructions
Posts a review comment on a specific line of a file in a CL.
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": {
"change_id": "<change_id>",
"file_path": "<file_path>",
"line_number": "<line_number>",
"message": "<message>"
},
"name": "post_review_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labels | No | ||
| message | Yes | ||
| change_id | Yes | ||
| file_path | Yes | ||
| unresolved | No | ||
| line_number | Yes | ||
| gerrit_base_url | No |