comment_pull_request
Add a comment to a pull request. The body is sent via stdin, keeping it out of the audit log.
Instructions
Add a top-level conversation comment to a pull request. The comment body is sent through stdin and is not written to the audit log.
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": {
"account": "<account>",
"repository": "<repository>",
"pullRequestNumber": "<pullRequestNumber>",
"body": "<body>"
},
"name": "comment_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| account | Yes | ||
| hostname | No | ||
| repository | Yes | Repository in owner/name format | |
| pullRequestNumber | Yes |