github_comment
[WRITE — public] Post a comment on a GitHub issue or pull request, and optionally close the issue. Requires confirm:true.
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": {
"repo": "<repo>",
"number": "<number>",
"body": "<body>"
},
"name": "github_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Comment text, Markdown | |
| repo | Yes | Repository as owner/name, e.g. "octocat/hello-world" (a github.com URL works too) | |
| close | No | Also close the issue/PR after commenting (optional) | |
| number | Yes | Issue or pull request number | |
| confirm | No | Must be true to actually do this on GitHub. Omit/false to refuse (safety gate). |