ci.comment_pr
Post a comment on a GitHub pull request using gh CLI. Specify the PR number or omit it to target the current PR, with body or bodyPath for content.
Instructions
[approval required][workspace write][network][risk:dangerous] Create a GitHub PR comment through gh. Uses current PR when prNumber is omitted.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ci.comment_pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| bodyPath | No | ||
| prNumber | No |